Welcome to the Creatures Wiki! Log in and join the community.
CACL
Jump to navigation
Jump to search
CACL is a CAOS command used to connect a noun to a cellular automata number in creature's brains.
Usage[edit]
Syntax: CACL family(integer) genus(integer) species(integer) ca_index(integer)
The noun to alter is selected by classifier (the mapping from classifiers to nouns being selected by CATI).
This associates the noun to the CA index specified, which has effects on commands such as APPR. This information is stored as part of the current world.
Note this does not cause objects to EMIT the CA index - it's effects are on the smel lobe and the
Example[edit]
The file z_DS agent smells.cos sets up the default mapping of CA numbers to genera:
*Protein smell 6: cacl 2 8 0 6 *Carb smell 7: cacl 2 3 0 7 *Fat smell 8 cacl 2 11 0 8 *Machinery smell 10 cacl 3 3 0 10 *Gadgets smell 18 cacl 3 8 0 18 *Eggs smell 11 cacl 3 4 1 11 *Creature smells cacl 4 1 0 12 cacl 4 2 0 13 cacl 4 3 0 14 *Home smells cacl 3 5 0 15 cacl 3 6 0 16 cacl 3 7 0 17