Sorry my ignorance but is this a script, and how to use this, where i put this ?
--Troll task example:
[1] = {questStarted = 1510, questStorage = 65000, killsRequired = 100, raceName = "Trolls", rewards = {first = {enable = true, type = "exp", values = 200}, second = {enable = true, type = "money", values = 200}, third = {enable = false, type = nil, values = {nil, nil}}}},
[1] = number of task
questStarted = storage to start the task
questStorage = storage to check the kills
killsRequired = kills required to finish the task
raceName = race name
rewards = this contains the possible rewards.
rewards.first = first reward
rewards.first.enable = enable or disable the reward (true or false)
rewards.first.type = type of reward ("exp" = give exp, "boss" = teleport player to the boss room (edi the positions), "money" = give money to player, "item" = give item to player, "storage" = set an storage to the player (maybe for a quest like demon oak))
reward.first.values = the values of the reward (how many exp will be gived, money, storage, etc..) ~NOTE:~ Only use a table value for "boss", "storage" and "item" (These types requires 2 values) for "exp" and "money" use (Ex
values = 15000)
The same thing with rewards.second and rewards.third