diff --git a/shield_functions.lua b/shield_functions.lua index dc0b070..63d5364 100644 --- a/shield_functions.lua +++ b/shield_functions.lua @@ -3,10 +3,12 @@ castle_shields.register_shield = function(name, desc, background_color, foregrou local tile_side = "castle_shield_"..background_color..".png" local tile_front = "castle_shield_"..background_color..".png^(castle_shield_"..foreground_color.. ".png^[mask:castle_shield_mask_"..mask..".png)" + local wield_front = tile_front .. "^[mask:castle_shield_overlay.png" minetest.register_node(minetest.get_current_modname()..":"..name, { description = desc, tiles = {tile_side, tile_side, tile_side, tile_side, "castle_shield_back.png", tile_front}, + wield_image = wield_front, drawtype = "nodebox", paramtype2 = "facedir", paramtype = "light", diff --git a/textures/castle_shield_overlay.png b/textures/castle_shield_overlay.png new file mode 100644 index 0000000..aab9594 Binary files /dev/null and b/textures/castle_shield_overlay.png differ