Code center > Bugs and fixes
Children Are Immune to Parent's Shots
Endy:
There seems to be a limit in DB's code preventing the child from being affected by a parent's shots for 10 cy. Got annoyed after my bots lost their firing restriction coding and went looking for answers.
Endy B)
Numsgil:
Yes, that is a recent change, and is mostly there to prevent a parent from injuring a child if it reproduces while firing a continuous stream of shots.
PurpleYouko:
I didn't know about that one Num.
Is that a good idea? :(
If the robot is firing a continuous stream of shots and it kills its offspring then surely that is one of the consequences of bad genes.
It should be selected against by evolution rather than artificially minimized by the program.
Sprotiel:
--- Quote ---Yes, that is a recent change, and is mostly there to prevent a parent from injuring a child if it reproduces while firing a continuous stream of shots.
--- End quote ---
IMHO, this is wrong. A bot that shoots its child deserves to get extinct.
Endy:
I personally am not that much offended by the code, since the bots don't normally acheive much distance after birth, the continual shooter would still wind up hurting it's offspring.
Mainly it was just interesting that the code preventing both child and parent from firing at refage/robage 0 = was bypased. Presumably this allowed child to essentially feed from it's parent, and the parent to hunt other bot's offspring.
Your call either way.
I'm not sure how much the bots need tons of speed. For the most part they select for slowness since higher speed makes hunting more difficult and involves more nrg. I had one sim that the evolved alot of Motionless bots then a fast Canni group wiped them out, only to evolve into a slower moving Canni later.
As long as all the vegs are eaten(or moved about) the bots just have to wait until they repop near them. All the nrg can then be devoted to reproduction.
Endy B)
Navigation
[0] Message Index
[#] Next page
Go to full version