RimWorld
Sell Prisoner With No Guilt(patch method)
37 commentaires
[FIREFLY] FURINA FIXED ME 14 avr. à 23h25 
<3
xNaquada 5 avr. à 18h42 
thanks velcroboy333
velcroboy333  [créateur] 5 avr. à 11h35 
Updated for 1.5. No changes made. Let me know if any bugs pop up.
Cheers.
velcroboy333  [créateur] 17 oct. 2022 à 15h37 
Updated to 1.4

Altered the patch slightly so that the debuff affects only those with Kind trait. Others will not get the thought at all.
[FIREFLY] FURINA FIXED ME 5 aout 2021 à 0h34 
thanks for the update!
velcroboy333  [créateur] 19 juil. 2021 à 23h14 
Updated for 1.3
velcroboy333  [créateur] 5 juil. 2021 à 16h48 
Attention: I will absolutely be updating all my mods to 1.3. I want to take the time to look at the new code first in order to make sure the code changes are implemented correctly for the new version, as well as make any balance changes, and to implement any relevant new features into my mods,

The upcoming week is going to be busy for me already as the busy season for my real job is just beginning and goes pretty heavy through the fall and holiday season. But I will try to find the time as soon as I am able. My goal is to have all my mods ready for the official release in a couple weeks.

note I will be maintaining support for 1.2 after the update to 1.3 but I a have already moved on from 1.1 or older, so, those versions will not be maintained unless they are naturally compatible.

Thanks for your patience.
Azuwi 7 janv. 2021 à 10h54 
Okay thanks! :)
velcroboy333  [créateur] 6 janv. 2021 à 14h24 
Yes. It does the same thing but uses a more campatable patch method.
Azuwi 6 janv. 2021 à 14h20 
is this a re-upload of another mod? cause i got a mod called selling prisoners with no guilt in my mod list but it's from 1.0 but the file is missing, so is this an re-upload of that? :D
Scout Gaming 28 déc. 2020 à 19h21 
Thanks so much. It appears that gifting people to some faction via droppods still counts as selling, even tho I just return them home, because they are from the same faction. This mod fixes it, thank you so much!
velcroboy333  [créateur] 9 déc. 2020 à 21h11 
Yes it does.
OOZ662 6 déc. 2020 à 22h04 
Does this mod also get rid of the social impact of selling prisoners or just the mood effect?
Planetfall 12 sept. 2020 à 13h37 
Ah nice. Thanks for the quick reply
velcroboy333  [créateur] 12 sept. 2020 à 9h32 
Correct. The patch method is a bit more friendly for other mods. Technically they are both XML. Overwriting is when you copy/paste a def from vanilla and then change some elements/values. if another mod is looking at this def, those changes can cause issues.

Patching takes place after the Defs are loaded. There's still some room to bump heads with other mods but much less. Patching also offers conditional possibilities for when another mod does bump heads, allowing us to make a change if a certain mod is or isn't loaded.
Planetfall 12 sept. 2020 à 8h38 
I'm not a modder so this is probebly an obvious question, but what are the pros and cons between using XML vs rewriting the Vanilla Def? Does it reduce the risk of incompatibilities?
velcroboy333  [créateur] 10 aout 2020 à 7h54 
Send me your logs if you want. I might be able to find the conflict that way.
Aurabeth 10 aout 2020 à 6h48 
I put it at the very bottom of the load list and I still get the -4 mood debuff for selling a prisoner (without taking organs). It doesn't really matter to me if the mood debuff exists or not. I just wanted to bring that to your attention.
Also note: I'm yeeting people in transport pods and yoinking them off into nearby tribes and such instead of using caravan selling methods. Though idk if that would change anything.
Thanks for the timely responses and everything. They've been greatly appreciated.
velcroboy333  [créateur] 9 aout 2020 à 17h59 
Hmm, I looked at Psychology and I don't see it touching the same thoughts. Have you tried moving this mod lower in the order? Below any other mod that might affect pawn thoughts?
Aurabeth 9 aout 2020 à 15h03 
Perhaps Psychology also changes mood stuff? I still get the debuff with this mod installed and I am pretty sure that is the only mod that messes with my pawn's thoughts and stuff in that save
velcroboy333  [créateur] 6 aout 2020 à 7h32 
One mod I've been meaning to look into is Shei Foxy's Grim Reality. That mod touches pretty much all of the thoughts/memories and would impact how this one functions
Aurabeth 6 aout 2020 à 7h01 
I've been running a colony with this mod, but for some reason my colonists still get mood debufs for selling colonists... Mod conflicts, mod placement in list, perhaps me misreading what this mod actuallly does?
velcroboy333  [créateur] 5 aout 2020 à 17h52 
velcroboy333  [créateur] 4 aout 2020 à 23h10 
@ZX Zero, Sorry, I completely spaced on that request. I definitely will have time tomorrow (for real this time) to put that together. Even made a little note for myself.
velcroboy333  [créateur] 4 aout 2020 à 23h08 
I updated for 1.2 and added the patch to remove the opinion offset.

@Brokando. Looking again a little closer, that patch weirdly kind of works but it's not exactly correct.

The xpath line is targeting baseOpinionOffset but you are replacing with baseMoodEffect

And the 2nd one is unnecessary as labels and descriptions are slightly different.
velcroboy333  [créateur] 26 juil. 2020 à 15h11 
That looks like it should work yeah.
mrclrchtr 26 juil. 2020 à 14h51 
Maybe something like that?


<Operation Class="PatchOperationReplace">
<success>Always</success>
<xpath>*/ThoughtDef[defName = "SoldPrisoner"]/stages/li/baseOpinionOffset</xpath>
<value>
<baseMoodEffect>0</baseMoodEffect>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<success>Always</success>
<xpath>*/ThoughtDef[defName = "SoldPrisoner"]/stages/li/label</xpath>
<value>
<label>We sold a prisoner. At least we didn't take their organs...</label>
</value>
</Operation>
mrclrchtr 26 juil. 2020 à 14h27 
Thx for the upload. Is it possible to remove the social debuff (-15) as well?
velcroboy333  [créateur] 26 juil. 2020 à 11h18 
A little busy today but definitely will have time tomorrow.
velcroboy333  [créateur] 26 juil. 2020 à 11h18 
Yes. I know GT had several similar mods. I don't remember what they all were but if you do, let me know. I'll make them.
ZX Zero 26 juil. 2020 à 10h31 
Can you make a version of this for killing/selling bonded animals? GassyTaco removed their mod
CrazedKiller 22 juil. 2020 à 8h14 
I had to search my modlist to find what got removed, yeah, turns out the original "Selling prisoners with no guilt" is deleted, lets use this one now
TrickeyTrick 21 juil. 2020 à 9h23 
looks like GassyTaco removed his mod entirely in favor of your updated one; I didn't even know his wasn't working haha. Thanks for this!
velcroboy333  [créateur] 3 juil. 2020 à 9h46 
@GassyTaco, no problem. and thanks for making in the first place.

@ColdWind. Yes. This works.
ColdWind 3 juil. 2020 à 9h45 
working?
GassyTaco 1 juil. 2020 à 16h56 
Thanks man, i been pretty beat up with stuff lately and i havent been able to play around with XML.
kaneeden 2 juin 2020 à 15h33 
thank you. the original mod doesnt work for me in 1.1 but yours seems to have even cured my savegame of previously accumulated whining debuffs. great job :)