24 Crossfire.Log(Crossfire.LogDebug,
"CFDialog: trying to take: %s of item %s from character %s" %(quantity, itemname, character.Name ))
25 if itemname ==
"money":
26 paid = character.PayAmount(
int(quantity))
28 Crossfire.Log(Crossfire.LogError,
"Tried to make player %s pay more than they had" %(character.Name))
30 inv = character.CheckInventory(itemname)
37 Crossfire.Log(Crossfire.LogError,
"Dialog script tried to remove more items than available from player %s" %(character.Name))
41 Crossfire.Log(Crossfire.LogError,
"Dialog script tried to remove non-existant item from player %s" %(character.Name))