ldesc
ldesc <string>
Set the owner's long description.
The long description is the line shown when the owner is seen in a room —
for a mobile, the sentence describing it standing there; for an object, the
line shown where it lies. ldesc replaces that text for this instance
only; the prototype and other copies are unchanged.
Arguments
<string>— the new long description. Build dynamic text with interpolation, e.g."$actor's gift rests here."
Returns
null. Like the other action commands, a
successful ldesc in the handle phase suppresses the event's default
action.
Owner
The owner must be a mobile or an object. For a room owner the command does nothing.
Examples
after command (say) {
ldesc "Puff the dragon dozes here, wreathed in pipe smoke."
}
When the owner is a mob, this changes the line others see where the mob stands.
When the owner is an object, the same call changes the line shown where the object rests — handy for making an item reflect its state:
after command (get) {
ldesc "A faint outline marks where something once lay."
}
See also
name— read an entity's display name.echo,emit— send one-off messages instead of changing the standing description.- Strings and interpolation · Handlers, events, and phases