Skip to content

Capabilities cheat sheet

Brent Yorgey edited this page Jul 15, 2024 · 15 revisions

The table on this wiki has been automatically generated by:

cabal run swarm:swarm-docs -O0 -- cheatsheet \
  --capabilities \
  --entities-page='https://github.com/swarm-game/swarm/wiki/Entities-cheat-sheet' \
  --commands-page='https://github.com/swarm-game/swarm/wiki/Commands-Cheat-Sheet'

Please improve the documentation generator (found in app/doc/) instead of making changes here, otherwise, they will be overwritten.

Name Commands Entities
power solar panel
move move treads, tank treads
backup backup tape drive
volume volume
path path
push push dozer blade
movemultiple stride
moveheavy tank treads
turn turn treads, tank treads
selfdestruct selfdestruct detonator
grab grab grabber, fast grabber, harvester
harvest harvest harvester
sow sow
ignite ignite
place place grabber, fast grabber, harvester
ping ping
give give grabber, fast grabber
equip equip welder
unequip unequip welder
make make workbench
count count counter
recondir scout binoculars
build build 3D printer
salvage salvage toolkit
drill drill drill, metal drill
waypoint waypoint
structure structure, floorplan blueprint
hastag hastag
tagmembers tagmembers
senseloc whereami GPS receiver
sensefront blocked scanner
sensehere ishere, isempty scanner
detectloc detect
detectcount resonate, density
detectdistance sniff olfactometer
detectdirection chirp
wakeself watch rolex
scan scan, upload scanner
random random bitcoin
appear appear beaglepuss
create
listen listen hearing aid
log log logger
format format linotype, string
concat ++ Elmer's glue, string
split split wedge, string
charcount chars caliper, string
code charat, tochar decoder ring
float boat
cond if, ||, && branch predictor
negation not lodestone
compare ==, !=, <, >, <=, >= comparator
orient heading compass
arith -, +, -, *, /, ^ calculator, ADT calculator, hyperloop
env dictionary
lambda lambda
recursion strange loop
reprogram reprogram flash memory
meet meet, meetall antenna
whoami self, whoami mirror
setname handle
teleport teleport infinite improbability drive
atomic atomic fast grabber, rubber band
swap swap fast grabber
timeabs time clock
timerel wait clock, hourglass, rolex
try try net
sum inl, inr, case ADT calculator, hyperloop
prod fst, snd ADT calculator, hyperloop
record victrola
debug tweezers
handleinput key, installkeyhandler keyboard
halt halt halting oracle
rectype hyperloop
god create, surveil, instant, as, robotnamed, robotnumbered