changing warthog to pumba

master
Juraj Vajda 2016-01-24 01:18:24 +01:00
parent dfdbedadc7
commit 53b4a80c70
2 changed files with 5 additions and 5 deletions

View File

@ -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"
},

View File

@ -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)