Add wood frame side texture

This commit is contained in:
Wuzzy 2023-06-30 19:14:20 +02:00
parent b12b3a8c4e
commit 5599842005
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ local function register_pane(name, desc, def)
tiles = {"xdecor_" .. name .. ".png"}, tiles = {"xdecor_" .. name .. ".png"},
drawtype = "airlike", drawtype = "airlike",
paramtype = "light", paramtype = "light",
textures = {"xdecor_" .. name .. ".png", "" ,"xdecor_" .. name .. ".png"}, textures = def.textures or {"xdecor_" .. name .. ".png", "" ,"xdecor_" .. name .. ".png"},
inventory_image = "xdecor_" .. name .. ".png", inventory_image = "xdecor_" .. name .. ".png",
wield_image = "xdecor_" .. name .. ".png", wield_image = "xdecor_" .. name .. ".png",
groups = def.groups, groups = def.groups,
@ -50,6 +50,7 @@ register_pane("rusty_bar", S("Rusty Iron Bars"), {
register_pane("wood_frame", S("Wood Frame"), { register_pane("wood_frame", S("Wood Frame"), {
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
textures = {"xdecor_wood_frame.png", "", "xdecor_wood_frame_top.png"},
groups = {choppy = 2, pane = 1, flammable = 2}, groups = {choppy = 2, pane = 1, flammable = 2},
recipe = { recipe = {
{"group:wood", "group:stick", "group:wood"}, {"group:wood", "group:stick", "group:wood"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B