prevent ghosts from spawning insie solid nodes

This commit is contained in:
flux 2024-02-09 11:59:07 -08:00
parent e06cebf4a4
commit 916523e01f
Signed by: flux
GPG Key ID: 9333B27816848A15

View File

@ -5,7 +5,7 @@ if ghost_bones_only then
entity_name = "mobs_ghost_redo:ghost",
groups = { monster = 1 },
chance = yl_spawnit.base_chance,
within = { "any" },
within = { "not walkable" },
on = { "any" },
near = { "bones:bones" },
max_node_light = 10,
@ -19,7 +19,7 @@ else
entity_name = "mobs_ghost_redo:ghost",
groups = { monster = 1 },
chance = yl_spawnit.base_chance * 3,
within = { "any" },
within = { "not walkable" },
on = { "any" },
near = { "any" },
max_node_light = 10,
@ -33,7 +33,7 @@ else
entity_name = "mobs_ghost_redo:ghost",
groups = { monster = 1 },
chance = yl_spawnit.base_chance * 3,
within = { "any" },
within = { "not walkable" },
on = { "any" },
near = { "bones:bones" },
max_node_light = 10,