30 item = Crossfire.WhoAmI()
31 player = Crossfire.WhoIsActivator()
32 args = Crossfire.ScriptParameters().
split(
' ')
33 if type(player) == Crossfire.Player:
35 currentstep = player.QuestGetState(questname)
38 stagenumber =
int(args[1])
39 currentstep = player.QuestGetState(questname)
41 Crossfire.SetReturnValue(0)
42 elif currentstep >= stagenumber:
44 Crossfire.SetReturnValue(0)
46 if item.Quantity == 1:
47 player.Message(
"You consider dropping the "+ item.Name +
" but then decide it would be better to hold on to it for now.")
49 player.Message(
"You consider dropping the "+ item.NamePl +
" but then decide it would be better to hold on to them for now.")
50 Crossfire.SetReturnValue(1)