summaryrefslogtreecommitdiff
path: root/node_storage.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-17 00:56:54 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-17 00:56:54 -0700
commit960d4e4155c3156c029c5be14c0ac4dbf1e08b45 (patch)
tree10302799ef6f8d83f8977ec69edc0c24c37410b0 /node_storage.lua
parent9ddec013de650dbfc87c6c960a1e27df820f2977 (diff)
Add visual markers for crated Digtron image
Diffstat (limited to 'node_storage.lua')
-rw-r--r--node_storage.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/node_storage.lua b/node_storage.lua
index 86a3eff..add4555 100644
--- a/node_storage.lua
+++ b/node_storage.lua
@@ -2,11 +2,13 @@
-- Note that inventories are digtron group 2.
minetest.register_node("digtron:inventory",
{
- description = "Digtron Inventory Hopper",
+ description = "Digtron Inventory Storage",
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 2, tubedevice = 1, tubedevice_receiver = 1},
drop = "digtron:inventory",
sounds = digtron.metal_sounds,
paramtype2= "facedir",
+ drawtype = "nodebox",
+ paramtype = "light",
is_ground_content = false,
tiles = {"digtron_plate.png^digtron_inventory.png"},
@@ -61,11 +63,13 @@ minetest.register_node("digtron:inventory",
-- Note that fuel stores are digtron group 5.
minetest.register_node("digtron:fuelstore",
{
- description = "Digtron Fuel Hopper",
+ description = "Digtron Fuel Storage",
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 5, tubedevice = 1, tubedevice_receiver = 1},
drop = "digtron:fuelstore",
sounds = digtron.metal_sounds,
paramtype2= "facedir",
+ drawtype = "nodebox",
+ paramtype = "light",
is_ground_content = false,
tiles = {"digtron_plate.png^digtron_fuelstore.png"},
@@ -145,6 +149,8 @@ minetest.register_node("digtron:combined_storage",
drop = "digtron:combined_storage",
sounds = digtron.metal_sounds,
paramtype2= "facedir",
+ drawtype = "nodebox",
+ paramtype = "light",
is_ground_content = false,
tiles = {"digtron_plate.png^digtron_combined_storage.png"},