elif npcId == Lara: # anything realated to Lara below if step == 1: # first talk to lara htmltext = "7063-01.htm" else: # talk again to lara if LaraPart == 0: # if you havent a part taken, give one htmltext = "7063-03.htm" elif LaraPart!=0: ItemCount1 = st.getQuestItemsCount(LISTS[LaraPart][1]) ItemCount2 = st.getQuestItemsCount(LISTS[LaraPart][2]) if ItemCount1 == 0 and ItemCount2 == 0: htmltext = "7063-03.htm" else: ItemCount1 = st.getQuestItemsCount(LISTS[LaraPart][1]) ItemCount2 = st.getQuestItemsCount(LISTS[LaraPart][2]) if ItemCount1 < 30 or ItemCount2 < 30: # if you have not enough materials, List 1 - 5 htmltext = "7063-05.htm" elif ItemCount1 > 29 and ItemCount2 > 29:# if you have enough materials, receive your Beginner Arcanas, List 1 - 5 htmltext = "7063-06.htm" st.giveItems(BEGINNERS_ARCANA_ID,2) st.takeItems(LISTS[LaraPart][0],1) st.takeItems(LISTS[LaraPart][1],-1) st.takeItems(LISTS[LaraPart][2],-1) st.set("Lara_Part","0") st.set("Beginner_Arcanas",str(BeginnerArcanas+2))