Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hexagonrecursion/c6b52b2383607b75e60ab531a053a845 to your computer and use it in GitHub Desktop.
Save hexagonrecursion/c6b52b2383607b75e60ab531a053a845 to your computer and use it in GitHub Desktop.
[feature] setprogram(string, object)
Many levels in the game require you to find "usable objects" - bots that you did not build. Currently even in a full-auto playthrough I have to manually start programs on those robots. I want to automate that.
New function:
setprogram("<program - just like when calling factory()>", <bot - optional; default - closest>)
1. stop the current running program (if any)
2. start the supplied program
3. can be used on `this` - has effect similar to unix exec()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment