add node_box definitions to fix inventory images

This commit is contained in:
FaceDeer 2017-10-24 21:16:37 -06:00
parent 1224a34615
commit a4b89dd762
2 changed files with 24 additions and 0 deletions

@ -39,6 +39,12 @@ minetest.register_node("digtron:battery_holder", {
sounds = digtron.metal_sounds,
paramtype2= "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
},
paramtype = "light",
is_ground_content = false,
tiles = {

@ -33,6 +33,12 @@ minetest.register_node("digtron:inventory", {
sounds = digtron.metal_sounds,
paramtype2= "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
},
paramtype = "light",
is_ground_content = false,
tiles = {
@ -108,6 +114,12 @@ minetest.register_node("digtron:fuelstore", {
sounds = digtron.metal_sounds,
paramtype2= "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
},
paramtype = "light",
is_ground_content = false,
tiles = {
@ -202,6 +214,12 @@ minetest.register_node("digtron:combined_storage", {
sounds = digtron.metal_sounds,
paramtype2= "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
},
paramtype = "light",
is_ground_content = false,
tiles = {