From 45ff936b6dd90e0848f905cc05c5bf20a2be40a0 Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Sun, 24 Jan 2016 01:08:30 +0100 Subject: [PATCH] changing abm interval and chance --- spawners_mobs.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spawners_mobs.lua b/spawners_mobs.lua index a6d42a7..4b9961c 100644 --- a/spawners_mobs.lua +++ b/spawners_mobs.lua @@ -140,8 +140,8 @@ function spawners.create(mob_name, mod_prefix, size, offset, mesh, texture, nigh minetest.register_abm({ nodenames = {"spawners:"..mod_prefix.."_"..mob_name.."_spawner", "spawners:"..mod_prefix.."_"..mob_name.."_spawner_active", "spawners:"..mod_prefix.."_"..mob_name.."_spawner_overheat", "spawners:"..mod_prefix.."_"..mob_name.."_spawner_waiting"}, neighbors = {"air"}, - interval = 5.0, - chance = 7, + interval = 10, + chance = 2, action = function(pos, node, active_object_count, active_object_count_wider) local random_pos, waiting = spawners.check_node_status(pos, mob_name, night_only)