mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-22 16:10:49 +03:00
0.7 + 1.7.5.M1D19
This commit is contained in:
@@ -21,6 +21,70 @@ if ("FoodSteakRaw" in magazines player) then {
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
//FoodmuttonRaw > FoodmuttonCooked
|
||||
if ("FoodmuttonRaw" in magazines player) then {
|
||||
player playActionNow "Medic";
|
||||
[player,"cook",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,70,true,(getPosATL player)] spawn player_alertZombies;
|
||||
sleep _wait;
|
||||
for "_x" from 1 to _qty do {
|
||||
_hasFoodMeat = "FoodmuttonRaw" in magazines player;
|
||||
if (!_hasFoodMeat) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
player removeMagazine "FoodmuttonRaw";
|
||||
player addMagazine "FoodmuttonCooked";
|
||||
sleep 1;
|
||||
};
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
//FoodchickenRaw > FoodchickenCooked
|
||||
if ("FoodchickenRaw" in magazines player) then {
|
||||
player playActionNow "Medic";
|
||||
[player,"cook",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,70,true,(getPosATL player)] spawn player_alertZombies;
|
||||
sleep _wait;
|
||||
for "_x" from 1 to _qty do {
|
||||
_hasFoodMeat = "FoodchickenRaw" in magazines player;
|
||||
if (!_hasFoodMeat) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
player removeMagazine "FoodchickenRaw";
|
||||
player addMagazine "FoodchickenCooked";
|
||||
sleep 1;
|
||||
};
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
//FoodrabbitRaw > FoodBaconCooked
|
||||
if ("FoodrabbitRaw" in magazines player) then {
|
||||
player playActionNow "Medic";
|
||||
[player,"cook",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,70,true,(getPosATL player)] spawn player_alertZombies;
|
||||
sleep _wait;
|
||||
for "_x" from 1 to _qty do {
|
||||
_hasFoodMeat = "FoodrabbitRaw" in magazines player;
|
||||
if (!_hasFoodMeat) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
player removeMagazine "FoodrabbitRaw";
|
||||
player addMagazine "FoodBaconCooked";
|
||||
sleep 1;
|
||||
};
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
//FoodbaconRaw > FoodRabbitCooked
|
||||
if ("FoodbaconRaw" in magazines player) then {
|
||||
player playActionNow "Medic";
|
||||
[player,"cook",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,70,true,(getPosATL player)] spawn player_alertZombies;
|
||||
sleep _wait;
|
||||
for "_x" from 1 to _qty do {
|
||||
_hasFoodMeat = "FoodbaconRaw" in magazines player;
|
||||
if (!_hasFoodMeat) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
player removeMagazine "FoodbaconRaw";
|
||||
player addMagazine "FoodRabbitCooked";
|
||||
sleep 1;
|
||||
};
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
/*
|
||||
_hasFoodMeat = "FoodSteakRaw" in magazines player;
|
||||
_qty = {_x == "ItemWaterbottleUnfilled"} count magazines player;
|
||||
|
||||
Reference in New Issue
Block a user