There is an interesting stat called IsImmuneToInvasion, there are 6 types
IsImmuneToInvasion0 is not defined within StatTypeDisplayDefs.xml and also does not have tooltip text within StatText.xml
For example, if added to an improvement. Once you hover over that improvement either on the tile or build list, game begins to generate a crash dump and crashes on the next click.
When I added IsImmuneToInvasion0 to StatTypeDisplayDefs.xml, it nolonger crashed.
Good find. This has to be modded in to crash though, right?
If not, I'll add it to my mod for good measure.
Yes, this is due to modding. That is why I posted this in the Modding section instead of Support. I don't think modding crashes should be reported in Support, otherwise Stardock's programmers would be overwhelmed.
Also other than IsImmuneToInvasion0->5, Stardock has added IsImmuneToInvasion6->19 for any forthcoming invasion types. So they can be used for custom types as well.
Thanks, good to know
There are many great features available to you once you register, including:
Sign in or Create Account