mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
+ [REVERT] Removed a bunch of force gear saves that should no longer be needed. + [FIXED] Removed auto refuel from lingor gas stations. + [FIXED] Removed auto refuel and repair lingor hangars. + [REMOVED] Bear Traps and Land Mines. + [FIXED] Removed radar from chinhook with _DZ variant. + [FIXED] Possible fix for extra intel in heliocopters.
28 lines
703 B
Plaintext
28 lines
703 B
Plaintext
private["_hasFood","_item","_text","_qty"];
|
|
|
|
player removeAction s_player_fillfuel;
|
|
s_player_fillfuel = -1;
|
|
|
|
_qty = {_x == "ItemJerrycanEmpty"} count magazines player;
|
|
|
|
if ("ItemJerrycanEmpty" in magazines player) then {
|
|
for "_x" from 1 to _qty do {
|
|
player removeMagazine "ItemJerrycanEmpty";
|
|
player addMagazine "ItemJerrycan";
|
|
};
|
|
//disableSerialization;
|
|
//call dayz_forceSave;
|
|
|
|
player playActionNow "Medic";
|
|
|
|
_dis=10;
|
|
_sfx = "refuel";
|
|
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
|
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
|
|
|
|
|
|
|
cutText [format[(localize "str_player_09"),_qty], "PLAIN DOWN"];
|
|
} else {
|
|
cutText [(localize "str_player_10") , "PLAIN DOWN"];
|
|
}; |