Difference between revisions of "Zerobot Veggies"

From WikiManual
Jump to: navigation, search
m (added plant dnas)
 
m (Fixed typos)
 
Line 5: Line 5:
 
  ' veggie sends out either free food shot or causes bot to reproduce
 
  ' 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
 
  -2 302 1 rnd rnd rnd rnd rnd rnd mult add .shoot store
  ' nrg veggie is feeding bot, or precentage of nrg for bot to split with offspring
+
  ' nrg veggie is feeding bot, or percentage of nrg for bot to split with offspring
 
  50 .shootval store
 
  50 .shootval store
 
  ' randomized turning to distribute food fairly
 
  ' randomized turning to distribute food fairly
Line 18: Line 18:
 
  ' veggie sends out either free food shot or causes bot to reproduce
 
  ' veggie sends out either free food shot or causes bot to reproduce
 
  -2 .shoot store
 
  -2 .shoot store
  ' nrg veggie is feeding bot, or precentage of nrg for bot to split with offspring
+
  ' nrg veggie is feeding bot, or percentage of nrg for bot to split with offspring
 
  50 .shootval store
 
  50 .shootval store
 
  ' randomized turning to distribute food fairly
 
  ' randomized turning to distribute food fairly

Latest revision as of 21:09, 14 February 2014

'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