summaryrefslogtreecommitdiff
path: root/node_storage.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-21 20:38:19 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-21 20:38:19 -0700
commitd2df31bd6b499560dac82d9c15d937b5e4179ae5 (patch)
treec6700b789a7e8437c4cc2064674af31c76e4b638 /node_storage.lua
parent5008943d94bf12e6eda7ffaec197f8c6771d8f9b (diff)
Revamp storage module textures, controller colorization
Diffstat (limited to 'node_storage.lua')
-rw-r--r--node_storage.lua27
1 files changed, 23 insertions, 4 deletions
diff --git a/node_storage.lua b/node_storage.lua
index 18b7668..dd34014 100644
--- a/node_storage.lua
+++ b/node_storage.lua
@@ -11,7 +11,14 @@ minetest.register_node("digtron:inventory", {
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
- tiles = {"digtron_plate.png^digtron_inventory.png"},
+ tiles = {
+ "digtron_plate.png^digtron_crossbrace.png",
+ "digtron_plate.png^digtron_crossbrace.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_storage.png",
+ },
on_construct = function(pos)
local meta = minetest.get_meta(pos)
@@ -73,7 +80,14 @@ minetest.register_node("digtron:fuelstore", {
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
- tiles = {"digtron_plate.png^digtron_fuelstore.png"},
+ tiles = {
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable.png^digtron_storage.png",
+ },
on_construct = function(pos)
local meta = minetest.get_meta(pos)
@@ -155,8 +169,13 @@ minetest.register_node("digtron:combined_storage", {
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
- tiles = {"digtron_plate.png^digtron_combined_storage.png"},
-
+ tiles = {
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable_small.png^[transformR180^digtron_flammable_small.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable_small.png^[transformR180^digtron_flammable_small.png", "digtron_plate.png^digtron_crossbrace.png^digtron_flammable_small.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable_small.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable_small.png^digtron_storage.png",
+ "digtron_plate.png^digtron_crossbrace.png^digtron_flammable_small.png^digtron_storage.png",
+ },
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec",