Bloodlust6000 Posted March 23, 2019 Share Posted March 23, 2019 I'm trying to disable food poisoning all together I've changed all the values in the xml file but i'm still getting poisoned i'm fairly new to this and was wondering if i missed something Link to comment Share on other sites More sharing options...
scwanobi Posted March 24, 2019 Share Posted March 24, 2019 What values exactly did you change? Did you remove the triggered effect entirely or did you change the random roll? Might be easier to post one of the items you changed to get a clear picture. Link to comment Share on other sites More sharing options...
Bloodlust6000 Posted March 24, 2019 Author Share Posted March 24, 2019 This is what i changed including the random roll <item name="foodCanBeef"> <property name="HoldType" value="31"/> <property name="DisplayType" value="food"/> <property name="Meshfile" value="Items/Misc/parcelPrefab"/> <property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/> <property name="Material" value="Mmetal"/> <property name="Weight" value="5"/> <property name="EconomicValue" value="60"/> <property name="Stacknumber" value="30000"/> <!-- STK food --> <property class="Action0"> <property name="Class" value="Eat"/> <property name="Delay" value="1.0"/> <property name="Use_time" value="..."/> <property name="Sound_start" value="player_eating"/> <property name="Create_item" value="drinkCanEmpty"/> </property> <property name="Group" value="Food/Cooking"/> <effect_group tiered="false"> <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="$foodAmountAdd" operation="add" value="15"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="foodHealthAmount" operation="add" value="7"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" target="self" buff="buffProcessConsumables"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" target="self" buff="buffIllFoodPoisoning0"> <requirement name="RandomRoll" seed_type="Random" target="self" min_max="0,0" operation="LTE" value="100"/> </triggered_effect> <display_value name="FoodPoisoningRisk" value="0" /> </effect_group> </item> Link to comment Share on other sites More sharing options...
scwanobi Posted March 24, 2019 Share Posted March 24, 2019 Did you try removing the food poisoning part entirely so it is like this? Also, the food poisoning buff doesn't extend from the foodcanbeef so it needs to be changed on all food. <item name="foodCanBeef"> <property name="HoldType" value="31"/> <property name="DisplayType" value="food"/> <property name="Meshfile" value="Items/Misc/parcelPrefab"/> <property name="DropMeshfile" value="Items/Misc/sack_droppedPrefab"/> <property name="Material" value="Mmetal"/> <property name="Weight" value="5"/> <property name="EconomicValue" value="60"/> <property name="Stacknumber" value="30000"/> <!-- STK food --> <property class="Action0"> <property name="Class" value="Eat"/> <property name="Delay" value="1.0"/> <property name="Use_time" value="..."/> <property name="Sound_start" value="player_eating"/> <property name="Create_item" value="drinkCanEmpty"/> </property> <property name="Group" value="Food/Cooking"/> <effect_group tiered="false"> <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="$foodAmountAdd" operation="add" value="15"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="foodHealthAmount" operation="add" value="7"/> <triggered_effect trigger="onSelfPrimaryActionEnd" action="AddBuff" target="self" buff="buffProcessConsumables"/> </effect_group> </item> Link to comment Share on other sites More sharing options...
Bloodlust6000 Posted March 24, 2019 Author Share Posted March 24, 2019 I will give that a try thanks Link to comment Share on other sites More sharing options...
Bloodlust6000 Posted March 24, 2019 Author Share Posted March 24, 2019 It worked thanks for the help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.