preprarations for creating quests
This commit is contained in:
parent
664726897c
commit
71f9e5e540
@ -115,6 +115,9 @@ yl_speak_up.player_vars_save_file = "yl_speak_up_player_vars"
|
||||
-- Where to store the logfiles for the individual NPC
|
||||
yl_speak_up.log_path = "yl_speak_up_log"
|
||||
|
||||
-- Where shall information about the quests be stored?
|
||||
yl_speak_up.quest_path = "yl_speak_up_quests"
|
||||
|
||||
-- amount of time in seconds that has to have passed before the above file will be saved again
|
||||
-- (more time can pass if no variable is changed)
|
||||
yl_speak_up.player_vars_min_save_time = 60
|
||||
|
5
init.lua
5
init.lua
@ -20,6 +20,11 @@ yl_speak_up.status = yl_speak_up.modstorage:get_int("status") or 0
|
||||
-- needed for assigning individual IDs (n_id) to NPC
|
||||
yl_speak_up.number_of_npcs = yl_speak_up.modstorage:get_int("amount") or 0
|
||||
|
||||
-- we need to know how many quests exist in this world;
|
||||
-- if a quest shall be copied to a new world, its variable needs to be created
|
||||
-- manually first, then a quest beeing created, and *then* the quest file copied
|
||||
yl_speak_up.number_of_quests = yl_speak_up.modstorage:get_int("max_quest_nr") or 0
|
||||
|
||||
-- which player (key) is talking to which NPC?
|
||||
yl_speak_up.speak_to = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user