Bots and Simulations > DNA - General

.sexrepro

(1/1)

Testlund:
I'm not clear on how ".fertilized" and ".sexrepro" works together. I suppose this is wrong:

cond
 *.fertilized ? Uuh
start
 50 .sexrepro store
 2 .gender store
stop

I understand that ".fertilized" is a sort of timer. Does that mean ".sexrepro" is executed automatically when the timer reaches 0?

Testlund:
Looks like it does.  :happy:

Soon after a bot has been hit by a -8 shot it will reproduce automatically if it has this gene:

start
 50 .sexrepro store
 2 .gender store
stop

No "cond" required.

Shadowgod2:
it is a timer but you have to sexrepro before it reaches 0

Navigation

[0] Message Index

Go to full version