Problem with Dysentery and Typo in buffs.xml

kampnkarl

Refugee
Hey, found a problem in buffs.xml concerning dysentery. buffDysentery01GetBetterDiarrhea, and buffDysentery01UntreatedDiarrhea both modify stat=food. However one modifies 'food' and one modifies 'Food'. I'm fairly certain these stat names are case sensitive, so one of these should not be working. 

Line 4785 and 4812 in buffs.xml Alpha 20 stable. 

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="Food" operation="add" value="-.5"/>

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="food" operation="add" value="-.5"/>
 

 
Last edited by a moderator:
Hey, found a problem in buffs.xml concerning dysentery. buffDysentery01GetBetterDiarrhea, and buffDysentery01UntreatedDiarrhea both modify stat=food. However one modifies 'food' and one modifies 'Food'. I'm fairly certain these stat names are case sensitive, so one of these should not be working. 

Line 4785 and 4812 in buffs.xml Alpha 20 stable. 

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="Food" operation="add" value="-.5"/>

            <triggered_effect trigger="onSelfBuffUpdate" action="ModifyStats" stat="food" operation="add" value="-.5"/>
 
Also it appears you can still eat past 100% and have the food counter go up. 

 
Back
Top