Hab mal ne quest geschrieben die die Farbe von Perlen verändern soll aber das funktioniert leider nicht =( vll findet ihr ja ein Fehler wäre nett von Euch
Hier die Quest:
Code:
quest Perle begin state start begin when 20087.chat."Weise Perle verwandeln" with pc.countitem("27992")>=1 and pc.countitem("27987")>=1 begin say("Wie ich sehe hast du alles") say("was ich zum verwandeln Benötige") say("Was für eine Perle hättest du gerne") say("") local b=select("Blaue", "Weise", "Rote", "Beenden") if 1==b then if pc.countitem("27992")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27992", 1) pc.removeitem("27987", 1) pc.give_item2("27993", 1) say("Hier hast du deine Blaue Perle") end if 2==b then if pc.countitem("27992")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27992", 1) pc.removeitem("27987", 1) pc.give_item2("27992", 1) say("Hier hast du deine Weise Perle") end if 3==b then if pc.countitem("27992")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27992", 1) pc.removeitem("27987", 1) pc.give_item2("27994", 1) say("Hier hast du deine Rote Perle") end elseif 4==b then else say("UNKNOWN BUTTON ["..b.."]") end when 20087.chat."Blaue Perle verwandeln" with pc.countitem("27993")>=1 and pc.countitem("27987")>=1 begin say("Wie ich sehe hast du alles") say("was ich zum verwandeln Benötige") say("Was für eine Perle hättest du gerne") say("") local b=select("Blaue", "Weise", "Rote", "Beenden") if 1==b then if pc.countitem("27993")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27993", 1) pc.removeitem("27987", 1) pc.give_item2("27993", 1) say("Hier hast du deine Blaue Perle") end if 2==b then if pc.countitem("27993")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27993", 1) pc.removeitem("27987", 1) pc.give_item2("27992", 1) say("Hier hast du deine Weise Perle") end if 3==b then if pc.countitem("27993")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27993", 1) pc.removeitem("27987", 1) pc.give_item2("27994", 1) say("Hier hast du deine Rote Perle") end elseif 4==b then else say("UNKNOWN BUTTON ["..b.."]") end when 20087.chat."Rote Perle verwandeln" with pc.countitem("27994")>=1 and pc.countitem("27987")>=1 begin say("Wie ich sehe hast du alles") say("was ich zum verwandeln Benötige") say("Was für eine Perle hättest du gerne") say("") local b=select("Blaue", "Weise", "Rote", "Beenden") if 1==b then if pc.countitem("27994")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27994", 1) pc.removeitem("27987", 1) pc.give_item2("27993", 1) say("Hier hast du deine Blaue Perle") end if 2==b then if pc.countitem("27994")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27994", 1) pc.removeitem("27987", 1) pc.give_item2("27992", 1) say("Hier hast du deine Weise Perle") end if 3==b then if pc.countitem("27994")>=1 and pc.countitem("27987")>=1 then pc.removeitem("27994", 1) pc.removeitem("27987", 1) pc.give_item2("27994", 1) say("Hier hast du deine Rote Perle") end elseif 4==b then else say("UNKNOWN BUTTON ["..b.."]") end end end state __COMPLETE__ begin when enter begin q.done() end end end quest karte2 begin state start begin when 20087.chat."Perle verwandeln?" begin say("Hallo und Wilkommen") say("Intressierst du dich für meine spezielle Fertigkeit...") say("Ich kann dir die Farbe deiner Perle verändern") say("Was ich dazu von dir brauche ?") say("Ich benötige eine Perle die du hast") say("und ich benötige") say_item_vnum(27987) say("") end end state __COMPLETE__ begin when enter begin q.done() end end end
MfG