EMIT

EMIT is a CAOS command that causes an object to smell. Most often used upon the creation of an object - however, if an object is initially invisible and inedible (like the apples are when growing), it may be included in the pick up script instead.

Description
EMIT (command) ca_index (integer) amount (float)

Target now constantly emits an amount of a CA into the room it is in.

Examples
Example of using EMIT in the pickup script:

scrp 2 8 1000 4 lock doif ov00 eq 0 emit 6 0.5 setv ov00 1 endi doif attr eq 67 attr 195 endi perm 60 endm
 * This is the fruit pickup script
 * If it hasn't been picked up before
 * make it smell
 * tell the fruit it has been picked up
 * end the not-picked-up doif


 * Guide to Making Seasonal CA by Liam.