RimWorld
29 人が評価
[XND] Parasite Tends Matter!
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
1.043 MB
2018年3月1日 3時58分
1 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
[XND] Parasite Tends Matter!

解説
Direct download from GitHub[github.com].

Compatibility
Will conflict with any mods that modify Gut Worms or Muscle Parasites. Conflicting should be minimal since this mod uses C# and XML patching.

There may be issues adding this to existing saves if there are colonists that currently have Gut Worms or Muscle Parasites, but there shouldn't be problems otherwise.

There are no other known incompatibilities.

Overview
Don't you just dislike how regardless of if you use a crippled level 0 doctor without any medicine, or a fully bionic level 20 doctor with glitterworld medicine, it always takes 5 tends to get rid of Gut Worms and Muscle Parasites? I certainly do!

This mod makes it so that tend quality for muscle parasites and gut worms matters: use a bad doctor with poor quality medicine and it'll take more tends to remove parasitical diseases, and it'll take fewer tends if you use a good doctor with good quality medicine.

Average tend quality guide:
  • 0% to 8% - 7 tends
  • 9% to 19% - 6 tends
  • 20% to 37% - 5 tends
  • 38% to 66% - 4 tends
  • 67% to 100% - 3 tends

If these values seem daunting, bear in mind that even a healthy level 8 doctor that doesn't use any medicine will average a tend quality of 30%, which fits in right with vanilla on the above guide.

Info For Modders
This mod adds a new Hediff comp called HediffComp_MultipleTendsQuality which is a child comp of HediffComp_TendDuration, the properties of which are defined through HediffCompProperties_MultipleTendsQuality.

This comp opens up two new values to XML:
  • disappearsAtTendedCountQuality - this comp's equivalent of disappearsAtTendedCount. Once the tend counter's value reaches or surpasses this, the hediff is removed. This value is 7 for GutWorms and MuscleParasites.
  • tendQualityCounterOffsetFactor - The tend counter's value is increased by 1 per tend, plus the tend quality multiplied by this value. This value is 2 for GutWorms and MuscleParasites, but defaults to 1.
So if you have any mods that add diseases which require a fixed number of tends to remove and you want tend quality to matter for them too, then it should be pretty easy to make a patch for them to be affected by tend quality.

Credits
Fyarn for helping out with the C# stuff. Big thanks!
Marnador for their RimWorld-style font.

License
As is standard with my mods: you may include this mod in a mod pack, and you may derive from this, but please inform me if you're doing so either through Steam or Ludeon Forums, and give credit where credit's due.
16 件のコメント
ruddthree 2018年9月1日 6時43分 
Got it.
XeoNovaDan  [作成者] 2018年9月1日 1時54分 
@ruddthree - Vanilla's parasite tending system was changed between B18 and B19, so this mod is redundant.
ruddthree 2018年8月31日 16時39分 
Will this be updated to B19?
XeoNovaDan  [作成者] 2018年5月11日 23時26分 
Ah, good catch. I'll update desc for now, and may try to work on a fix in the future.
RtoKeeb 2018年5月11日 21時17分 
Doesn't work when added to save with infection in progress. They seem to never disappear. Maybe because disappearsAtTendedCountQuality = -1f is not changed.
XeoNovaDan  [作成者] 2018年4月5日 22時01分 
@Omega13 - That you are correct with.
Omega13 2018年4月5日 16時03分 
Just to confirm what is implied by the above text - this does NOT work on mechanites?
Wolfman Bigby 2018年3月10日 19時55分 
Okay so two of my guys got muscle parasites. Only took two mends each from my dedicated doctor to cure them. Which is good because one of them was incapacitated otherwise due to previous injuries, hah. So I'll be rating this up.
Cloud Breaker 2018年3月8日 0時16分 
Wow fantastic, this should be in the vanilla. I appreciate your efforts.
BlueTressym 2018年3月7日 8時26分 
Thank you! It makes much more sense this way :)