奥拓星球 / Autonauts

奥拓星球 / Autonauts

查看统计:
Feature request : Adding variable blocks
I think a variable block would be nice to have, so instead of saving a code in the database with pre-existing inputs/outputs set, we could save a code with variables, but the content itself is set on bot programming.

The main advantage is to keep bots linked to the same algorithm without having to worry about the input/output (i.e storage crates). For example, let's say we have 20 "crafter" bots (tools, panels, shaped stones etc.). Each bot may have different storage to get the required resources, different crafting workstation and different output storage. But if we want to update the code later to optimize it, refactor etc. we wouldn't have to modify each bot one by one. Instead we modify one bot and restart the other ones since they are all linked to the same code.