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] color of red and green

4 years ago

Since I am coloblind, I am using some mods that modify colors of things - for instance colors of red and green wires. Probably it is possible to mark the state of the input also by name - or grab the actual color from entity-prototype.

4 years ago
(updated 4 years ago)

Hm, yeah, Colorblind Circuit Network replaces icons with yellow-wire/blue-wire, and I guess it should be possible to parse names from there and adjust some descriptions and colors based on that.
Even easier to bind blue/yellow env vars to same metatables as red/green, so that code will work the same using either of these names.

4 years ago

I hate the names too.
But watch out, there is more than one mod out there to mitigate colorblindness problems. For instnace I use a patched version of Palette Cleanser mod at the moment, since Colorblind Circuit Network is not enough.
Unfortunately the acual color of the wire is hidden inside the sprite. So I guess there is no easy way to fix this. You should probably put this on low priority.

4 years ago

Simpliest fix would probably be to add two "wire name" options, which players can customize to whatever they have in the game or just prefer instead of default names.

4 years ago
(updated 4 years ago)

Or just add some subtitle: "green signals:" and "red signal:" or only "green" and "red". That would be better (and less effort probably)
Color blind people are always keen on text or icon shapes

4 years ago
(updated 4 years ago)

Added these options to startup mod settings in 0.0.4, changing names in lua (though red/green are always available there too, for compatibility) and in guis everywhere, added subtitle on the right too e.g.:

Just a matter of adding two conf values and templating them anywhere I could find the word "red" - https://github.com/mk-fg/games/commit/dec7baf :)

4 years ago
(updated 4 years ago)

Noticed that old wire colors were used in debug=true log-dump, fixed in 0.0.5 ( https://github.com/mk-fg/games/commit/298505c ), though also want to bundle some editing hotkeys there.

4 years ago

So you implemented your idea as well my suggestion. I like your style!

New response