Changes between Initial Version and Version 1 of dr


Ignore:
Timestamp:
Aug 1, 2011 11:18:28 AM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dr

    v1 v1  
     1This command drops a quagent item into the map.
     2
     3'''Parameters:'''
     4 * 1: int item - the item to be dropped
     5  * 0 = "quagent_item_treasure"
     6  * 1 = "quagent_item_gold"
     7 * 2: int quantity - the quantity of the item
     8 * 3: float x - x coordinate of drop location
     9 * 4: float y - y coordinate of drop location
     10 * 5: float z - z coordinate of drop location
     11
     12'''Reports:'''
     13 * ''done'' when the task completes.
     14 * ''invalid_item'' if item is not 0 or 1
     15 * ''invalid_quantity'' if quantity is less than 1
     16
     17'''Example:'''
     18 * User sends: "dr 512 1 50 -350 -350 -32"
     19 * Director replies: "cp dr 512 done"