Author Topic: plants  (Read 3429 times)

Offline 2122

  • Bot Neophyte
  • *
  • Posts: 16
    • View Profile
plants
« 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

Offline Shen

  • Bot Destroyer
  • ***
  • Posts: 111
    • View Profile
plants
« Reply #1 on: April 10, 2005, 05:49:04 PM »
You have a typo in the repro gene.  You have 50 *.repro store when you should have 50 .repro store without the *

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
plants
« Reply #2 on: April 10, 2005, 06:24:43 PM »
You should also upload the DNA file to the beastiary. Easier to keep track of all the robots that way.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline 2122

  • Bot Neophyte
  • *
  • Posts: 16
    • View Profile
plants
« Reply #3 on: April 10, 2005, 09:26:46 PM »
Okay I'll upload it.
Thanks for the tip shen.