mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
Localization updates
Some localization updates and some code optimization.
This commit is contained in:
@@ -32,14 +32,14 @@ _fn_Lockold = {
|
||||
_target animate ["DoorR", 0];
|
||||
_target animate ["DoorL", 0];
|
||||
_target setVariable ["isOpen", "0", true];
|
||||
"Gates locked." call dayz_rollingMessages;
|
||||
localize "STR_BLD_GATES_LOCKED" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
|
||||
_fn_UnLockold = {
|
||||
if (typeOf _target in ["WoodenGate_2","WoodenGate_3","WoodenGate_4"]) then {
|
||||
_target setVariable ["isOpen", "1", true];
|
||||
"Gates Unlocked." call dayz_rollingMessages;
|
||||
localize "STR_BLD_GATES_UNLOCKED" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@ _fn_Open = {
|
||||
if (typeOf _target in ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4"]) then {
|
||||
_target animate ["DoorR", 1];
|
||||
_target animate ["DoorL", 1];
|
||||
"Gates Opened." call dayz_rollingMessages;
|
||||
localize "STR_BLD_GATES_OPENED" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -55,7 +55,7 @@ _fn_Closed = {
|
||||
if (typeOf _target in ["WoodenGate_1","WoodenGate_2","WoodenGate_3","WoodenGate_4"]) then {
|
||||
_target animate ["DoorR", 0];
|
||||
_target animate ["DoorL", 0];
|
||||
"Gates Closed." call dayz_rollingMessages;
|
||||
localize "STR_BLD_GATES_CLOSED" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user