Darwinbots Forum
Bots and Simulations => Bestiary => Veggies => Topic started by: Jez on February 02, 2007, 05:27:44 PM
-
'Topic: Vegetable Bot
'Tragos (posted as guest)
'The social vegetable
'reproduction
'replicate
cond
*.nrg 1000 >
*.eye5 30 <
*.numties 4 <
start
80 .repro store
stop
'spore formation
cond
*.nrg 5000 >
*.eye5 30 <
*.numties 3 >
start
1 .mrepro store
stop
‘tie to parent
cond
*.robage 10 =
start
.tie inc
100 .tielen store
378 .fixang store
stop
'moving to make more bots
cond
*.nrg 1000 >
*20 100 <
start
300 .aimdx store
20 inc
stop
cond
*.numties 0 !=
start
.sharenrg inc
stop
cond
*.numties 4 <
*.nrg 100 <
start
.tie inc
stop
cond
*.numties 0 >
start
.sharewaste inc
stop
end
-
what does it do?
-
Looks like it's meant to be a veg that shares its energy with other veg via ties.
-
Well it sets some tie values before ties harden, that could make the ties break.