Changes between Version 1 and Version 2 of pd


Ignore:
Timestamp:
Jul 13, 2011 4:45:01 PM (13 years ago)
Author:
xwang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pd

    v1 v2  
    44 * 1: int item, the item to put down.
    55  * 0 = treasure
    6   * 1 = map
    7   * 2 = apple
    8   * 3 = money
    9   * 4 = food
     6  * 1 = gold
    107 * 2: int quantity, how much of the item to put down. If the quantity is greater than the current amount in the inventory, the quantity is rounded down to the current amount.
    118
    129'''Reports:'''
    1310 * ''done'' when the task is complete.
    14  * ''invalid_item'' if the first argument is not 0-4.
     11 * ''invalid_item'' if the first argument is not 0-1.
    1512 * ''none_in_inventory'' if the agent does not have any of the specified item.
    1613 * ''invalid_quantity'' if the second argument is not positive.