mud/lib/doc/lfun/all/eventBuy
2020-09-06 05:43:07 -07:00

37 lines
661 B
Plaintext

EVENTBUY
NAME
eventBuy()
SYNOPSIS
LIB_BODY: varargs mixed eventBuy(mixed arg1, mixed arg2, mixed arg3) LIB_VENDOR: mixed eventBuy(object who, object *obs)
DESCRIPTION
In LIB_BODY, this is a function designed to return an error. If the creature is supposed to be able to do something with this function (such as vendors), it should be overridden with the appropriate code. LIB_VENDOR: This is called when someone tries to sell something to the vendor. The seller is who, and the items being sold is *obs.
EXAMPLES
LOCATION
/lib/body
/lib/std/vendor
SEE ALSO
eventSell
Author
Cratylus