Code: Select all
frame["sar-table3"].add{type = "sprite", name="sar-table-separator"}
Code: Select all
data:extend({
-- sprites
{
type = "sprite",
name = "sar-table-separator",
filename = "__SpaceFlight__/graphics/separator.png",
priority = "extra-high-no-scale",
width = 32,
height = 2
}
})
I really enjoy modding this game but find it very hard to figure out how to change/add specifics. I often find it either through browsing data file itself or through different mods. I expect this to be handled by something like
data.raw["gui-style"].default["some-button-style"] =
since its for gui, but I could not find any resource to figure it out since "sprite_style" type doest work. Wiki is very vague when it come to implementation or listing full functionality so I turn to you guys again. Thanks for help in advance.