RimWorld

RimWorld

Star Wars - The Force [Deprecated]
Milk 2 Jul, 2017 @ 7:46pm
Possible cause to Psychology and force storm bug
Did some testing and force storm is not totally disabled by the presence of psychology in a save (also have Cults and cosmic horrors installed).
Psychology is save-friendly since it leaves old pawns untouched by it. Force storm still fires and kills those old pawns. In the save file, old pawns and Psychology pawns seem to have a different class.
Vanilla pawns start their savefile defs with <thing Class="Pawn">
Psychology pawns have <thing Class="Psychology.PsychologyPawn">
Similarly, cosmic horror pawns from the Cthulhu mods use this:
<thing Class="CosmicHorror.CosmicHorrorPawn">

Force storm doesn't work on those either. Could be it's only coded to target those vanilla pawns. Seems fixable, but might be messy

Edit: Someone says the Zombie Apocalypse mod has a similar change (presumably replacing all human pawn classes), and it uses the "BiteablePawn" class.
Last edited by Milk; 2 Jul, 2017 @ 7:53pm
< >
Showing 1-4 of 4 comments
The Word-Mule 3 Jul, 2017 @ 10:56am 
Yep, if Force Storm specifically looks for the Pawn type (instead of the C# code "thing is Pawn"), that would cause the problem. Zombie Apocalypse and Psychology are incompatible for that reason.
The Word-Mule 3 Jul, 2017 @ 10:07pm 
I've submitted a pull request to JecsTools that fixes this bug. It was actually a problem with that library, not this mod.
Milk 4 Jul, 2017 @ 10:31am 
Thanks Wobbly, you've been working like crazy since Psych's a17 update and I love it
🌌🥃 4 Jul, 2017 @ 10:41am 
Thanks Wob, I love Psychology and I also love The Force, I have just been making all my guys light side until the bug is fixed. I appreciate all the hard work
< >
Showing 1-4 of 4 comments
Per page: 1530 50