set-goal/data.lua

Wed, 02 Jul 2025 23:53:36 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 02 Jul 2025 23:53:36 +0300
changeset 13
826df96c3720
parent 3
b0344856f104
permissions
-rw-r--r--

Added tag place-sounds_v1.0.0 for changeset 2e09a72b2dfa

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