RimWorld

RimWorld

MedPod Luciferium Patch
24 Comments
Tookatee 19 Feb @ 3:49am 
Can confirm it does work! Thank you for your effort in solving this, really glad there's someone willing to do this.
Tookatee 10 Feb @ 6:14pm 
Thank you for your efforts! I'll check next time I play and let you know.
LegitGamer1017  [author] 9 Feb @ 3:31pm 
@Tookatee

I just updated my patch to patch Seraphites if the mod is present. Could you confirm it works on your game?

I've quickly playtested it myself and it seems like it works. It'll cure everything except Seraphites.

Let me know if anything is wrong, and please describe it thoroughly.

As always, unsubscribe and resubscribe to get the latest version of the patch if it hasn't updated already.
LegitGamer1017  [author] 9 Feb @ 1:15pm 
Most likely due to LuciferiumAddiction not being explicitly declared in neverTreatableHediffs, so it get's wiped alongside everything else when treatment does occur. (But pawns won't go to MedPod just for LuciferiumAddiction).

I could be wrong but that's just my first thoughts. I'll try and take a look at it soon, but no promises. Thanks for letting me know.
Tookatee 5 Feb @ 12:40am 
OK, from further play time it looks like this mod only partially works as is. When treating certain hediffs like gene shock loss it will also remove the Seraphite effect. So it does need a specific patch.
LegitGamer1017  [author] 29 Jan @ 10:43am 
After looking at the XML/Code, I can see why it would work. To those curious:

Luciferium and its hediffs (health conditions status) has two parts to it:

LuciferiumHigh:
- The pawn gets stat boosts
- This effect is temporary

LuciferiumAddiction:
- A permanent addiction
- The pawn gets hidden need called Chemical-Luciferium which will deplete over time.
- When the need runs out, Pawn enters withdrawal, goes berserk and die. The only way to get this need back up is to take more Luciferium to reset the need

When a pawn takes Luciferium, they receive LuciferiumHigh n if they didn’t already have it, LuciferiumAddiction.

In regular Medpod, it will treat/remove LuciferiumHigh, but will not touch LuciferiumAddiction. My patch simply just makes it so Medpod does not treat/remove LuciferiumHIgh and LuciferiumAddiction.

In the case of Seraphite, my patched worked because it looks like Seraphite gives the same exact vanilla LuciferiumHigh hediff, but not the LuciferiumAddiction part.
LegitGamer1017  [author] 27 Jan @ 10:48pm 
Good to know then, thanks for testing!
Tookatee 26 Jan @ 5:05pm 
Good news! I just loaded up my game with your patch running, and it looks like whatever you have in place to exclude luci also happens to work with Seraphites! So I guess all u need to do is just update the mod description!
Tookatee 26 Jan @ 2:40pm 
Also don't know if this helps your ability to add support, but the Seraphite hediff isn't something pawns actively go to get healed at the pod, it's just something that gets healed along with other sickness/injuries that do make pawns go to use the medpod
Tookatee 24 Jan @ 6:40pm 
That's it! Thank you for your effort in looking into this!
LegitGamer1017  [author] 23 Jan @ 8:10pm 
@Tookatee

Is it the Recon and Discovered (Continued) by maintained by Mlie?

I'll take a look at it this weekend if I don't forget. No promises but it shouldn't be too hard. I'll probably just add it alongside my other patches for this mod.
Tookatee 23 Jan @ 3:06am 
Any chance you could add support for having the medpod also omit treating Seraphites from Recon & Discovery? It's a drug that gives the same buffs as luci, but without an addiction (in fact it cures any existing luci addiction).
LZIM 6 Aug, 2024 @ 3:50pm 
only needed because medpod author is bent on destroying the mod for no good reason.
Dragon 12 Jun, 2024 @ 9:51pm 
Thanks for this, wanting to create archotech style solo pawn and luci is just a cherry on top with ushanka's expansion.
LegitGamer1017  [author] 11 Apr, 2024 @ 2:12pm 
This patch has been updated for 1.5. Should work fine with Anomaly too.

Tested it myself in vanilla game and patch works as intended.


If anything breaks or there are unintended effects, let me know in thorough detail.
Frog Z. 15 Jan, 2024 @ 4:42am 
The creator of the MedPod wants to lead us away from the demon, but we have chosen not to. We desire more power, and with power, comes a great cost. The choice of keeping luciferium addiction enhances the immersion, which is good. :steamthumbsup:
LegitGamer1017  [author] 4 Dec, 2023 @ 10:38pm 
This patch should still be working fine. If you run into issues where your Luciferium is being cured, please let me know!
LegitGamer1017  [author] 3 May, 2023 @ 9:16pm 
Thanks!
Paradoxical 3 May, 2023 @ 3:27pm 
BEAUTIFUL!
Torres 11 Feb, 2023 @ 2:17am 
Damn thanks a lot!
LegitGamer1017  [author] 10 Feb, 2023 @ 10:07pm 
@Torres

Done.

Update Notes 2/11/2023:

Added support for Luciferium+ by GMsU | AuxiliusM.

I just playtested it before uploading, and it seemed to work fine. Let me know if anything is wrong, and please describe it thoroughly.

As always, unsubscribe and resubscribe to get the latest version of the patch.
Torres 10 Feb, 2023 @ 3:37pm 
Please make it as well for the Luciferium+ mod??
LegitGamer1017  [author] 11 Dec, 2022 @ 2:35pm 
No problem!
sumghai 11 Dec, 2022 @ 2:10pm 
Thanks for making this! And just sumghai is fine for attribution.