Welcome To Darwinbots > Newbie
Best thing ever
southpointingchariot:
For the last time I will thank you for your excellent and generous help.
I'm having trouble getting my plants to reproduce. I built a vegetable that will run away slowly:
--- Code: ---' Rolling Moss
' by: southpointingchariot
' Vegetable
'
' A scared plant
cond
*.nrg
6000
>
start
50
.repro
store
15
.aimdx
store
stop
' Gene 1 Food Finder
cond
*.eye5 0 >
start
*.refveldx .dx store
*.refvelup -5 add .up store
stop
' Gene 3 Avoiding Family
cond
*.eye5 0 =
start
314 rnd .aimdx store
stop
' Gene 4 Reproduce
cond
*.nrg 1000 >
start
10 .repro store
stop
end
--- End code ---
But often bots with 32000 will just sit there and not reproduce. What can I do to fix this?
Numsgil:
Can you tell if there's anything in front of the veggy? That's the most common cause of a bot not being able to reproduce.
Tilthanseco:
--- Quote ---' Gene 4 Reproduce
cond
*.nrg 1000 >
start
10 .repro store
stop
end
--- End quote ---
FYI You have two reproduce genes, the first needs 6000 nrg but the second only needs 1000, so the first will not turn on.
The first turns the bot to make sure it has room.
I agree with Nums, there probably are bots in the way.
You could have it turn it the gene you want to use. Most likely the second repro gene.
Edit: Your moss is very interesting to watch, it forms little clumps that run away/follow at a distance predators.
southpointingchariot:
I seemed to have fixed my earlier problem - I had to deactive the veggy repopulation effect. I'm now working on:
1. Telling the Taxxons not to eat their parents or children.
2. Introducing sexual reproduction.
3. Maximizing adaptation.
southpointingchariot:
--- Quote from: Tilthanseco on June 28, 2012, 06:07:28 PM --- FYI You have two reproduce genes, the first needs 6000 nrg but the second only needs 1000, so the first will not turn on.
The first turns the bot to make sure it has room.
--- End quote ---
Yeah, I just stole a couple methods and forgot to take one out.
--- Quote ---Edit: Your moss is very interesting to watch, it forms little clumps that run away/follow at a distance predators.
--- End quote ---
Thanks :). I think it makes the process a good bit more interesting.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version