From 2d5850a9dac6553574cfe03a921691ce676c939a Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Wed, 12 Jul 2023 11:54:12 -0400 Subject: [PATCH] Make spawners mobs faster --- spawners_mobs/api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spawners_mobs/api.lua b/spawners_mobs/api.lua index aae6852..1f3b9e6 100644 --- a/spawners_mobs/api.lua +++ b/spawners_mobs/api.lua @@ -273,7 +273,7 @@ function spawners_mobs.tick(pos) return end - minetest.get_node_timer(pos):start(math.random(30, 60)) + minetest.get_node_timer(pos):start(math.random(5, 15)) end -- how often a spawn failure tick is retried (e.g. too dark) @@ -289,7 +289,7 @@ function spawners_mobs.tick_short(pos) meta:set_int('tick_short', tick_short_counter) -- print('tick_short_counter: ' .. tick_short_counter .. ' at ' .. minetest.pos_to_string(pos)) end - minetest.get_node_timer(pos):start(math.random(20, 60)) + minetest.get_node_timer(pos):start(math.random(5, 10)) -- minetest.get_node_timer(pos):start(math.random(10, 20)) end