|This article is about a CAOS command or function.|
|Parameters||agent (agent) slot (integer) genefile (string)|
|Return type||[[CAOS types|]]|
|CAOS||GENE MOVE, GENE CLON, GENE CROS, GENE KILL|
GENE LOAD is a CAOS command that loads a genetics file into a gene slot of an agent.
Syntax: GENE LOAD agent(agent) slot(integer) genefile(string)
Loads a genetics file referred to by genefile into gene slot slot of agent. This also generates a moniker for the gene slot.
In terms of life history, the creature is considered to be engineered (where GENE CLON would imply it was cloned, and GENE CROS implies it was spliced)
The genefile string does not include the .gen extension, and may have wildcards such as * or ? - if multiple genetics files exist, a random one is chosen.
GENE LOAD is used by the two Norn egg layer.cos scripts (Muco and the Incubator agent) to load the genetics for their eggs.
The wildcard functionality of GENE LOAD is used to find random genetics for Grendel and Ettin eggs in Creatures 3's Grendel and Ettin egg maker.cos (The Grendel Mother and Ettin Mother).
GENE LOAD can also be used to change the genome of an egg if applied early enough.
GENE LOAD HOTS 1 "g*"