set-goal/data.lua

changeset 0
11962c90f1b8
child 3
b0344856f104
equal deleted inserted replaced
-1:000000000000 0:11962c90f1b8
1 data:extend{
2 {
3 type = "custom-input",
4 name = "open-set-goal-gui",
5 order = "open-set-goal-gui",
6 key_sequence = "Shift + G"
7 },
8 {
9 type = "shortcut",
10 name = "open-set-goal-gui",
11 action = "lua",
12 icon = "__base__/graphics/icons/signal/signal-white-flag.png",
13 icon_size = 64,
14 small_icon = "__base__/graphics/icons/signal/signal-white-flag.png",
15 small_icon_size = 64,
16 associated_control_input = "open-set-goal-gui"
17 },
18 }
19
20 data.raw["gui-style"].default["set-goal-gui-textbox"] = {
21 type = "textbox_style",
22 minimal_width = 300,
23 --maximal_width = 1200,
24 minimal_height = 200,
25 --maximal_height = 1200,
26 horizontally_stretchable = "on",
27 vertically_stretchable = "on",
28
29 }

mercurial