mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Fix gut dog
Body was disappearing because it had no meat on it (yield = 0). Thanks @AirwavesMan
This commit is contained in:
@@ -378,7 +378,6 @@ class CfgSurvival {
|
||||
};
|
||||
class Cock: Hen {};
|
||||
class DZ_Fin: Default {
|
||||
yield = 0;
|
||||
rawfoodtype = "FoodDogRaw";
|
||||
};
|
||||
class DZ_Pastor: DZ_Fin {};
|
||||
|
||||
@@ -26,7 +26,8 @@ a_player_cooking = true;
|
||||
for "_x" from 1 to _qty do {
|
||||
player removeMagazine _meat;
|
||||
player addMagazine _meatcooked;
|
||||
if !(_meat in magazines player) exitWith {format[localize "str_player_31",_text,localize "str_player_31_cook"] call dayz_rollingMessages;};
|
||||
// "xMeat must be in your main inventory to cook it" - Doesn't make sense here since meat was already cooked successfully.
|
||||
if !(_meat in magazines player) exitWith {};
|
||||
};
|
||||
format[localize "str_success_cooked",_qty,_text] call dayz_rollingMessages;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user