边缘世界 RimWorld

边缘世界 RimWorld

评价数不足
MedPod Luciferium Patch
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
62.506 KB
2022 年 12 月 11 日 下午 1:06
7 月 27 日 下午 4:18
5 项改动说明 ( 查看 )

订阅以下载
MedPod Luciferium Patch

描述
A patch for sumghai's MedPod mod so that MedPods do not remove/treat Luciferium from pawns. Intended for Luciferium addicts and abusers.

Compatibility/Patched for...

1. Medpod
2. Luciferium+ by GMsU | AuxiliusM
3. Seraphites from Recon And Discovery (Continued)

Place this patch below MedPod (and anything else it patches) in load order.

F.A.Q

Q: Combat Extended Compatible?
A: Yes.

Q: Does this mean I don't need to supplement my pawns with regular doses of Luciferium while keeping Luciferium buffs?
A: No. You will still need to give your Luciferium users regular doses of Luciferium, or they will die as intended in Vanilla. All this does is make it so that the MedPod does not treat Luciferium.

Q: Savegame Compatible?
A: Yes. It's safe to add/remove this patch in any save. Note that removing this patch will make your pawns with Luciferium go to a MedPod and automatically treat their Luciferium once you start the save.

Q: Incompatible with XXX?
A: This is just a patch for MedPod. It should not be incompatible with anything else.

License

In case I am ever unavailable to maintain this project, I encourage anybody to continue development under the terms of the GPLv3 license. [www.tldrlegal.com]

Github Repo [github.com]
26 条留言
LegitGamer1017  [作者] 7 月 20 日 上午 2:26 
Didn't realize 1.6 was out, I'll take a look and update it sometime this week hopefully.

In the meantime, I believe things should still work as long as MedPod didn't make any drastic changes.
Tookatee 7 月 19 日 下午 9:33 
Any chance of a 1.6 update?
Tookatee 2 月 19 日 上午 3:49 
Can confirm it does work! Thank you for your effort in solving this, really glad there's someone willing to do this.
Tookatee 2 月 10 日 下午 6:14 
Thank you for your efforts! I'll check next time I play and let you know.
LegitGamer1017  [作者] 2 月 9 日 下午 3:31 
@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  [作者] 2 月 9 日 下午 1:15 
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 2 月 5 日 上午 12:40 
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  [作者] 1 月 29 日 上午 10:43 
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  [作者] 1 月 27 日 下午 10:48 
Good to know then, thanks for testing!
Tookatee 1 月 26 日 下午 5:05 
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!