help disabling sad debuffs from hunger in a gene.

Started by TIIKKETMASTER, March 08, 2023, 10:17:46 PM

Previous topic - Next topic

TIIKKETMASTER

hi all. just wondering how i can disable needs for a gene. here is the code

<MechEnergyUsageFactor>0.8</MechEnergyUsageFactor>
  </statFactors>
    <biostatMet>-2</biostatMet>
  </GeneDef>
 
  <GeneDef>
    <defName>numbstomach</defName>
    <label>numb stomach</label>
    <description>Carriers of this gene dont form a neurological connection between their hypothalamus and their stomach, resulting in no mood loss from starvation, but also weakened brainpower.</description>
    <iconPath>numbstomach</iconPath>
    <foodPoisoningChanceFactor>0</foodPoisoningChanceFactor>
(NOTE here is where im trying to add a multitude of things, like (disable need: hungry, rav. hungry, malnourished, badly malnourished, starving, adv. starving, starving (extreme)). thank you.)
    <biostatMet>0</biostatMet>
    <displayCategory>Miscellaneous</displayCategory>
    <displayOrderInCategory>9</displayOrderInCategory>
  </GeneDef>
 
</Defs>

here is where im trying to add a multitude of things, like (disable need: hungry, rav. hungry, malnourished, badly malnourished, starving, adv. starving, starving (extreme)). thank you.

just note, this is my first time doing this coding thing for rimworld, so sorry if something is super obvious. although i have modded another game so i know the etiquette for modding forums.

once again thanks : )