This commit is contained in:
Kacper Kostka
2023-02-12 16:07:35 +01:00
parent 49cf5f16f9
commit 60fec2cb4f
36 changed files with 252 additions and 1918 deletions

View File

@@ -480,7 +480,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
-- break
--end
--if is_new_chunk then
for i = 1, math.random(10, 15) do
for i = 1, math.random(10, 25) do
minetest.add_entity({x = minp.x + math.random(16), y = minp.y + 1, z = minp.z + math.random(16)}, "amogus_entities:amogus")
--minetest.sound_play("amogus_sound", { pos = pos,gain = 1.0,max_hear_distance = 5})
end
@@ -541,7 +541,7 @@ minetest.register_abm({
nodenames = {"air"},
neighbors = {"group:stone"},
interval = 30,
chance = 100,
chance = 60,
action = function(pos)
-- avoid spawning inside liquids
if minetest.registered_nodes[minetest.get_node(pos).name].liquidtype == "none" then