Welcome to the Creatures Wiki! Log in and join the community.

GENE LOAD

From Creatures Wiki
Jump to navigation Jump to search
GENE LOAD
This article is about a CAOS command or function.
Category Creatures
Version CV/C3/DS
Command
Parameters
Function
Parameters agent (agent) slot (integer) genefile (string)
Return type [[CAOS types|]]
Related
CAOS GENE MOVE, GENE CLON, GENE CROS, GENE KILL
Concepts Genetics

GENE LOAD is a CAOS command that loads a genetics file into a gene slot of an agent.

Usage[edit]

Syntax: GENE LOAD agent(agent) slot(integer) genefile(string)

Standalone command.

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.

Examples[edit]

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*"