Rewrite rectify. Medical - Add vehicle hint when loading unconscious (#6822)

* Rewrite rectify. Medical - Add vehicle hint when loading unconscious

* Fix copy paste
This commit is contained in:
Magnetar 2019-03-17 17:54:50 +01:00 committed by GitHub
parent 82131b3643
commit 1d34cc4cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -32,5 +32,11 @@ if ([_target] call EFUNC(medical_status,isBeingDragged)) then {
};
private _vehicle = [_caller, _target, _vehicle] call EFUNC(common,loadPerson);
if (!isNull _vehicle) then {
private _hint = LSTRING(loadedInto);
private _itemName = [_target, false, true] call EFUNC(common,getName);
private _vehicleName = getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName");
[[_hint, _itemName, _vehicleName], 3.0] call EFUNC(common,displayTextStructured);
};
_vehicle

View File

@ -3247,6 +3247,22 @@
<Chinesesimp>将伤者背出</Chinesesimp>
<Chinese>將傷者背出</Chinese>
</Key>
<Key ID="STR_ACE_Medical_treatment_loadedInto">
<English>%1&lt;br/&gt;loaded into&lt;br/&gt;%2</English>
<Spanish>%1&lt;br/&gt;cargado en&lt;br/&gt;%2</Spanish>
<French>%1&lt;br/&gt;chargé dans&lt;br/&gt;%2</French>
<German>%1&lt;br/&gt;in&lt;br/&gt;%2 verladen</German>
<Polish>%1&lt;br/&gt;załadowano do&lt;br/&gt;%2</Polish>
<Czech>%1&lt;br/&gt;naloženo do&lt;br/&gt;%2</Czech>
<Portuguese>%1&lt;br/&gt;carregado em&lt;br/&gt;%2</Portuguese>
<Italian>%1&lt;br/&gt;caricato su&lt;br/&gt;%2</Italian>
<Hungarian>%1&lt;br/&gt;berakodva ide:&lt;br/&gt;%2</Hungarian>
<Russian>%1&lt;br/&gt;загружен в&lt;br/&gt;%2</Russian>
<Japanese>%1&lt;br/&gt;&lt;br/&gt;%2へ積み込まれました</Japanese>
<Korean>%1&lt;br/&gt;&lt;br/&gt;%2 에 실림</Korean>
<Chinese>%1&lt;br/&gt;裝載至&lt;br/&gt;%2</Chinese>
<Chinesesimp>%1&lt;br/&gt;装载至&lt;br/&gt;%2</Chinesesimp>
</Key>
<Key ID="STR_ACE_Medical_treatment_PlaceInBodyBag">
<English>Place body in bodybag</English>
<Spanish>Colocar cuerpo en bolsa para cadáveres</Spanish>