- Joined
- Feb 17, 2014
- Messages
- 232
- Solutions
- 17
- Reaction score
- 319
The future is now, old man.
Installation:
1. In data/lib/lib.lua add:
2. Unpack advanced_quest_system.lua to data/lib/
3. In data/actions/actions.xml add, replace X with desirable action id for your chests:
4. Unpack advanced_quest_system_action.lua to data/actions/scripts/
Usage:
In data/lib/advanced_quest_system.lua
edit: ADVANCED_QUESTS, STORAGES, QUEST_LIST to add your quests
In map editor place chest with X action id and unique id from QUEST_LIST (that you also used in ADVANCED_QUESTS)
Features:
Available reward types (in one chest can be one or more): items, experience, levels, skills, magic levels, vocations, outfits, addons, mounts, max health, max mana
Conditional reward types (get reward only if condition met): minimum level, maximum level, vocation, premium [it can be used both on CHEST_SETTINGS to block whole quest or on REWARDS to block single reward]
Events (message, animation) that can be triggered by TRIGGERS (on reward, on quest cannot be done)
Quest types: only once (traditional quest), sequential (one after another), must have certain storage first to get reward, periodical (can get reward every hour, day, week, month etc.)
it supports multiple chest - 1 reward (like annihilator)
you can pass customFunction, customFunctionParameters for item reward to modify it
Installation:
1. In data/lib/lib.lua add:
Lua:
-- Advanced quest system
dofile('data/lib/advanced_quest_system.lua')
3. In data/actions/actions.xml add, replace X with desirable action id for your chests:
XML:
<action actionid="X" script="advanced_quest_system_action.lua"/>
Usage:
In data/lib/advanced_quest_system.lua
edit: ADVANCED_QUESTS, STORAGES, QUEST_LIST to add your quests
In map editor place chest with X action id and unique id from QUEST_LIST (that you also used in ADVANCED_QUESTS)
Features:
Available reward types (in one chest can be one or more): items, experience, levels, skills, magic levels, vocations, outfits, addons, mounts, max health, max mana
Conditional reward types (get reward only if condition met): minimum level, maximum level, vocation, premium [it can be used both on CHEST_SETTINGS to block whole quest or on REWARDS to block single reward]
Events (message, animation) that can be triggered by TRIGGERS (on reward, on quest cannot be done)
Quest types: only once (traditional quest), sequential (one after another), must have certain storage first to get reward, periodical (can get reward every hour, day, week, month etc.)
it supports multiple chest - 1 reward (like annihilator)
you can pass customFunction, customFunctionParameters for item reward to modify it
Attachments
-
advanced_quest_system.zip3.5 KB · Views: 118 · VirusTotal
Last edited: