diff options
| author | FaceDeer <derksenmobile@gmail.com> | 2017-10-24 21:16:37 -0600 | 
|---|---|---|
| committer | FaceDeer <derksenmobile@gmail.com> | 2017-10-24 21:16:37 -0600 | 
| commit | a4b89dd76280879a6fca9f97d9e2d0b97718f60c (patch) | |
| tree | 4b37e8099f2bf73c69207ae67cdad76ba674116d | |
| parent | 1224a3461569843534b275868f73af97d82559de (diff) | |
add node_box definitions to fix inventory images
| -rw-r--r-- | nodes/node_battery_holder.lua | 6 | ||||
| -rw-r--r-- | nodes/node_storage.lua | 18 | 
2 files changed, 24 insertions, 0 deletions
| diff --git a/nodes/node_battery_holder.lua b/nodes/node_battery_holder.lua index 56e0cd8..697beea 100644 --- a/nodes/node_battery_holder.lua +++ b/nodes/node_battery_holder.lua @@ -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 = { diff --git a/nodes/node_storage.lua b/nodes/node_storage.lua index ad36570..6237e66 100644 --- a/nodes/node_storage.lua +++ b/nodes/node_storage.lua @@ -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 = { | 
