mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Make UI toggleable between three options
Admin can choose vanilla, classic epoch or classic epoch dark. dayz_hungerThirst was replaced with dayz_NutritionSystem
This commit is contained in:
@@ -66,7 +66,7 @@ if ((_ownerID == dayz_combination) || (_ownerID == dayz_playerUID)) then {
|
||||
waitUntil {!isNil "dze_waiting"};
|
||||
|
||||
_obj setVariable["packing",1];
|
||||
[1,1] call dayz_HungerThirst;
|
||||
["Working",0,[3,2,8,0]] call dayz_NutritionSystem;
|
||||
_weapons = _obj getVariable["WeaponCargo",[]];
|
||||
_magazines = _obj getVariable["MagazineCargo",[]];
|
||||
_backpacks = _obj getVariable["BackpackCargo",[]];
|
||||
@@ -130,7 +130,7 @@ if ((_ownerID == dayz_combination) || (_ownerID == dayz_playerUID)) then {
|
||||
cutText [format[(localize "str_player_beinglooted"),_text] , "PLAIN DOWN"];
|
||||
};
|
||||
} else {
|
||||
[10,10] call dayz_HungerThirst;
|
||||
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
||||
player playActionNow "Medic";
|
||||
uiSleep 1;
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
|
||||
Reference in New Issue
Block a user