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
9 months ago
0.17 - 2.0
6.45K
Cheats

g Free floating window

2 years 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.

2 years ago

Try it :)

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

2 years ago
(updated 2 years 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

2 years ago

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

2 years ago

Nice, It works great now!!!!

New response