From 53b4a80c7088649756419866cdd0c025aae29070 Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Sun, 24 Jan 2016 01:18:24 +0100 Subject: [PATCH] changing warthog to pumba --- config.lua | 6 +++--- spawners_mobs.lua | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.lua b/config.lua index 62410e6..7a20067 100644 --- a/config.lua +++ b/config.lua @@ -53,12 +53,12 @@ MOBS_PROPS = { sound_custom="" }, { - name="warthog", + name="pumba", egg_name_custom="", dummy_size={x=0.62,y=0.62}, dummy_offset=-0.3, - dummy_mesh="mobs_warthog.x", - dummy_texture={"mobs_warthog.png"}, + dummy_mesh="mobs_pumba.x", + dummy_texture={"mobs_pumba.png"}, night_only=false, sound_custom="mobs_pig" }, diff --git a/spawners_mobs.lua b/spawners_mobs.lua index 34d1361..d46f143 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)