are we no longer able to set a custom style for gui?
I have in my code "data.raw["gui-style"].default.foo = {...}"
and the game gives me this error: "error while loading gui-style prototype 'default' (gui-style): Parent style not found: [foo]".
what I find odd though I've looked at another mod which uses the same code: "data.raw["gui-style"].default.bar = {...}", and it works fine. so I don't know.
[0.16.x] set custom gui style
Re: [0.16.x] set custom gui style
your style must have a named property= parentosldgoth wrote:....Parent style not found: [foo]"..
sample
Re: [0.16.x] set custom gui style
The style(s) in question did have a named property 'parent', though was set to an invalid name, ending with "_style". removed the _style and it works now. thanks