|
|
|
|
|
%getObjTypeId()
Aliases | %objType( ), %objectType( ), %getObjTypeId( ), %getObjectTypeId( ) |
---|
Parameters | object @entity |
---|
|
Returns the ID of ther type of the given object. The entity may be an object pointer or a keyword for an object. The ID returned will correspond to one of the following object types:
1 - light 12 - other 2 - scroll 13 - trash 3 - wand 14 - trap 4 - staff 15 - container 5 - weapon 16 - note 6 - rod 17 - drink 7 - missile 18 - key 8 - treasure 19 - food 9 - armor 20 - money 10 - potion 21 - pen 11 - worn 22 - boat |
|
|
|
|
|
|
|