Difference between revisions of "STIM WRIT"
(Unsatisfying hack since '#' isn't allowed in page titles) |
ScoobyGambit (talk | contribs) |
||
Line 9: | Line 9: | ||
255 0 is the neuron that will be adjusted and how much by. These numbers mean that no neuron will be stimulated. | 255 0 is the neuron that will be adjusted and how much by. These numbers mean that no neuron will be stimulated. | ||
− | the next 0 is a 'bit record of features'. | + | the next 0 is a 'bit record of features'. By Creatures 2, it was [https://web.archive.org/web/20010713132629/http://cdn.creatures.net/c2/knowledge/caos/c2_caos_macro7.shtm depreciated]. |
the last 8 numbers are the chemicals and amounts of the chemicals that the stimulus injects into your creature. | the last 8 numbers are the chemicals and amounts of the chemicals that the stimulus injects into your creature. |
Revision as of 08:27, 14 May 2016
STIM WRIT is a CAOS command that has been around since C1. It sends a stimulus to a specific creature, usually when the object is activated, hit, or eaten.
In C1, the syntax for it was as follows:
stim writ from 10 255 0 0 35 250 57 50 58 100 44 20
The first number, 10, is to do with the importance of the stimulus. A higher number means the stimulus is more important.
255 0 is the neuron that will be adjusted and how much by. These numbers mean that no neuron will be stimulated.
the next 0 is a 'bit record of features'. By Creatures 2, it was depreciated.
the last 8 numbers are the chemicals and amounts of the chemicals that the stimulus injects into your creature.
In C2, the syntax for using it was as follows:
stim writ from 0 255 0 0 37 150 71 150 73 150 0 0
which translates to stim the from, don't touch the brain, but give 150 units of hunger decrease, 150 units of fatty acid, 150 units of starch, and 0 units of no chemical.
an alternate syntax, most often used in C3/DS, could be
stim writ from 97 1
which in C3/DS translates to "stim the from, let the creature learn from this, and give 1x the chemicals determined by the 'I have played with a toy' stimulus".