Zerobot Veggies

From WikiManual
Revision as of 21:09, 14 February 2014 by PhiNotPi (talk | contribs) (Fixed typos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

'Feeder/Repro'er Veggie, both feeds and reproduces animals
cond
start
' veggie sends out either free food shot or causes bot to reproduce
-2 302 1 rnd rnd rnd rnd rnd rnd mult add .shoot store
' nrg veggie is feeding bot, or percentage of nrg for bot to split with offspring
50 .shootval store
' randomized turning to distribute food fairly
314 rnd .aimdx store
stop

'Feeder Veggie, Energy Only
cond
start
' veggie sends out either free food shot or causes bot to reproduce
-2 .shoot store
' nrg veggie is feeding bot, or percentage of nrg for bot to split with offspring
50 .shootval store
' randomized turning to distribute food fairly
314 rnd .aimdx store
stop