From 8579db0b1fb99c04557806989412e76ad7b00b4e Mon Sep 17 00:00:00 2001 From: Grahame Date: Wed, 18 Oct 2017 12:26:05 -0400 Subject: [PATCH] Update CfgItemInteractions.hpp Added the eating of pumpkin and sunflower seeds with a small boost to hunger and some health benefits --- Sources/epoch_config/Configs/CfgItemInteractions.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgItemInteractions.hpp b/Sources/epoch_config/Configs/CfgItemInteractions.hpp index 79b32637..0c0c0cc7 100644 --- a/Sources/epoch_config/Configs/CfgItemInteractions.hpp +++ b/Sources/epoch_config/Configs/CfgItemInteractions.hpp @@ -907,8 +907,12 @@ class CfgItemInteractions class SeedPacket_GoldenSeal : Default {}; class SeedPacket_Hemp : Default {}; class SeedPacket_Poppy : Default {}; - class SeedPacket_Pumpkin : Default {}; - class SeedPacket_Sunflower : Default {}; + class SeedPacket_Pumpkin : Default { + interactActions[] = {{"EAT","[1,[['Immunity',1],['Toxicity',-1],['Stamina',15],['Hunger',100]],'ItemSeedBag'] call EPOCH_consumeItem;"}}; + }; + class SeedPacket_Sunflower : Default { + interactActions[] = {{"EAT","[1,[['Immunity',1],['Toxicity',-2],['Stamina',30],['Hunger',100]],'ItemSeedBag'] call EPOCH_consumeItem;"}}; + }; class ItemBakedBeans : Food_TinCan_base { interactAttributes[] = {{"Hunger",800},{"Radiation",2,1}};