MongooseA text-based world full of questionable inventions.

All help topics · Link to this topic

Showing help on 'container-messages'

Several kinds of messages can be set on a container object; they are printed to various audiences at certain times whenever an attempt is made to use the container. The ones whose names begin with 'o' are always shown prefixed with the name of the player making the attempt and a single space character. The standard pronoun substitutions (with respect to the player) are made on each message before it is printed; see "help pronouns" for details.

The default message is given in brackets after each name below:

@empty[It is empty.]
Printed in place of the contents list when the container is empty.

@open [You open %d.]
Printed to the player who successfully opens the container.

@oopen [opens %d.]
Printed to others in the same room if the player successfully opens the container.

@open_fail [You can't open that.]
Printed to the player who cannot open the container.

@oopen_fail []
Printed to others in the room when a player fails to open a container.

@close [You close %d.]
Printed to the player who closes a container.

@oclose [closes %d.]
Printed to others in the room when a player closes a container.

@put [You put %d in %i.]
Printed to a player when an object is successfully placed in a container.

@oput [puts %d in %i.]
Printed to others in the room when a player successfully places an object in a container.

@put_fail [You can't put %d in that.]
Printed when a player fails to put an object in a container.

@oput_fail []
Printed to others in the room when a player fails to place an object in a container.

@remove [You remove %d from %i.]
Printed when a player succeeds in removing an object from a container.

@oremove [removes %d from %i.]
Printed to others in the room when a player succeeds in removing an object from a container.

@remove_fail [You can't remove that.]
Printed when a player fails to remove an object from a container.

@oremove_fail []
Printed to others in the room when a player fails to remove an object from a container.