set-goal/data.lua

Sun, 29 Jun 2025 18:27:00 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 29 Jun 2025 18:27:00 +0300
changeset 2
415dcf69f5f5
parent 0
11962c90f1b8
child 3
b0344856f104
permissions
-rw-r--r--

Add hgignore

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