Make debugging head dirt an option

This commit is contained in:
Your Name 2022-08-07 10:25:46 -05:00
parent e6cb2c48b7
commit 2b39a1b9bf
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ if not self.has_head == true then return end
pos = vector.add(pos, head_offset)
if minetest.settings:get_bool("mcl_debug_head_code", false) then
minetest.add_particle({
pos = pos,
velocity = {x=0, y=0, z=0},
@ -33,7 +34,7 @@ if not self.has_head == true then return end
size = 1,
texture = "default_dirt.png",
})
end
local bone_pos = vector.new(0,0,0)
--(horizontal)

View File

@ -185,3 +185,4 @@ revoke_shout_for_spammers (Revoke shout priv for spammers) bool true
mcl_item_id_debug (Item ID Debug) bool false
mcl_debug_struct_noise (Show Structures Perlin Noise) bool false
mcl_debug_chunk_borders (Show Chunk Borders) bool false
mcl_debug_head_code (Spawn dirt particles at mob head position) bool false