Crossfire Server, Trunk
takeitem Namespace Reference

Variables

 inv = character.CheckInventory(itemname)
 
 itemname = args[0]
 DIALOGCHECK MINARGS 1 MAXARGS 2 More...
 
 paid = character.PayAmount(int(quantity))
 
 quantity = int(args[1])
 
 status = CFItemBroker.Item(inv).subtract(int(quantity))
 

Variable Documentation

◆ inv

takeitem.inv = character.CheckInventory(itemname)

Definition at line 31 of file takeitem.py.

◆ itemname

takeitem.itemname = args[0]

DIALOGCHECK MINARGS 1 MAXARGS 2

  • \d+ ENDDIALOGCHECK

Definition at line 19 of file takeitem.py.

◆ paid

takeitem.paid = character.PayAmount(int(quantity))

Definition at line 26 of file takeitem.py.

◆ quantity

int takeitem.quantity = int(args[1])

Definition at line 21 of file takeitem.py.

◆ status