As you may know, I have been developing some Plugins recently (which are almost complete, just need a bit of help from the Devs when they're back up and running). So, I thought I might also make a simple Quest plugin (which will probably work nicely with one of my other plugins!).
At the moment, until we get access to a database, I'm planning on using Lua Tables and have come up with the following things that may be required:
- Quest Name (string) - name of the Quest
Quest ID (int) - ID of the Quest
Quest Prerequisites (table): - contains the things that are required BEFORE the Quest can be undertaken
- Location (int) - a location in the world (NB: This ties in with a field in one of my plugins)
Level (int) - the level of the Player (allows for the implementation of a simple Levelling System)
Items (table) - a list of Items the Player must have acquired (allows for the implementation of a simple Inventory System)
Skills (table) - a list of Skills the Player must have acquired (allows for the implementation of a simple Skills System)
Class (table) - the class of the Player (allows for the implementation of a simple Class System)
NPCs (table) - a list of the NPCs that the Player MUST have met
Quests (table) - a list of the Quests that the Player MUST have completed
Timer (timer) - a timer that can be used for timed Quests
Rewards (table) - contains the Rewards for completing the Quest
- Items (table) - Items that will be awarded to the Player
Skills (table) - Skills that will be awarded to the Player
XP (int) - Experience Points that will be awarded to the Player
Money (int) - Money that will be awarded to the Player (allows for the implementation of simple Trade System)
Thanks
Shando
PS: I'll probably try to implement the other "Systems" mentioned above before I implement the Quest System.