Arrow keys to pan · +/- zoom
🖥 Colonist Script
— none selected —
API: move(x,y) · moveTo(type) · mine() · chop() · farm() · harvest()
deposit() · build() · rest() · random(n)
self.x · self.y · self.hunger · self.energy · self.carrying
state.anything — persistent across ticks (e.g. state.phase = 'mining')
map.get(x,y) → {type,item} · map.find(type,radius)
colony.food · colony.wood · colony.stone · colony.iron
log("msg") — script runs every tick