Main Connecting Starting



Building: Objects

Commonly used properties

shorta single noun
namea noun phrase. must start with an indefinite article if appropriate. avoid "some", have "a pair of" or whatever else is appropriate. if 'short' occurs in it, this should be shown in ^oobject-colour^n.
name.[0-9]A state-sensitive version of name. Will only be used if the objects state is so, make sure you set a default 'name' also.
Plural flagthis should be set if the object is grammatically plural. For example, "a pair of scissors".
name.pluralSometimes the auto-pluraliser gets things wrong. This property can be set to a plural version of the name if so. You should leave off the article/number.
longa long noun phrase. This is shown in 'look' and 'list', where space is not at as much of a premium.
long.pluralplural version of above.
short_descappears in 'look' in preference to name and long. Not used in any other context. You can have a sentence here if you like.
short_desc.[0-9]A state-sensitive version of the above. Will only be used if the objects state is so.
desc.fromGet all the descriptive text for this object from the object referenced in desc.from. If states description attributes exist on the desc.from object, the source object's state will be used to choose which one is shown.
desc.externalDescriptive text seen by someone outside the object examining it. Standard attribute set when using desc on objects or mobiles.
desc.internalDescriptive text seen by someone inside the object looking. Standard attribute set when using desc on rooms.
desc.[0-9].internal
desc.[0-9].external
State sensitive versions of the above. Will only be used if the objects state is so.
Stated flagAre you using state on an object? Is it open=1, locked=2? No? Well, set Stated on it, to avoid embarassing incidents.
initstateInitial state of an object - that it will start off at, and is reset to. Defaults to 0.
zoneThe zone an object is associated with. This is what it will reset with and will save with. This can be different from the zone the object is physically contained within.
massthe mass of the object in grams
ovolumethe volume the object takes up in millilitres
costhow much an object will cost in a shop
onprepPreposition used in place of 'on' in phrases like 'You are standing on the floor'.
format.possessableIf set to 0, actions targetted at dragged/mounted/sat-upon objects won't decorate the object's name with the possessor's
Danger flagDangerous objects cannot be given to mortals or mobiles, and mobiles won't pick them up.

Object discovery

discoverWhen the object is examined, the object referenced here will be moved to the examiner's location.
discover.%iAs above, but allows a number of objects to be moved simultaneously.
discover.countDefines the number of objects listed in the discover array.
disc.%iLike discover.%i, only the objects are cloned at the examiner's location, not moved.
disc.%i.countDefines the number of clones to make for each entry in the disc array. Defaults to 1 if omitted.
disc.countDefines the number of entries listed in the disc array.

The discovery stuff only happens once; the first time an object is examined after a reset.
%i refers to an integer number, greater than or equal to zero. Array.%i attributes should start at array.0

See also Clothing, Consumables, Liquids, Weapons

Containers

CONTAINERYou can put stuff in your object now! And take it out again!
volume the capacity of the container (mils)
maxload the maximum mass the container can hold (grams)
contains This is a new (and as yet unused one). Say you have an egg carton. You want it to only be able to contain eggs, and 6 of them. How? Simply set volume and maxload to 6 * the egg's ovolume and mass. And then set 'contains' to example_egg_1. Then only example_egg_1 or things with a treatas set to it will be able to go in your egg carton.
container.locationFor a worn container that covers multiple bodyparts (eg. arms and legs for a poacher's jacket) defines which area has the contents (eg. just the body). Important when wearing things on top of the container that might restrict access.