Welcome to the Creatures Wiki! Log in and join the community.
Difference between revisions of "CATO"
Jump to navigation
Jump to search
ScoobyGambit (talk | contribs) |
ScoobyGambit (talk | contribs) m |
||
Line 1: | Line 1: | ||
'''CATO''' is a [[CAOS]] command that changes an object's [[classifier]] without changing its [[genus]]. | '''CATO''' is a [[CAOS]] command that changes an object's [[classifier]] without changing its [[genus]]. | ||
− | By default it is at -1, so classifier is based on genus. | + | By default it is at -1, so classifier is based on genus. The numbers 1-25 can be used to change the category of item to any item between 'hand' and 'potion' in the [[Classification_system#Creatures_3.2FDocking_Station_genus_numbers|C3/DS genus numbers]]. |
==Usage== | ==Usage== | ||
Line 18: | Line 18: | ||
mvto 2612 9135 | mvto 2612 9135 | ||
</pre> | </pre> | ||
+ | |||
+ | From [[Food that turns into edible detritus when eaten]]: | ||
+ | |||
+ | <pre> | ||
+ | scrp 2 11 5000 12 | ||
+ | inst | ||
+ | doif pose eq 0 | ||
+ | stim writ from 79 1 | ||
+ | pose 1 | ||
+ | cato 10 | ||
+ | emit 8 0 | ||
+ | targ from | ||
+ | drop | ||
+ | else | ||
+ | stim writ from 81 1 | ||
+ | kill ownr | ||
+ | endi | ||
+ | endm</pre> | ||
==See also== | ==See also== |
Revision as of 06:30, 30 March 2021
CATO is a CAOS command that changes an object's classifier without changing its genus. By default it is at -1, so classifier is based on genus. The numbers 1-25 can be used to change the category of item to any item between 'hand' and 'potion' in the C3/DS genus numbers.
Contents
Usage
Syntax: CATO category(integer)
CATO is used when an agent needs to change it's classifier without having to create an entirely new agent.
Example
CATO is used in Vampess's Capillata Umbilical Fix to change the umbilical to a door without changing its' original genus:
** CU (DS Side) new: comp 3 1 5 "capillata umbilical" 2 18 5000 ** Can be activated by the hand, but is invisible to creatures. attr 4 bhvr 1 cato 2 mvto 2612 9135
From Food that turns into edible detritus when eaten:
scrp 2 11 5000 12 inst doif pose eq 0 stim writ from 79 1 pose 1 cato 10 emit 8 0 targ from drop else stim writ from 81 1 kill ownr endi endm
See also
External links
- How to make a fruit that rots etc? C3/DS - has some discussion of how to use CATO in fruit/detritus, giving the correct stimuli for each genus.