EXTRA_LOOK(L) NAME extra_look - Give a description for a player carrying an object SYNOPSIS string extra_look(); LOCATION Possible in any object a player might carry. DESCRIPTION The local function extra_look is used in objects carried by players to give them an extra description above their inventory listing when they are examined or looked at. NOTES A ".\n" is automatically appended to the return value. Remember that this_player() will return the person doing the examining, and environment() will return the person who is being examined (or looked at). Can be used for guild descriptions, diseases and curses, and simple "description" makers. The descriptions are only added to players, not npc's. EXAMPLES string extra_look() { return environment()->query_name() + " is a member of the Guild of Platypuses"; } or, my favorite for making players paranoid, string extra_look() { return environment()->query_name() + " is watching " + this_player()->query_name() + " carefully"; } SEE ALSO query_auto_load(L), short(L), long(L)
Help topics available:
You are guest number 70 since January 2020.
This file was last modified: June 2000.