RimWorld

RimWorld

"released healthy prisoner" mood buff not stacking
Releasing a healthy prisoner gives a +2 mood boost, but only once, regardless of if you release more or not. I was going to change that, but in the Thoughts_Memory_Misc.xml file, the <defName>ReleasedHealthyPrisoner</defName> has a <stackLimit>5</stackLimit>. If I'm understanding correctly, that means that releasing a healthy prisoner is supposed to stack up to five times. I ran a quick test world with no mods and released three healthy prisoners. The first one gave a +2 mood boost, but the other two didn't boost the mood any further.

What am I missing here?
Originally posted by Astasia:
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>

Not sure what the intent of that value is, might restrict the buff to 1 stack per faction released or something. I imagine raising that to 5 will make it work like you want in the situations you want though.
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Astasia Oct 9, 2022 @ 8:47am 
<stackLimitForSameOtherPawn>1</stackLimitForSameOtherPawn>

Not sure what the intent of that value is, might restrict the buff to 1 stack per faction released or something. I imagine raising that to 5 will make it work like you want in the situations you want though.
Nerdygamer1 Oct 9, 2022 @ 10:12am 
Yep, that worked. I saw that line, but, since the mood boost is generated immediately upon releasing the prisoner instead of when they leave the map, I assumed it was in place to prevent you from releasing a prisoner, recapturing them, and then releasing them over and over for an easy mood boost farm. That, coupled with the fact that I was so stuck in my preconceived notion that I was going to be adding a <stackLimit> meant that I didn't even consider changing that.
If you look in the Thoughts_Memory_Social.xml file, you see that insults are capped at ten with the <stackLimitForSameOtherPawn>. So, I should have researched more.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Oct 9, 2022 @ 7:01am
Posts: 2