Code:
quest perlentausch begin
state start begin
when NPCID.chat."Fertigkeitsbücher" begin
say("Hey,")
say("Gib mir eine Konzi und eine Exo und du bekommst ...")
local s = select ("Krieger FB-Truhe", "Ninja FB-Truhe", "Sura FB-Truhe", "Schami FB-Truhe", "Abbrechen")
if s == 1 then
if pc.count_item(Exo. ID) < 1 then
if pc.count_item(Konzi. ID) < 1 then
pc.remove_item("Exo. ID", 1)
pc.remove_item("Konzi. ID", 1)
pc.give_item2("Krieger FB-Truhen ID")
say(Hier hast du.")
end
if s == 2 then
if pc.count_item(Exo. ID) < 1 then
if pc.count_item(Konzi. ID) < 1 then
pc.remove_item("Exo. ID", 1)
pc.remove_item("Konzi. ID", 1)
pc.give_item2("Ninja FB-Truhen ID")
say(Hier hast du.")
end
if s == 3 then
if pc.count_item(Exo. ID) < 1 then
if pc.count_item(Konzi. ID) < 1 then
pc.remove_item("Exo. ID", 1)
pc.remove_item("Konzi. ID", 1)
pc.give_item2("Sura FB-Truhen ID")
say(Hier hast du.")
end
if s == 4 then
if pc.count_item(Exo. ID) < 1 then
if pc.count_item(Konzi. ID) < 1 then
pc.remove_item("Exo. ID", 1)
pc.remove_item("Konzi. ID", 1)
pc.give_item2("Schami FB-Truhen ID")
say(Hier hast du.")
end
if 5==s then
return
end
end
end
Mach am besten Rassen FB-Truhen und setz die ein.
Ich hoffe die Quest ist in Ordnung. ^^
Bin nicht der Beste darin, aber man kanns ja versuchen. :D