4
« on: April 10, 2005, 05:25:53 PM »
I made a plant, wich I'll include bellow.
It is supposed to reproduce at 4500 energy.
I have never seen it reproduce.
Usually it gets really big, and reaches 32000 energy then sits there and does nothing.
'Poison Ivy
'
'A plant that fights back.
'Poison and slime prevent
'others from feeding on it.
'It will reach out and grab
'a bot as it passes, then
'suck it dry of waste and
'energy.
'rotate away from conspecifics
cond
*.eye5 < 50
*.refeye *.myeye =
start
328 .aimdx store
stop
'grab prey
cond
*.eye5 40 <
*.refeye *.myeye !=
*.numties 1 <
start
1 .tie store
stop
'take energy and waste
cond
*.multi 1 =
start
99 .sharewaste store
99 .sharenrg store
stop
'reproduce
cond
*.nrg 4500 >
start
50 *.repro store
stop
'make slime
cond
*.nrg 4500 >
*.slime 60 <
start
20 .mkslime store
stop
'make poison
cond
*.nrg 4500 >
*.poison 100 <
start
20 .strpoison store
7 .ploc store
stop