Someone's LUA-Console


Run lua commands without losing achievements. Now remembers input-script. "game.player" works. By default opens with CONTROL + RIGHTBRACKET. Execute last input-script with CONTROL + ENTER.

Utilities
29 days ago
0.17 - 2.0
4.75K
Cheats

g Free floating window

1 year, 7 months ago

can you make it in a free floating window?

When testing some code it covers the chat output making me closing and opening the console non stop just to check the output.

1 year, 7 months ago

Try it :)

Im not sure if the autocentering when opening it is a good idea.

1 year, 7 months ago
(updated 1 year, 7 months ago)

Great, the only problem is when I copy in code the window's vertical size grows bigger then the screen.
The buttons get dropped of screen. so the window should stop adjusting it's height when reaching the resolution limit (or 80% maybe to not hug the top and bottom of the sreen) and give a scroll bar instead.

Or maybe adjustable size (do not know that is possible in factorio)

see screenschot here

https://imgur.com/a/dluwhoL

1 year, 7 months ago

Yeah, fixed: Now the max height of the console is 0.7 of your screen.

1 year, 7 months ago

Nice, It works great now!!!!

New response