[1.4.3515] ThingStyleDef. graphicData not being applied correctly

Started by Robotrowful, October 13, 2022, 05:38:23 PM

Previous topic - Next topic

Robotrowful

What the circumstances were.
When i was creating a mod using ThingStyleDef to add differences based on the Ideology chosen, from colours to names.
Example used are Morbid and Animalistic Style

What happened.
When changed the colours colorTwo would fail unless it was set to the same as the standard thingdef, color would not change
When exiting to menu and re loading, The Mineable test walls, their names got unoverriden and became normal test walls

What you expected to happen.
I expected the style to be different from the original.

I have made a Example mod that demonstrate the issue that can be used with the SaveFile to reproduce the bug quickly
https://github.com/Robotrowful/ThingStyleDef-Bug
For an unknown reason i cant upload the savefile to the forum. so i put it into the github