Bots and Simulations > Veggies

The Social Vegtable (Veg)(Tragos)-03.10.04

(1/1)

Jez:
'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

scood:
what does it do?

Jez:
Looks like it's meant to be a veg that shares its energy with other veg via ties.

gymsum:
Well it sets some tie values before ties harden, that could make the ties break.

Navigation

[0] Message Index

Go to full version