/lmove left/rmove right/umove up/dmove down/mmove in the same direction as the trigering cell/crotate clockwise/wrotate counter-clockwise
l:triger on cells pushing leftr:triger on cells pushing rightu:triger on cells pushing upd:triger on cells pushing downa:triger on cells pushing anywherec:triger on cells rotating this cellt:trigers every time this cell is ticked
l>move the cell on the left in a given wayr>move the cell on the right in a given wayu>move the cell on the up in a given wayd>move the cell on the down in a given wayt>return a value, ends this functions execution and sets the get value of this function to the returned value
?dthe direction of a given cell?nthe id of the given cell?ccheck if there is a cell in a given location
double quotes are strings/numbers. variables are defined and set using name=val. functions can only be defined, never set.
!sstops the current part of this rulename$=(inputs){commands}function, works exactly the same as variable definitions but can store rules and can be inherited from other cells$(inputs)nameruns a specified function@nameaccesses a variable, put infront of the round bracket in the run rule command to state what rule to run, replace name with the name of the var/rule?|run a command if the thing on the left of it is true, formated ast/r?com|otrcom: t/r is true/false, com is command, otrcom is other commandnado nothing
cdircurrent directioncnamthe type of this cellimpfunction, imports functions and trigers from a cell/module, usage:$(type <string>)impposfunction, gets a cell at a specified location for acting on, usage:$(x: <number>, y: <number>)poscallfunction, run a function from the main tile sprite, usage:$(fname: <string>, inputs)callnewNeighborfunction, creates a new neighbor with a specific id in a specific location, usage:$(dir: <number|direction|position>, id: <string>)newNeighbor
moveable verticalywhen imported allows the cell to be pushed on the vertical axisrelative moveable verticalywhen imported allows the cell to be pushed up and downmoveable horizontallywhen imported allows the cell to be pushed on the horizontal axisrelative moveable horizontallywhen imported allows the cell to be pushed left and rightmoveable leftwhen imported allows the cell to be pushed leftmoveable rightwhen imported allows the cell to be pushed rightmoveable upwhen imported allows the cell to be pushed upmoveable downwhen imported allows the cell to be pushed downrelative moveable leftwhen imported allows the cell to be pushed leftrelative moveable rightwhen imported allows the cell to be pushed rightrelative moveable upwhen imported allows the cell to be pushed uprelative moveable downwhen imported allows the cell to be pushed downmoveable anywhen imported allows the cell to be pushed in any directionboard manipulationallows the cell to modify the level in any way it wantsrandom numberadds functions for generating random numberssleepadds a function for pausing the execution of code by this cell
move $("relative moveable vertically")imp,tick$=(){u>/u,/u},t:$()tick