wiki:pd

This command tells the agent to put down the specified quantity of an item.

Parameters:

  • 1: int item, the item to put down.
    • 0 = treasure
    • 1 = gold
  • 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.

Reports:

  • done when the task is complete.
  • invalid_item if the first argument is not 0-1.
  • none_in_inventory if the agent does not have any of the specified item.
  • invalid_quantity if the second argument is not positive.
  • 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 pd 512 0 20"
  • Bot replies "cp pd 512 done"
  • Bot drops 20 treasure.
Last modified 13 years ago Last modified on Jul 13, 2011 4:45:01 PM