[Main page] [Overview]     /module /usable /perform_use

SYNOPSIS
status perform_use( string type, object ob)

FILE
/std/modules/usable.c

DESCRIPTION
Function called by the verbs if this object is to
be used by the player. If type is not specified, a general
"use" was tried, if it's set it could have been a more
specific verb. Currently supported verbs are:
push, pull, rub, press
Please note that a "use" should give some sort of hint
if nothing happens, but something would happen if the
user tried a different verb. You are not supposed to give
out the verb, but inform the player that the object actually
might be useful in some other way.

If ob is set it the player attempted to use this object
together with ob. ("use a with b")
This function should return true if something useful
happens