Turtle and Observer Command

setfood-towards angle distance anything

Sets the variable food of the patch distance away at angle angle relative to the caller to anything.

Example:

setfood-towards 0 1 5 sets the variable food of the patch one unit directly in front of the caller to 5.

Related commands: