RimWorld
29 valoraciones
[XND] Parasite Tends Matter!
   
Premio
Favoritos
Favorito
Quitar
Tamaño
Publicado el
1.043 MB
1 MAR 2018 a las 3:58 a. m.
1 nota sobre cambios ( ver )

Suscríbete para descargar
[XND] Parasite Tends Matter!

Descripción
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 comentarios
ruddthree 1 SEP 2018 a las 6:43 a. m. 
Got it.
XeoNovaDan  [autor] 1 SEP 2018 a las 1:54 a. m. 
@ruddthree - Vanilla's parasite tending system was changed between B18 and B19, so this mod is redundant.
ruddthree 31 AGO 2018 a las 4:39 p. m. 
Will this be updated to B19?
XeoNovaDan  [autor] 11 MAY 2018 a las 11:26 p. m. 
Ah, good catch. I'll update desc for now, and may try to work on a fix in the future.
RtoKeeb 11 MAY 2018 a las 9:17 p. m. 
Doesn't work when added to save with infection in progress. They seem to never disappear. Maybe because disappearsAtTendedCountQuality = -1f is not changed.
XeoNovaDan  [autor] 5 ABR 2018 a las 10:01 p. m. 
@Omega13 - That you are correct with.
Omega13 5 ABR 2018 a las 4:03 p. m. 
Just to confirm what is implied by the above text - this does NOT work on mechanites?
Wolfman Bigby 10 MAR 2018 a las 7:55 p. m. 
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 MAR 2018 a las 12:16 a. m. 
Wow fantastic, this should be in the vanilla. I appreciate your efforts.
BlueTressym 7 MAR 2018 a las 8:26 a. m. 
Thank you! It makes much more sense this way :)