blob: c0ffd328f43a5dc990413605324e84145f4b90b4 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra7ea4a032019-11-26 20:11:40 +01002 int id(string str)
MG Mud User88f12472016-06-24 23:31:02 +02003
4DESCRIPTION
5 Let the object identify itself. If str matches an id of the
Zesstra7ea4a032019-11-26 20:11:40 +01006 current object then return a non-zero value.
MG Mud User88f12472016-06-24 23:31:02 +02007
8 This lfun is applied for the efun present().
9
10EXAMPLE
11 int id(string str) {
12 return "sword" == str || "sword of fire" == str;
13 }
14
15SEE ALSO
16 present(E)