Xaleph wrote:Hmm could you explain a bit more? You want the quests to be written in PHP? An array of the quests? I was thinking of storing it all in the database. All data that is related to the quest.
No, that is right. The quest
data will be in the database, so basically, all of your quests will be stored there. But (in my opinion) the real meat of a quest system is all of the logic and mechanics to take those quest specifics and turn them into real, playable, trackable quests. That obviously will be in the PHP code, and I think that has been the stumbling block for many in our community who tried to add a questing system but couldn't get it working. The database back-end to it is likely going to follow along the same design standards as anything else in the game: turn enumerated values into a master table that can be referenced by ID, break-apart seemingly-related categories that need specific column headings to reduce empty cells, etc. All of these types of things I can see you are doing, and I didn't expect anything less from you

But the real challenge with a quest system is making elegant PHP code that can deal in a generic and efficient way with all of those quest specifics in the database.