mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-08 17:22:54 +03:00
0.792
This commit is contained in:
@@ -67,7 +67,7 @@ _qty = {_x == "FoodrabbitRaw"} count magazines player;
|
||||
_hasFoodMeat = "FoodrabbitRaw" in magazines player;
|
||||
if (!_hasFoodMeat) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
player removeMagazine "FoodrabbitRaw";
|
||||
player addMagazine "FoodBaconCooked";
|
||||
player addMagazine "FoodRabbitCooked";
|
||||
sleep 1;
|
||||
};
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
@@ -84,7 +84,7 @@ _qty = {_x == "FoodbaconRaw"} count magazines player;
|
||||
_hasFoodMeat = "FoodbaconRaw" in magazines player;
|
||||
if (!_hasFoodMeat) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
player removeMagazine "FoodbaconRaw";
|
||||
player addMagazine "FoodRabbitCooked";
|
||||
player addMagazine "FoodBaconCooked";
|
||||
sleep 1;
|
||||
};
|
||||
cutText [format[(localize "str_success_cooked"),_qty,(localize "STR_EQUIP_NAME_24")], "PLAIN DOWN"];
|
||||
|
||||
Reference in New Issue
Block a user