KongMD-Steam / QuestionableEthicsEnhanced

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

Compability issue: Races from Lord of the Rims. Clones of these races do not inherit racial bonus. #56

Closed f851374a closed 4 years ago

f851374a commented 5 years ago

Link to Lord of the Rims mods on Ludeon Link to Lord of the Rims mods on Steam

Issue:

Normal elf: 1 Cloned elf: 2

As you can see, cloned elf lacking racial bonus. The same with other cloned elves. Didn't tried with hobbits, dwarves and half-elfs, but probably it's the same.

Observations:

Tried to add hediff of racial bonus manually by dev mode, but it dissapeared instantly. Then i tried to add hediff by savefile editing and then it worked. (Probably because adding through dev mode apply very short duration) My guess is that Lord of the Rims (i have no idea what mod exactly) have special code for initializing pawns with special racial traits, and that code doesn't apply to case of pawn being cloned. Or something like that. I don't really know about rimworld coding much :D. There is savefile fragments of these pawns, just in case: 1 2 First is normal Elf, second one is clone of some elf.

KongMD-Steam commented 5 years ago

Thanks for the report! I'll look into it.

KongMD-Steam commented 4 years ago

This is fixed in the dev branch, and will be available in the next patch!