]> git.somenet.org - factorio/some-luaconsole.git/blob - data.lua
Now remembers input-script and it can be executed via CTRL+Enter. RELEASE 1.0.1
[factorio/some-luaconsole.git] / data.lua
1 data.raw["gui-style"].default["some_luaconsole_input_textbox"] = {
2     type = "textbox_style",
3     name = "some_console_input_textbox",
4     parent = "textbox",
5     minimal_width = 500,
6     minimal_height = 60,
7 }
8
9
10 data:extend({
11     {
12         type = "custom-input",
13         name = "some_luaconsole_toggle",
14         key_sequence = "CONTROL + RIGHTBRACKET"
15     },
16     {
17         type = "custom-input",
18         name = "some_luaconsole_exec",
19         key_sequence = "CONTROL + ENTER"
20     },
21 })