KongMD-Steam / QuestionableEthicsEnhanced

The source code of the Questionable Ethics Enhanced mod for RimWorld.
MIT License
12 stars 7 forks source link

Warforged Compatibility #76

Open KongMD-Steam opened 4 years ago

KongMD-Steam commented 4 years ago

What mod would you like to see compatibility with? Warforged

Is there a bug in the mod when it's enabled with this other mod? From dathdud0 on Steam Workshop:

i am using a mod to play as a robot race called warforged and i was wondering if they can be cloned, i have done the research and have the gene sequencer but the surgery isn't showing up, is this mod compatible with the warforged mod or is it that you can't clone robots?

Are there errors in the debug log? If so, when do they occur? Unknown

KongMD-Steam commented 4 years ago

Bug confirmed. The Sequence Genome surgery does not show up for Warforged pawns. Investigating.

KongMD-Steam commented 4 years ago

GenomeUtility.IsValidGenomeSequencingTargetDef() is returning false because the MeatAmount is set to 0 in the Warforged race definition. Hmm....will require some thought on handling cloning for robot races that are not meatbags.

This is going to take a significant code change, because Nutrient Solution and Protein Mash are hardcoded all over the pawn cloning process.