Ludeon Forums

RimWorld => Bugs => Topic started by: Fluffy (l2032) on January 09, 2017, 04:29:48 PM

Title: [A16] Modding: ResearchMod class broken.
Post by: Fluffy (l2032) on January 09, 2017, 04:29:48 PM
There are two problems with researchMods;
1; The class itself is useless as a base class; the Apply() function is not virtual, and the specialAction field is private.
2; Assigning a researchMod type to the researchMods field in ResearchProjectDef XML leads to a 'Trying to parse to unknown data type' error.

Expected behaviour;
1; Apply() is virtual, and/or specialAction is public.
2; Setting workers in XML functions the same as setting workers for e.g. hediffs.
Title: Re: [A16] Modding: ResearchMod class broken.
Post by: Tynan on January 19, 2017, 12:01:22 PM
I'm gonna cut ResearchMod, it's unsupported old cruft.
Title: Re: [A16] Modding: ResearchMod class broken.
Post by: Tynan on January 19, 2017, 12:03:38 PM
Done, thanks.