Difference between revisions of "Reproducing"
m (→Sysvars: red link del) |
m (→Mutational) |
||
Line 20: | Line 20: | ||
==Mutational== | ==Mutational== | ||
− | + | Virtually identical to normal reproduction is .mrepro, the primary difference is that mutation rates are 10 times the normal values. This reproduction method will cause mutations even if all mutation settings are disabled. | |
+ | |||
=== Sysvars === | === Sysvars === |
Revision as of 17:42, 26 December 2005
Reproducing
In darwinbots there are 3 ways of reproduction. Mitoses, Sexual and Mutational.
Mitoses
This way of reproduction is very simple. The bot reproduce and copies its DNA entirely. This action is performed with the command .repro. The number before tells what percent of your energy is being transfered into the child. Reproduction takes a single cycle, after which a new bot is produced directly in front of you (ie: eye5) and facing you.
(not so sure about this one, it's been a while since I looked --Numsgil 13:20, 18 Sep 2005 (MST)) refvars take another cycle to register for a newly formed baby. Thus, all bots of age 0 read 0 for refeye, refnrg, refbody, etc.
Sexual
This way of reproduction is more complicated, and is generally less supported in new updates, making it potentially buggy. It takes the DNA of a random bot around it and mixes it with its own to create a new bot. This action is performed with the command .sexrepro
2.4 notice
I have no idea what a sexrepro command will do in 2.4 since the DNA is less formally organized. (--Numsgil 13:24, 18 Sep 2005 (MST))
So I have disabled it in later versions. I'll reimplement it as a form of Horizontal gene transfer later after 2.4 is stable. --Numsgil 08:30, 25 Oct 2005 (MST)
Mutational
Virtually identical to normal reproduction is .mrepro, the primary difference is that mutation rates are 10 times the normal values. This reproduction method will cause mutations even if all mutation settings are disabled.