Turtle and Observer Command

setfood-at xcor ycor anything

Sets the variable food of the patch at xcor ycor relative to the caller to anything.

Example:

setfood-at 1 1 5 sets the variable food of the patch one unit to the right and one unit above the caller to the number 5.

Related commands: