All pastes #51609 Raw Edit

Unnamed

public text v1 · immutable
#51609 ·published 2006-04-26 21:44 UTC
rendered paste body
     if npcId == 7720 :
         if id == CREATED :
             htmltext = "7720-04.htm"
         elif int(st.get("cond"))==1 and int(st.get("kaiena"))!=2 and st.getQuestItemsCount(FEATHER_OF_GABRIELLE_ID)==1 and st.getQuestItemsCount(MARSH_STALKER_HORN_ID) + st.getQuestItemsCount(MARSH_DRAKE_TALONS_ID)==0 :
             st.set("part","2")
             st.set("kaiena","1")
             htmltext = "7720-01.htm"
             st.playSound("ItemSound.quest_accept")
         elif int(st.get("part"))==2 and int(st.get("kaiena"))==1 and st.getQuestItemsCount(MARSH_STALKER_HORN_ID)>=1 and st.getQuestItemsCount(MARSH_DRAKE_TALONS_ID)>=1 :
             st.giveItems(MARK_OF_WATCHMAN_ID,1)
             st.takeItems(MARSH_STALKER_HORN_ID,-1)
             st.takeItems(MARSH_DRAKE_TALONS_ID,-1)
             st.set("kaiena","2")
             htmltext = "7851-02.htm"
             st.playSound("ItemSound.quest_itemget")
         elif int(st.get("part"))==2 and int(st.get("kaiena"))==1 and st.getQuestItemsCount(MARSH_STALKER_HORN_ID)<1 or st.getQuestItemsCount(MARSH_DRAKE_TALONS_ID)<1 :
             htmltext = "<html><head><body>Bring me 2 proofs!</body></html>"
         elif int(st.get("kaiena"))==2 :
             htmltext = "7720-03.htm"