Page 1 of 1

SubclassWithItemAndNoQuest

Posted: Mon Aug 08, 2011 12:39 am
by Foxiksis
Good all times of the day, I have a question)

It is possible to do so subclass skills can be taken without the quest and things for him ...

Re: SubclassWithItemAndNoQuest

Posted: Mon Aug 08, 2011 1:24 am
by MELERIX
ofc ;)

Character.properties

Code: Select all

# Allow player to sub-class without checking for unique quest items.# Default: FalseAltSubClassWithoutQuests = True

Re: SubclassWithItemAndNoQuest

Posted: Mon Aug 08, 2011 9:38 am
by Foxiksis
I want to quest did not request things at once and everything was done without any quests

# ITEM
ECTOPLASM=9787
STABILIZED_ECTOPLASM=9786
ORDER=9788
GLASS_JAGUAR_CRYSTAL=9789
BOOK_OF_SEAL=9790
ADENA=57
TRANSFORM_BOOK=9648
Image

Code: Select all

 def onAdvEvent (self,event,npc, player) :    htmltext = event    st = player.getQuestState(qn)    if not st : return    id = st.getState()    cond = st.getInt("cond")    if event == "30832-02.htm" :       st.set("cond","1")       st.setState(State.STARTED)       st.giveItems(TRANSFORM_BOOK,1)       st.playSound("ItemSound.quest_finish")       st.setState(State.COMPLETED)       st.exitQuest(0)
Thx all...