From 84a868bbdaec43c56aa5f8fa28a6c4773179e88e Mon Sep 17 00:00:00 2001 From: icomrade Date: Sat, 16 Dec 2017 18:58:56 -0500 Subject: [PATCH] add consume back to FoodPumpkin https://epochmod.com/forum/topic/44747-cannot-eat-pumpkins-after-106/ --- SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp index ca529b53e..4f3b32842 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Food.hpp @@ -18,6 +18,11 @@ class FoodPumpkin : FoodEdible { picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; class ItemActions { + class Consume + { + text = "Consume"; + script = "spawn player_consume"; + }; class Crafting { text = $STR_FOOD_NAME_PUMPKIN_CRAFT; @@ -38,4 +43,4 @@ class FoodSunFlowerSeed : FoodEdible { weight = 0.1; model = "z\addons\dayz_communityassets\models\pistachio.p3d"; // TODO: model + icon picture = "\z\addons\dayz_communityassets\pictures\equip_pistachios_CA.paa"; -}; \ No newline at end of file +};