View Source Kalevala.Event.ItemPickUp (kalevala v0.1.0)
Events to pick up item in a room
In order to pick up an item, send an ItemPickUp.Request
event with the
item name. The room will try to find the matching item(s) based on the
matches?/2
callback on the item after loading them from instances in
the room.
After finding a matching item, the item_request_pickup
callback is
called on the room module.
Depending on the response, an Abort
or Commit
event will be sent.