diff --git a/README.md b/README.md index d6e97f0..7af36d4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Spawners # -This MOD for Minetest let the player craft mob Spawner blocks. +This MOD for Minetest let the player craft mob Spawner blocks. Mobs are spawning randomly in a short intervals. -Easy to implement new mob mods, but you must make sure that those mods following the right naming convention and have sounds, textures, models with the right name. +Easy to implement new mob mods just look in to config.lua. Currently it works with [Pyramids Mummy](https://forum.minetest.net/viewtopic.php?id=7063), [Mobs Redo](https://forum.minetest.net/viewtopic.php?f=11&t=9917) and [Creatures](https://forum.minetest.net/viewtopic.php?f=11&t=8638). @@ -17,6 +17,7 @@ Currently it works with [Pyramids Mummy](https://forum.minetest.net/viewtopic.ph * fake_fire? * xpanes? * creatures? +* pyramids? mobs redo, creatures are supported mods @@ -38,10 +39,11 @@ WTFPL * more convenient disable/enable, add/remove new MODs in config.lua file - added property for custom sounds * added sound for bunny * fixed sound for pyramids:mummy -* added footsteps and digging sounds for the spawners +* added footsteps and dug sounds for the spawners * shorter and more effective code, easier to read, fixed variable namings * ABM tweak - longer delay to trigger but bigger chance for spawn entity * disabled ABM catch_up +* added normal map texture for default spawner ### 0.2 ### * support pyramids mod - mummy diff --git a/config.lua b/config.lua index 3c0499a..62410e6 100644 --- a/config.lua +++ b/config.lua @@ -16,7 +16,7 @@ -- [*] -> MANDATORY - has to be filled in! --- mods what should be enabled and loded +-- mods what should be enabled and loded, remove/add the one you want to load ENABLED_MODS = {"mobs", "pyramids", "creatures"} -- mobs properties - setup all you mobs here diff --git a/spawners_mobs.lua b/spawners_mobs.lua index 118b316..34d1361 100644 --- a/spawners_mobs.lua +++ b/spawners_mobs.lua @@ -141,7 +141,7 @@ function spawners.create(mob_name, mod_prefix, size, offset, mesh, texture, nigh 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 = 8, + chance = 7, action = function(pos, node, active_object_count, active_object_count_wider) local random_pos, waiting = spawners.check_node_status(pos, mob_name, night_only)