RimWorld
Sell Prisoner With No Guilt(patch method)
37 Yorum
[FIREFLY] FURINA FIXED ME 14 Nis @ 23:25 
<3
xNaquada 5 Nis @ 18:42 
thanks velcroboy333
velcroboy333  [yaratıcı] 5 Nis @ 11:35 
Updated for 1.5. No changes made. Let me know if any bugs pop up.
Cheers.
velcroboy333  [yaratıcı] 17 Eki 2022 @ 15:37 
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 Ağu 2021 @ 0:34 
thanks for the update!
velcroboy333  [yaratıcı] 19 Tem 2021 @ 23:14 
Updated for 1.3
velcroboy333  [yaratıcı] 5 Tem 2021 @ 16:48 
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 Oca 2021 @ 10:54 
Okay thanks! :)
velcroboy333  [yaratıcı] 6 Oca 2021 @ 14:24 
Yes. It does the same thing but uses a more campatable patch method.
Azuwi 6 Oca 2021 @ 14:20 
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 Ara 2020 @ 19:21 
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  [yaratıcı] 9 Ara 2020 @ 21:11 
Yes it does.
OOZ662 6 Ara 2020 @ 22:04 
Does this mod also get rid of the social impact of selling prisoners or just the mood effect?
Planetfall 12 Eyl 2020 @ 13:37 
Ah nice. Thanks for the quick reply
velcroboy333  [yaratıcı] 12 Eyl 2020 @ 9:32 
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 Eyl 2020 @ 8:38 
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  [yaratıcı] 10 Ağu 2020 @ 7:54 
Send me your logs if you want. I might be able to find the conflict that way.
Aurabeth 10 Ağu 2020 @ 6:48 
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  [yaratıcı] 9 Ağu 2020 @ 17:59 
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 Ağu 2020 @ 15:03 
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  [yaratıcı] 6 Ağu 2020 @ 7:32 
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 Ağu 2020 @ 7:01 
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  [yaratıcı] 5 Ağu 2020 @ 17:52 
velcroboy333  [yaratıcı] 4 Ağu 2020 @ 23:10 
@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  [yaratıcı] 4 Ağu 2020 @ 23:08 
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  [yaratıcı] 26 Tem 2020 @ 15:11 
That looks like it should work yeah.
mrclrchtr 26 Tem 2020 @ 14:51 
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 Tem 2020 @ 14:27 
Thx for the upload. Is it possible to remove the social debuff (-15) as well?
velcroboy333  [yaratıcı] 26 Tem 2020 @ 11:18 
A little busy today but definitely will have time tomorrow.
velcroboy333  [yaratıcı] 26 Tem 2020 @ 11:18 
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 Tem 2020 @ 10:31 
Can you make a version of this for killing/selling bonded animals? GassyTaco removed their mod
CrazedKiller 22 Tem 2020 @ 8:14 
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 Tem 2020 @ 9:23 
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  [yaratıcı] 3 Tem 2020 @ 9:46 
@GassyTaco, no problem. and thanks for making in the first place.

@ColdWind. Yes. This works.
ColdWind 3 Tem 2020 @ 9:45 
working?
GassyTaco 1 Tem 2020 @ 16:56 
Thanks man, i been pretty beat up with stuff lately and i havent been able to play around with XML.
kaneeden 2 Haz 2020 @ 15:33 
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 :)