Moon Logic deprecated

by mk-fg

Adds Lua-programmable circuit network combinator. Based on Sandboxed LuaCombinator and LuaCombinator2 mods. Probably won't work in multiplayer games.

Content
2 years ago
1.0 - 1.1
4.97K
Circuit network

i [fixed] Copy button for Environment Variables window

2 years ago

I save stats on items launched or moved through LTN stations in my var variables and it would be really nice to be able to copy the table out of the env window so that I can processes it in an external script.

Hope its something you could think about adding.

2 years ago

Don't think it'd be possible to copy stuff to clipboard directly from a mod - afaik lua api doesn't allow that.
I'd also be surprised if direct clipboard functionality from a mod was ever added, as it's OS clipboard, and people use that for all sorts of sensitive stuff, like passwords and banking details, so probably best to not enable that (ab-)use-case for mods here.

That said, it should probably be possible and easy to make variables' textbox editable on freeze, and then you can just ctrl-a/ctrl-c stuff out of there.

2 years ago

Made that variables-box editable when it's paused, in 0.0.79 - Ctrl-A/Ctrl-C trick indeed seem to work.

Hopefully making it editable won't confuse people into actually trying to edit stuff there, as that won't be parsed back into env.
Tooltip on the pause button should warn about that, though not sure how noticeable it might be.

2 years ago

Tooltip on the pause button should warn about that, though not sure how noticeable it might be.

Also added tooltip on the textbox itself in 0.0.80 to the same effect - that one should probably be more obvious.

2 years ago

That works, thank you!

New response