die if out of energy

BehaviourComposer: ignore everything before this.
Short sentence that describes this behaviour
Begin micro-behaviour

Die if Out of Energy

Begin NetLogo code:
 do-every 1
[do-if my-energy < 1
[die]]
End NetLogo code

Variants

text

Related behaviours

text

How this works

text

History

text

BehaviourComposer: ignore everything after this.
Comments