RimWorld

RimWorld

Honeypot Ant
TurtleShroom Jan 18, 2024 @ 2:22pm
Fixing the Warrior Honey
Good evening.

My Pawns that get addicted to Warrior Honey don't seek out and eat the drug themselves. I've had many animals go mad despite Warrior Honey being right next to them for this reason.

Thankfully, the solution is fairly straightforward. This is because you are missing a Tolerance Hediff and a few entries in the Drug Comp class. It is also because you set the Mean Time to Happen In Days too low for a Pawn whose Warrior Honey Need hits zero (it's at 0.15, which is less than a hour, causing a constant cycle of Berserk Rage).

Please allow me to give you the recquisite code to fix this. You need only to copy and paste it in the correct spots.

<outcomeDoers> <li Class="IngestionOutcomeDoer_GiveHediff"> <hediffDef>WarriorHoneyHigh</hediffDef> <severity>1.00</severity> <doToGeneratedPawnIfAddicted>true</doToGeneratedPawnIfAddicted> </li> <li Class="IngestionOutcomeDoer_GiveHediff"> <hediffDef>TSP_WarriorHoneyTolerance</hediffDef> <severity>0.001</severity> <divideByBodySize>false</divideByBodySize> <multiplyByGeneToleranceFactors>false</multiplyByGeneToleranceFactors> </li> </outcomeDoers> <comps> <li Class="CompProperties_Drug"> <chemical>WarriorHoney</chemical> <addictiveness>0.1</addictiveness> <needLevelOffset>2</needLevelOffset> <minToleranceToAddict>0</minToleranceToAddict> <existingAddictionSeverityOffset>1</existingAddictionSeverityOffset> <listOrder>1010</listOrder> </li> </comps> <HediffDef ParentName="DrugToleranceBase"> <defName>TSP_WarriorHoneyTolerance</defName> <label>Warrior Honey tolerance</label> <description>A built-up tolerance to Warrior Honey. The more severe this tolerance is, the more Warrior Honey that it takes to get the same effect. Warrior Honey is such an addictive and permanent dependency that its effect is always potent at any dosage, every single time.</description> <comps> <li Class="HediffCompProperties_SeverityPerDay"> <severityPerDay>-999</severityPerDay> </li> <li Class="HediffCompProperties_DrugEffectFactor"> <chemical>WarriorHoney</chemical> </li> </comps> </HediffDef>

Also, I recommend making it so that the Warrior Honey High isn't also the one causing Pawns to go Berserk. Add that to the Chemical Need instead.

Thank you for such a great Mod.



Warm regards,
-TURTLESHROOM
Last edited by TurtleShroom; Jan 29, 2024 @ 8:14pm
< >
Showing 1-1 of 1 comments
Starfield  [developer] Jul 24 @ 5:57am 
Implemented Our dear overlord turtleshroom.
< >
Showing 1-1 of 1 comments
Per page: 1530 50