%itemClearType()

Aliases%itemClearType( )
Parametersobject @entity, string @type

    Attempts to clear the given object @type from the object @entity. Once
this is done the associated fields for that object type become invalid
and the item ceases to be usable for that kind of object. The following
are the possible values for the @type parameter:

affect key scroll
armor light staff
armour missile tome
artifact money trap
boat note trash
container other treasure
corpse pen wand
drink potion weapon
food resource worn
gold rod

Example:
--------------------------------------------------------------------------

%itemClearType( @obj, wand )