[0.16.x] set custom gui style
Posted: Fri Dec 15, 2017 5:44 am
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.
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.