Непонятно пару моментов
def onEvent (self,event,st) :
htmltext = event
amount = st.getQuestItemsCount(LIZARD_FANG)
amount2 = st.getQuestItemsCount(BARREL_OF_LEAGUE)
if event == "7916-03.htm" :
st.setState(STARTED)
st.set("cond","1") - за что вот эта строка отвечает ?????
st.giveItems(ORDER_OF_GOSTA,1)
st.playSound("ItemSound.quest_accept")
elif event == "7969-02a.htm" :
if amount:
htmltext = "7969-02.htm"
st.giveItems(ADENA,amount*20) -вот эта я так понимаю количество итемов умножаеться на 20
st.takeItems(LIZARD_FANG,-1)
elif event == "7969-03a.htm" :
if amount2 :
htmltext = "7969-03.htm"
st.set("cond","2")
st.giveItems(ADENA,amount2*3880) - за что вот эта строка отвечает ?????
st.giveItems(BILL_OF_IASON_HEINE,amount2)
st.takeItems(BARREL_OF_LEAGUE,-1)
elif event == "7969-01.htm" :
if st.getInt("cond")==2 :
htmltext = "7969-04.htm"
elif event == "5" :
st.exitQuest(1)
st.playSound("ItemSound.quest_finish")
return htmltext