mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix gut dog
Body was disappearing because it had no meat on it (yield = 0). Thanks @AirwavesMan
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
[NEW] You may set the buying or selling price of any item to -1 to disallow the respective trading action, only with config traders and advanced trading @icomrade
|
||||
[NEW] Salvage can now be disabled on locked vehicles via DZE_salvageLocked variable. #1757 @oiad
|
||||
[NEW] You may now rearm pooks and other helicoper/vehicle pilot/driver weapons @icomrade
|
||||
[NEW] Dogs can now be gutted and yield 2xFoodDogRaw @ebaydayz
|
||||
|
||||
[CHANGED] Combattimeout now uses diag_tickTime instead of time.
|
||||
[CHANGED] AmmoBoxSmall_556/762 is replaced with DZ_AmmoBoxUS/RU/EU/CZ and MedBox0 is replaced with DZ_MedBox (new model)
|
||||
|
||||
@@ -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