Don't spawn mobs very close to player

This commit is contained in:
Wuzzy 2024-01-10 00:19:07 +01:00
parent 30408d5a7b
commit 20e63e25c2

View File

@ -4,7 +4,7 @@ local EDITOR = minetest.settings:get_bool("sf_editor", false) or minetest.settin
local SPAWNER_DETECT_RANGE = 20
local SPAWNER_TIMER_MIN = 4
local SPAWNER_TIMER_MAX = 6
local SPAWNER_PREVENT_RANGE = 1
local SPAWNER_PREVENT_RANGE = 5
local SPAWNER_LIMIT_RANGE = 32
local SPAWNER_RESTART_TIMER = 1