Ludeon Forums

RimWorld => Bugs => Topic started by: FrozenSnowFox on March 05, 2020, 05:36:39 AM

Title: [1.1.2564 / Royalty] Some royalty bionics may have wrong parentdef
Post by: FrozenSnowFox on March 05, 2020, 05:36:39 AM
While working on my bionics mod I discovered some bionics which look like they might have the wrong parentdef for their HediffDef and RecipeDef.  The Detoxifier Stomach I'm fairly certain is a bug.  As it has an efficiency of 1.25 listed in its files but upon installing it in game it does not get the efficiency bonus.  Most likely because it's recipe installs it as an implant rather than a body part.  I looked over the file and below is a list of what I believe might be errors.

Detoxifier Stomach
- It's hediff uses ImplantHediffBase which is for implants but its install recipe uses SurgeryInstallBodyPartArtificialBase which is for body parts. It's part efficiency is listed as 1.25 but upon install it does not receive this bonus most likely because it's hediff is listed as an implant.

Nuclear Stomach
- It's hediff uses AddedBodyPartBase which is for body parts but its install recipe uses SurgeryInstallImplantBase which is for implants.

Gastro Analyzer
- It's hediff uses AddedBodyPartBase which is for body parts but its install recipe uses SurgeryInstallImplantBase which is for implants.

Aesthetic Nose
- It's hediff uses ImplantHediffBase which is for implants but its install recipe uses SurgeryInstallBodyPartArtificialBase which is for body parts.
Title: Re: [1.1.2564 / Royalty] Some royalty bionics may have wrong parentdef
Post by: Tynan on March 05, 2020, 07:30:35 AM
Thanks for the very specific report, I'll have to look at this.
Title: Re: [1.1.2564 / Royalty] Some royalty bionics may have wrong parentdef
Post by: pointcache on March 10, 2020, 03:54:34 PM
Thank you for the report, this has been fixed and will be available in next version.