set-goal/data.lua

changeset 0
11962c90f1b8
child 3
b0344856f104
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/set-goal/data.lua	Sun Jun 29 16:11:41 2025 +0300
@@ -0,0 +1,29 @@
+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",
+
+}
\ No newline at end of file

mercurial