[1.1.2564 / Royalty] Some royalty bionics may have wrong parentdef

Started by FrozenSnowFox, March 05, 2020, 05:36:39 AM

Previous topic - Next topic

FrozenSnowFox

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.

Tynan

Thanks for the very specific report, I'll have to look at this.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

pointcache

Thank you for the report, this has been fixed and will be available in next version.