From 41bf1ae2415386b72ca2367265ba867a593d712a Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Wed, 31 May 2017 11:53:06 -0700 Subject: [PATCH] Set 'spawn_maxlight' to 5 for lower spawn rate --- settings.lua | 2 +- settingtypes.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.lua b/settings.lua index 6f98016..ad764d1 100644 --- a/settings.lua +++ b/settings.lua @@ -7,4 +7,4 @@ sneeker.debug = minetest.settings:get_bool("sneeker.debug", false) sneeker.spawn_cap = tonumber(minetest.settings:get("sneeker.spawn_cap")) or 25 -- Maximum light of node for spawn -sneeker.spawn_maxlight = tonumber(minetest.settings:get("sneeker.spawn_maxlight")) or 7 +sneeker.spawn_maxlight = tonumber(minetest.settings:get("sneeker.spawn_maxlight")) or 5 diff --git a/settingtypes.txt b/settingtypes.txt index d7c8a1b..9c0826a 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -12,4 +12,4 @@ sneeker.spawn_chance (Spawn chance) int 2 sneeker.spawn_interval (Spawn interval) int 120 # Sets the maximum light that a node can have for spawn to occur. -sneeker.spawn_maxlight (Max light for spawn) int 7 +sneeker.spawn_maxlight (Max light for spawn) int 5