Version 1 (modified by xwang, 13 years ago) (diff) |
---|
This command tells the agent to pick up any items that are currently inside of its bounding box. The agent will only pick up items of type IT_QUAGENTITEM.
Parameters:
- This command takes no parameters.
Responds:
- illegal_target TYPE
- where TYPE is the typename that would be returned by a wi on this entity.
- picked up Q TYPE
- where Q is the quantity of the item that was picked up.
- where TYPE is the typename that would be returned by a wi on this entity.
Reports:
- done after attempting to pick up all objects.
- nothing_there if no target (valid or invalid) exists.
- popped if popped by po.
- forgotten if deleted by fa or fm.
- replaced if replaced by a command scheduled with 'r'.
Example:
- User sends: "n pu 512"
- Bot replies "picked up 80 quagent_item_treasure"
- Bot replies "cp pu 512 done"