Change default settings
This commit is contained in:
parent
da35fb58ac
commit
ff01e876f5
12
settings.lua
12
settings.lua
@ -12,10 +12,10 @@ sneeker.spawn_cap = tonumber(core.settings:get("sneeker.spawn_cap")) or 10
|
||||
|
||||
--- Sets possibility for spawn.
|
||||
--
|
||||
-- Inverted value (e.g. 1000 = 1/1000).
|
||||
-- Inverted value (e.g. 10000 = 1/10000).
|
||||
--
|
||||
-- @setting sneeker.spawn_chance
|
||||
sneeker.spawn_chance = tonumber(core.settings:get("sneeker.spawn_chance")) or 1000
|
||||
sneeker.spawn_chance = tonumber(core.settings:get("sneeker.spawn_chance")) or 10000
|
||||
|
||||
--- Sets frequency of spawn chance.
|
||||
--
|
||||
@ -26,17 +26,17 @@ sneeker.spawn_interval = tonumber(core.settings:get("sneeker.spawn_interval")) o
|
||||
|
||||
--- Sets the minimum light that a node must have for spawn to occur.
|
||||
--
|
||||
-- Default: -1
|
||||
-- Default: 0
|
||||
--
|
||||
-- @setting sneeker.spawn_minlight
|
||||
sneeker.spawn_minlight = tonumber(core.settings:get("sneeker.spawn_minlight")) or -1
|
||||
sneeker.spawn_minlight = tonumber(core.settings:get("sneeker.spawn_minlight")) or 0
|
||||
|
||||
--- Sets the maximum light that a node can have for spawn to occur.
|
||||
--
|
||||
-- Default: 4
|
||||
-- Default: 9
|
||||
--
|
||||
-- @setting sneeker.spawn_maxlight
|
||||
sneeker.spawn_maxlight = tonumber(core.settings:get("sneeker.spawn_maxlight")) or 4
|
||||
sneeker.spawn_maxlight = tonumber(core.settings:get("sneeker.spawn_maxlight")) or 9
|
||||
|
||||
--- Sets the lowest position at which sneeker can spawn.
|
||||
--
|
||||
|
@ -2,16 +2,16 @@
|
||||
sneeker.spawn_cap (Sneeker maximum spawns) int 10
|
||||
|
||||
# Sets possibility for spawn.
|
||||
sneeker.spawn_chance (Sneeker spawn chance) int 1000
|
||||
sneeker.spawn_chance (Sneeker spawn chance) int 10000
|
||||
|
||||
# Sets frequency of spawn chance. Default 240 is equivalent to 4 minutes (60 * 4).
|
||||
sneeker.spawn_interval (Sneeker spawn interval) int 240
|
||||
|
||||
# Sets the minimum light that a node must have for spawn to occur.
|
||||
sneeker.spawn_minlight (Sneeker min light for spawn) int -1
|
||||
sneeker.spawn_minlight (Sneeker min light for spawn) int 0
|
||||
|
||||
# Sets the maximum light that a node can have for spawn to occur.
|
||||
sneeker.spawn_maxlight (Sneeker max light for spawn) int 4
|
||||
sneeker.spawn_maxlight (Sneeker max light for spawn) int 9
|
||||
|
||||
# Sets the lowest position at which sneeker can spawn.
|
||||
sneeker.spawn_minheight (Sneeker min spawn height) int -31000
|
||||
|
Loading…
Reference in New Issue
Block a user