set-goal/data.lua

Wed, 02 Jul 2025 14:28:57 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 02 Jul 2025 14:28:57 +0300
changeset 10
101603241531
parent 3
b0344856f104
permissions
-rw-r--r--

Add fusion lab (currently v1.2.3)

data:extend{
    {
		type = "custom-input",
		name = "open-set-goal-gui",
		order = "open-set-goal-gui",
		key_sequence = "SHIFT + G"
	},
	{
		type = "shortcut",
		name = "open-set-goal-gui",
		action = "lua",
		icon = "__base__/graphics/icons/signal/signal-white-flag.png",
		icon_size = 64,
		small_icon = "__base__/graphics/icons/signal/signal-white-flag.png",
		small_icon_size = 64,
		associated_control_input = "open-set-goal-gui"
	},
}

data.raw["gui-style"].default["set-goal-gui-textbox"] = {
    type = "textbox_style",
    minimal_width = 300,
    --maximal_width = 1200,
    minimal_height = 200,
    --maximal_height = 1200,
    horizontally_stretchable = "on",
    vertically_stretchable = "on",

}

mercurial