Darwinbots Forum

Bots and Simulations => Bestiary => Veggies => Topic started by: Jez on February 02, 2007, 05:27:44 PM

Title: The Social Vegtable (Veg)(Tragos)-03.10.04
Post 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
Title: The Social Vegtable (Veg)(Tragos)-03.10.04
Post by: scood on February 11, 2007, 11:49:04 PM
what does it do?
Title: The Social Vegtable (Veg)(Tragos)-03.10.04
Post by: Jez on February 12, 2007, 04:59:04 PM
Looks like it's meant to be a veg that shares its energy with other veg via ties.
Title: The Social Vegtable (Veg)(Tragos)-03.10.04
Post by: gymsum on May 10, 2008, 01:39:12 AM
Well it sets some tie values before ties harden, that could make the ties break.