Set default max light for spawn to 4

This commit is contained in:
AntumDeluge 2017-08-08 02:51:53 -07:00 committed by Jordan Irwin
parent 5eb1de1627
commit 9739add50c
2 changed files with 2 additions and 2 deletions

@ -11,7 +11,7 @@ sneeker.spawn_interval (Sneeker spawn interval) int 240
sneeker.spawn_minlight (Sneeker min light for spawn) int -1 sneeker.spawn_minlight (Sneeker min light for spawn) int -1
# Sets the maximum light that a node can have for spawn to occur. # Sets the maximum light that a node can have for spawn to occur.
sneeker.spawn_maxlight (Sneeker max light for spawn) int 5 sneeker.spawn_maxlight (Sneeker max light for spawn) int 4
# Sets the lowest position at which sneeker can spawn. # Sets the lowest position at which sneeker can spawn.
sneeker.spawn_minheight (Sneeker min spawn height) int -31000 sneeker.spawn_minheight (Sneeker min spawn height) int -31000

@ -9,7 +9,7 @@ local spawn_cap = tonumber(core.settings:get("sneeker.spawn_cap")) or 10 -- Maxi
local spawn_chance = tonumber(core.settings:get("sneeker.spawn_chance")) or 1000 -- 1/1000 chance of spawn local spawn_chance = tonumber(core.settings:get("sneeker.spawn_chance")) or 1000 -- 1/1000 chance of spawn
local spawn_interval = tonumber(core.settings:get("sneeker.spawn_interval")) or time_min * 4 -- Default interval is 4 minutes local spawn_interval = tonumber(core.settings:get("sneeker.spawn_interval")) or time_min * 4 -- Default interval is 4 minutes
local spawn_minlight = tonumber(core.settings:get("sneeker.spawn_minlight")) or -1 -- Minimum light of node required for spawn local spawn_minlight = tonumber(core.settings:get("sneeker.spawn_minlight")) or -1 -- Minimum light of node required for spawn
local spawn_maxlight = tonumber(core.settings:get("sneeker.spawn_maxlight")) or 5 -- Maximum light of node allowed for spawn local spawn_maxlight = tonumber(core.settings:get("sneeker.spawn_maxlight")) or 4 -- Maximum light of node allowed for spawn
local spawn_minheight = tonumber(core.settings:get("sneeker.spawn_minheight")) or -31000 -- Minimum height allowed for spawn local spawn_minheight = tonumber(core.settings:get("sneeker.spawn_minheight")) or -31000 -- Minimum height allowed for spawn
local spawn_maxheight = tonumber(core.settings:get("sneeker.spawn_maxheight")) or 31000 -- Maximum height allowed for spawn local spawn_maxheight = tonumber(core.settings:get("sneeker.spawn_maxheight")) or 31000 -- Maximum height allowed for spawn