Changes between Initial Version and Version 1 of pu


Ignore:
Timestamp:
Jul 5, 2011 3:42:53 PM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pu

    v1 v1  
     1This 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.
     2
     3'''Parameters:'''
     4 * This command takes no parameters.
     5
     6'''Responds:'''
     7 * illegal_target TYPE
     8  * where TYPE is the typename that would be returned by a [[wi]] on this entity.
     9 * picked up Q TYPE
     10  * where Q is the quantity of the item that was picked up.
     11  * where TYPE is the typename that would be returned by a [[wi]] on this entity.
     12
     13'''Reports:'''
     14 * ''done'' after attempting to pick up all objects.
     15 * ''nothing_there'' if no target (valid or invalid) exists.
     16 * ''popped'' if popped by [[po]].
     17 * ''forgotten'' if deleted by [[fa]] or [[fm]].
     18 * ''replaced'' if replaced by a command scheduled with 'r'.
     19
     20'''Example:'''
     21 * User sends: "n pu 512"
     22 * Bot replies "picked up 80 quagent_item_treasure"
     23 * Bot replies "cp pu 512 done"