Change 'spawn_interval' default to 2 minutes (120)

This commit is contained in:
AntumDeluge
2017-05-29 02:57:56 -07:00
committed by Jordan Irwin
parent 1d9c2ed3c5
commit d12f80d1f3
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ local time_hr = time_min * 60
local time_day = time_hr * 24
local spawn_chance = tonumber(minetest.settings:get("sneeker.spawn_chance")) or 2 -- 50% chance of spawn
local spawn_interval = tonumber(minetest.settings:get("sneeker.spawn_interval")) or time_min * 40 -- Default interval is 40 minutes
local spawn_interval = tonumber(minetest.settings:get("sneeker.spawn_interval")) or time_min * 2 -- Default interval is 2 minutes
local spawn_chance_percent = tostring(math.floor(1 / spawn_chance * 100)) .. "%"