Fix shields not showing up in item frames from itemframes mod (#6)
Some checks failed
luacheck / luacheck (push) Has been cancelled

This commit is contained in:
DragonWrangler1 2024-11-22 13:20:52 -07:00 committed by GitHub
parent 0f67c9e6b8
commit 22f3282786
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -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",

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B