5 ms·
Can you write scripts in factorio? You can do that in mindustry.
by Aperocky 4y ago
Can you write scripts in factorio? You can do that in mindustry.
- falcolas 4y agoBetter, you can (effectively) build logic with gates directly.
- Aperocky 4y agoUnsure, never played factorio before, but in mindustry each different "CPU" can execute different scripts to utilize their surroundings. I'd imagine that's more "efficient" than eking out a logic using gates?
- falcolas 4y agoDepends on your persistence. I've seen a full "mall" (factories building factory items) that dynamically built requests from scratch; no queued items. I've also seen delivery systems which will send a train with the requested items from your central base to your current location.
- thenipper 4y agoAs the other comment said you can do gates. You can also write lua mods. I’ve done that for some stats/dashboarding.
- dexwiz 4y agoWithin the game, Factorio has basic logic circuits that have ladder logic qualities. The circuits only have a few primitives: constants, comparators, and basic math. You don't ever have to use circuits to complete the base game, and most use cases can be solved with only a few circuits. But of course people have used them to write full graphics pipelines like any programmable game system. https://en.wikipedia.org/wiki/Ladder_logic https://en.wikipedia.org/wiki/Ladder_logic Outside the game, Factorio also has full support for mods written in LUA. I am not a modder, so I can't comment on its relative power versus other mod systems, but Factorio has a handful of overhaul mods that change the entire game. Since its moddable, people have created mods that allow you to write LUA logic for the circuits instead of the basic math operations/comparators. https://mods.factorio.com/mod/Moon_Logic https://mods.factorio.com/mod/Moon_Logic
- p_l 4y agoOthers already mentioned built-in combinator logic and moon logic addon, there's also addon that let's you write in a simple assembly language - think having few bytes of memory for program and data and connecting to the same logic network as combinator logic does. You can do fairly complex stuff this way.
- hajile 4y agoMindustry needs to lose the scripting system as it’s terrible. ShapezIO has a better idea with an overlay to do that stuff (albeit with more restrictions). A flow based system would be far better. It’s easier for non programmers (which is also more fair) and could visually look and function more like normal mindustry.