This tool builds chemf*** programs for the ChemiCompiler in the Goonstation codebase for Space Station 13. The syntax is based on assembly. Visit the Goonstation wiki for a detailed guide to the ChemiCompiler.
Command | Action |
---|---|
mov #a, #s, #t | moves #a amount from #s source container to #t target container |
movall #s, #t | moves all the contents of #s source container to #t target container |
temp #s, #v | sets the temperature of #s source to #v value |
iso #a, #r, #s, #t | isolates #a amount of #r reagent from #s source to #t target |
pill #s | makes the contents of #s into pills. Identical to movall-ing the contents to 11 |
vial #s | makes the contents of #s into vials. Identical to movall-ing the contents to 12 |
dump #s | dumps the contents of #s. Identical to movall-ing the contents to 13 |
compile | this line anywhere in the code indicates that the resulting program should have ~ appended |
print #text | prints #text to the ChemiCompiler screen (this adds a lot of code to the output) |
sfor #i | simple for loop, iterates the code below until end #i times. If #i <= 0 the code is skipped |
end | markes the end of a loop |
Feel free to submit an issue or contact Slugo#7646 on discord to suggest changes.