modified sussy imposter spawning parameters, removed foggy piano music for now

This commit is contained in:
Looki2000 2023-02-23 20:57:08 +01:00
parent 5f60a72df9
commit 8f0806b0a4
2 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ minetest.register_abm({
-- only spawn on solid blocks AND in the dark
if minetest.registered_nodes[minetest.get_node({x = pos.x, y = pos.y - 1, z = pos.z}).name].walkable and minetest.get_node_light(pos) < 10 then
-- do not spawn if there is already an sussy imposter nearby
local nearby_entities = minetest.get_objects_inside_radius(pos, 10)
local nearby_entities = minetest.get_objects_inside_radius(pos, 20)
local imposter_nearby = false
for _, entity in pairs(nearby_entities) do