CAOS Language Guide

Values for LCUS

Receptor Loci ( type = 0)

"Organ"

Tissue

Locus ID

Description

The use of the term "Organ" is confusing - here it is used to determine between brain and body, and has nothing to do with organs defined in the genome.

The loci for genetically defined organs are not accessible through the LCUS command

0 Brain

Use lobe number

0 LOCUS_THRESHOLD

Cell threshold



1 LOCUS_LEAKAGE

Cell leakage rate



2 LOCUS_RESTSTATE

Cell rest state



3 LOCUS_RELAXSUS0

Dentype 0 susceptibility decay rate



4 LOCUS_RELAXSTW0

Dentype 0 Short-term synapse decay rate



5 LOCUS_LTWRATE0

Dentype 0 synaptic consolidation rate



6 LOCUS_GAINSTRENGTH0

Dentype 0 linear strength gain rate



7 LOCUS_LOSESTRENGTH0

Dentype 0 linear strength loss rate



8 LOCUS_RELAXSUS1

Dentype 1 susceptibility decay rate



9 LOCUS_RELAXSTW1

Dentype 1 Short-term synapse decay rate



10 LOCUS_LTWRATE1

Dentype 1 synaptic consolidation rate



11 LOCUS_GAINSTRENGTH1

Dentype 1 linear strength gain rate



12 LOCUS_LOSESTRENGTH1

Dentype 1 linear strength loss rate



13 LOCUS_CHEM0

General-purpose loci for use by svrules.



14 LOCUS_CHEM1




15 LOCUS_CHEM2




16 LOCUS_CHEM3




17 LOCUS_CHEM4




18 LOCUS_CHEM5




19 LOCUS_STATE0

State of first cell in lobe - other cells follow on.

I.e. LOCUS_STATE0 + cellnum

1 Creature

0 Somatic

0 LOC_AGE0

If on and currently AGE_BABY then become AGE_CHILD.



1 LOC_AGE1

If on and currently AGE_CHILD, become AGE_ADOLESCENT



2 LOC_AGE2




3 LOC_AGE3




4 LOC_AGE4




5 LOC_AGE5

AGE_ADULT -> AGE_SENILE



6 LOC_AGE6

If on, die immediately of old age.


1 Circulatory

0 LOC_FLOATING0

General purpose emitter and receptor loci for doing more complex chemical regulation.



1 LOC_FLOATING1




2 LOC_FLOATING2




3 LOC_FLOATING3




4 LOC_FLOATING4




5 LOC_FLOATING5




6 LOC_FLOATING6




7 LOC_FLOATING7



2 Reproductive

0 LOC_OVULATE

If low, remove any egg/sperm from gamete; if high add one.



1 LOC_RECEPTIVE

If >0, female is receptive to incoming sperm and will conceive.



2 LOC_CHANCEOFMUTATION




3 LOC_DEGREEOFMUTATION



3 Immune

0 LOC_DIE

If on, creature dies (ill health, poison, starvation…)


4 Sensorimotor

0 LOC_INVOLUNTARY0

Trigger involuntary actions (fits, flinches etc)



….




7 LOC_INVOLUNTARY7




8 LOC_GAIT0

Trigger various walking gaits (0=default, usually no need for a receptor here).






24 LOC_GAIT16



5 Drives

0 LOC_DRIVE0

Drive levels (both receptors and emitters)






16 LOC_DRIVE16



Emitter loci (type = 1)

‘Organ’

Tissue

Locus ID

Description

0 Brain

Use lobe number

0 LOCUS_ACTIVITY

Current amount of cell activity in lobe (# cells firing)



1 LOCUS_NUMLOOSE0

Number of loose dens/cell in lobe (type 0 dens)



2 LOCUS_NUMLOOSE1

Ditto for type 1 dens



3 LOCUS_OUTPUT0

Output for first cell in lobe.

Get other cells in lobe using LOCUS_OUTPUT0 + cellnumber as an ID



4

Other cell outputs follow on from here - one locus per cell.


1 Creature

0 Somatic

0 LOC_MUSCLES

How much energy has been expanded on movement this tick






1 Circulatory

0 LOC_FLOATING0

General purpose emitter and receptor loci for doing more complex chemical regulation.



1 LOC_FLOATING1




2 LOC_FLOATING2




3 LOC_FLOATING3




4 LOC_FLOATING4




5 LOC_FLOATING5




6 LOC_FLOATING6




7 LOC_FLOATING7



2 Reproductive

0 LOC_FERTILE

255 if a male has sperm or a female has an egg available



1 LOC_PREGNANT

255 if female has both egg and sperm so is pregnant


3 Immune

0 LOC_DEAD

>0 if creature is dead (allows post-mortem chemistry)


4 Sensorimotor

0 LOC_CONST

Constant 255 (for regular emitters)



1 LOC_ASLEEP

255 if asleep, else 0



2 LOC_COLDNESS

How far air temp is below blood temp



3 LOC_HOTNESS

How far air temp is above blood temp



4 LOC_LIGHTLEVEL

How bright the sky is (eg control sleepiness)



5 LOC_CROWDEDNESS

How many and how close others of your kind are.



6 LOC_RADIATION




7 LOC_TIMEOFDAY




8 LOC_SEASON




9 LOC_AIRQUALITY




10 LOC_UPSLOPE

How steep is the slope I'm facing?



11 LOC_DOWNSLOPE




12 LOC_HEADWIND

Speed of wind coming toward me.



13 LOC_TAILWIND

Speed of wind coming from behind me.


5 Drives

0 LOC_DRIVE0

Drive levels (both receptors and emitters)






16 LOC_DRIVE16




Creatures 2 CAOS Language Guide

Introduction

Macro Commands

Reference