From ff01e876f5a23cf2bed31e1bdf15ab8c8df3e9d8 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Wed, 5 May 2021 20:25:10 -0700 Subject: [PATCH] Change default settings --- settings.lua | 12 ++++++------ settingtypes.txt | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/settings.lua b/settings.lua index 50f9dae..cc87dbf 100644 --- a/settings.lua +++ b/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. -- diff --git a/settingtypes.txt b/settingtypes.txt index 56d49bf..7c58026 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -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