spawned merchants

master
root 2021-08-21 10:44:35 +02:00
parent 34c13aa8f0
commit 0e8c42ccc7
1 changed files with 5 additions and 5 deletions

View File

@ -3,9 +3,9 @@ local modpath = ...
local settings = Settings(modpath .. "/eraz.conf") local settings = Settings(modpath .. "/eraz.conf")
eraz.settings = { eraz.settings = {
spawn = settings:get_bool("spawn") or true spawn = settings:get_bool("spawn") or true,
spawn_interval = tonumber(settings:get("spawn_interval")) spawn_interval = tonumber(settings:get("spawn_interval")),
spawn_chance = tonumber(settings:get("spawn_chance")) spawn_chance = tonumber(settings:get("spawn_chance")),
spawn_announce = settings:get_bool("spawn_announce") or true spawn_announce = settings:get_bool("spawn_announce") or true,
lifetime = tonumber(settings:get("lifetime")) lifetime = tonumber(settings:get("lifetime")),
} }