habe da ein prob mit dieser quest:
PHP Code:
quest fischer_event begin
state start begin
when login with game.get_event_flag("fisher") == 1 begin
notice("Das Fischer Event hat Begonnen ihr könnt")
notice("nun beim Fischer lebende Fische abgeben.")
notice("Ihr erhaltet tolle Überraschungen!")
notice("Viel Spaß wünscht euch das Team.")
end
when 9009.chat."Die Fischzucht" with game.get_event_flag("fisher") == 1 begin
local anzahl_27803 = pc.count_item(27803)
local anzahl_27804 = pc.count_item(27804)
local anzahl_27805 = pc.count_item(27805)
local anzahl_27806 = pc.count_item(27806)
local anzahl_27807 = pc.count_item(27807)
local anzahl_27808 = pc.count_item(27808)
local anzahl_27809 = pc.count_item(27809)
local anzahl_27810 = pc.count_item(27810)
local anzahl_27811 = pc.count_item(27811)
local anzahl_27812 = pc.count_item(27812)
local anzahl_27813 = pc.count_item(27813)
local anzahl_27814 = pc.count_item(27814)
local anzahl_27815 = pc.count_item(27815)
local anzahl_27816 = pc.count_item(27816)
local anzahl_27817 = pc.count_item(27817)
local anzahl_27818 = pc.count_item(27818)
local anzahl_27819 = pc.count_item(27819)
local anzahl_27820 = pc.count_item(27820)
local anzahl_27821 = pc.count_item(27821)
local anzahl_27822 = pc.count_item(27822)
local anzahl_27823 = pc.count_item(27823)
local anzahl_fishs = anzahl_27803 + anzahl_27804 + anzahl_27805 + anzahl_27806 + anzahl_27807 + anzahl_27808 + anzahl_27809 + anzahl_27810 + anzahl_27811 + anzahl_27812 + anzahl_27813 + anzahl_27814 + anzahl_27815 + anzahl_27816 + anzahl_27817 + anzahl_27818 + anzahl_27819 + anzahl_27820 + anzahl_27821 + anzahl_27822 + anzahl_27823
if anzahl_fishs == 0 then
say_title(""..mob_name(9009).."")
say("")
say("Du hast keine Fische bei dir.")
return
end
if anzahl_fishs == 1 then
pc.remove_item(27803, anzahl_27803)
pc.remove_item(27804, anzahl_27804)
pc.remove_item(27805, anzahl_27805)
pc.remove_item(27806, anzahl_27806)
pc.remove_item(27807, anzahl_27807)
pc.remove_item(27808, anzahl_27808)
pc.remove_item(27809, anzahl_27809)
pc.remove_item(27810, anzahl_27810)
pc.remove_item(27811, anzahl_27811)
pc.remove_item(27812, anzahl_27812)
pc.remove_item(27813, anzahl_27813)
pc.remove_item(27814, anzahl_27814)
pc.remove_item(27815, anzahl_27815)
pc.remove_item(27816, anzahl_27816)
pc.remove_item(27817, anzahl_27817)
pc.remove_item(27818, anzahl_27818)
pc.remove_item(27819, anzahl_27819)
pc.remove_item(27820, anzahl_27820)
pc.remove_item(27821, anzahl_27821)
pc.remove_item(27822, anzahl_27822)
pc.remove_item(27823, anzahl_27823)
say_title("Die Fischzucht")
say("Du hast ein Fisch gut")
say("hier ist deine Behlonung.")
say("")
say_reward("Du erhälst eine Geheimnisvolle Truhe.")
pc.give_item2(50033, 1)
end
end
end
end

aber immer wenn ich zb 27803 und das item 27804 im inventar habe passiert n ix wenn ich beim fischer das abgeben will und dann komme ich nicht mehr ins inventar nirgendsmehr hin kann einer das prob fixxen und vllt die quest so wie in de umschreiben also das nicht alle items removt werden sondern immer nur eins. danke





