RimWorld

RimWorld

29 arvostelua
[XND] Parasite Tends Matter!
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
1.043 MB
1.3.2018 klo 3.58
1 muutos ( näytä )

Tilaa ladataksesi
[XND] Parasite Tends Matter!

Kuvaus
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 kommenttia
ruddthree 1.9.2018 klo 6.43 
Got it.
XeoNovaDan  [tekijä] 1.9.2018 klo 1.54 
@ruddthree - Vanilla's parasite tending system was changed between B18 and B19, so this mod is redundant.
ruddthree 31.8.2018 klo 16.39 
Will this be updated to B19?
XeoNovaDan  [tekijä] 11.5.2018 klo 23.26 
Ah, good catch. I'll update desc for now, and may try to work on a fix in the future.
RtoKeeb 11.5.2018 klo 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  [tekijä] 5.4.2018 klo 22.01 
@Omega13 - That you are correct with.
Omega13 5.4.2018 klo 16.03 
Just to confirm what is implied by the above text - this does NOT work on mechanites?
Wolfman Bigby 10.3.2018 klo 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 8.3.2018 klo 0.16 
Wow fantastic, this should be in the vanilla. I appreciate your efforts.
BlueTressym 7.3.2018 klo 8.26 
Thank you! It makes much more sense this way :)