summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-10 22:59:11 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-10 22:59:11 -0700
commite682130266799f7b320a9b56964963bb348cc1cb (patch)
tree701802e1013c2d1cd623c73fdfa1fd944202e1aa
parent38e1cbc41e470ec1fdfca7036056acc1297bcd1c (diff)
convert all the textures to transparent overlays on digtron_plate to allow easier reskinning
-rw-r--r--node_axle.lua12
-rw-r--r--node_builders.lua2
-rw-r--r--node_controllers.lua6
-rw-r--r--node_diggers.lua8
-rw-r--r--node_misc.lua2
-rw-r--r--node_storage.lua6
-rw-r--r--textures/digtron_axel_side.pngbin737 -> 310 bytes
-rw-r--r--textures/digtron_axel_top.pngbin743 -> 274 bytes
-rw-r--r--textures/digtron_builder.pngbin741 -> 783 bytes
-rw-r--r--textures/digtron_combined_storage.pngbin853 -> 574 bytes
-rw-r--r--textures/digtron_control.pngbin798 -> 459 bytes
-rw-r--r--textures/digtron_fuelstore.pngbin760 -> 581 bytes
-rw-r--r--textures/digtron_intermittent_motor.pngbin811 -> 559 bytes
-rw-r--r--textures/digtron_inventory.pngbin749 -> 556 bytes
-rw-r--r--textures/digtron_light.pngbin796 -> 528 bytes
-rw-r--r--textures/digtron_motor.pngbin793 -> 542 bytes
16 files changed, 18 insertions, 18 deletions
diff --git a/node_axle.lua b/node_axle.lua
index c30a401..c156c37 100644
--- a/node_axle.lua
+++ b/node_axle.lua
@@ -8,12 +8,12 @@ minetest.register_node("digtron:axle", {
is_ground_content = false,
-- Aims in the +Z direction by default
tiles = {
- "digtron_axel_top.png",
- "digtron_axel_top.png",
- "digtron_axel_side.png",
- "digtron_axel_side.png",
- "digtron_axel_side.png",
- "digtron_axel_side.png",
+ "digtron_plate.png^digtron_axel_top.png",
+ "digtron_plate.png^digtron_axel_top.png",
+ "digtron_plate.png^digtron_axel_side.png",
+ "digtron_plate.png^digtron_axel_side.png",
+ "digtron_plate.png^digtron_axel_side.png",
+ "digtron_plate.png^digtron_axel_side.png",
},
drawtype = "nodebox",
diff --git a/node_builders.lua b/node_builders.lua
index 9e348cc..50f485d 100644
--- a/node_builders.lua
+++ b/node_builders.lua
@@ -14,7 +14,7 @@ minetest.register_node("digtron:builder", {
"digtron_plate.png^[transformR270",
"digtron_plate.png",
"digtron_plate.png^[transformR180",
- "digtron_builder.png",
+ "digtron_plate.png^digtron_builder.png",
"digtron_plate.png",
},
diff --git a/node_controllers.lua b/node_controllers.lua
index caa7184..50c6a4e 100644
--- a/node_controllers.lua
+++ b/node_controllers.lua
@@ -27,7 +27,7 @@ minetest.register_node("digtron:controller", {
"digtron_plate.png",
"digtron_plate.png^[transformR180",
"digtron_plate.png",
- "digtron_control.png",
+ "digtron_plate.png^digtron_control.png",
},
drawtype = "nodebox",
@@ -133,7 +133,7 @@ minetest.register_node("digtron:auto_controller", {
"digtron_plate.png^[colorize:#88000030",
"digtron_plate.png^[transformR180^[colorize:#88000030",
"digtron_plate.png^[colorize:#88000030",
- "digtron_control.png^[colorize:#88000030",
+ "digtron_plate.png^digtron_control.png^[colorize:#88000030",
},
drawtype = "nodebox",
@@ -206,7 +206,7 @@ minetest.register_node("digtron:pusher", {
"digtron_plate.png^[colorize:#00880030",
"digtron_plate.png^[transformR180^[colorize:#00880030",
"digtron_plate.png^[colorize:#00880030",
- "digtron_control.png^[colorize:#00880030",
+ "digtron_plate.png^digtron_control.png^[colorize:#00880030",
},
drawtype = "nodebox",
diff --git a/node_diggers.lua b/node_diggers.lua
index 3a7d9f8..1fe18a2 100644
--- a/node_diggers.lua
+++ b/node_diggers.lua
@@ -69,7 +69,7 @@ minetest.register_node("digtron:digger", {
length = 1.0,
},
},
- "digtron_motor.png",
+ "digtron_plate.png^digtron_motor.png",
},
-- returns fuel_cost, item_produced
@@ -119,7 +119,7 @@ minetest.register_node("digtron:intermittent_digger", {
length = 1.0,
},
},
- "digtron_intermittent_motor.png",
+ "digtron_plate.png^digtron_intermittent_motor.png",
},
on_construct = intermittent_on_construct,
@@ -181,7 +181,7 @@ minetest.register_node("digtron:soft_digger", {
length = 1.0,
},
},
- "digtron_motor.png^[colorize:#88880030",
+ "digtron_plate.png^digtron_motor.png^[colorize:#88880030",
},
execute_dig = function(pos, protected_nodes, nodes_dug, controlling_coordinate)
@@ -238,7 +238,7 @@ minetest.register_node("digtron:intermittent_soft_digger", {
length = 1.0,
},
},
- "digtron_intermittent_motor.png^[colorize:#88880030",
+ "digtron_plate.png^digtron_intermittent_motor.png^[colorize:#88880030",
},
on_construct = intermittent_on_construct,
diff --git a/node_misc.lua b/node_misc.lua
index 2463d68..5ca0387 100644
--- a/node_misc.lua
+++ b/node_misc.lua
@@ -34,7 +34,7 @@ minetest.register_node("digtron:light", {
description = "Digtron Light",
groups = {cracky = 3, oddly_breakable_by_hand=3, digtron = 1},
drop = "digtron:light",
- tiles = {"digtron_light.png"},
+ tiles = {"digtron_plate.png^digtron_light.png"},
drawtype = "nodebox",
paramtype = "light",
is_ground_content = false,
diff --git a/node_storage.lua b/node_storage.lua
index e24fa98..3362258 100644
--- a/node_storage.lua
+++ b/node_storage.lua
@@ -8,7 +8,7 @@ minetest.register_node("digtron:inventory",
sounds = digtron.metal_sounds,
paramtype2= "facedir",
is_ground_content = false,
- tiles = {"digtron_inventory.png"},
+ tiles = {"digtron_plate.png^digtron_inventory.png"},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
@@ -67,7 +67,7 @@ minetest.register_node("digtron:fuelstore",
sounds = digtron.metal_sounds,
paramtype2= "facedir",
is_ground_content = false,
- tiles = {"digtron_fuelstore.png"},
+ tiles = {"digtron_plate.png^digtron_fuelstore.png"},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
@@ -146,7 +146,7 @@ minetest.register_node("digtron:combined_storage",
sounds = digtron.metal_sounds,
paramtype2= "facedir",
is_ground_content = false,
- tiles = {"digtron_combined_storage.png"},
+ tiles = {"digtron_plate.png^digtron_combined_storage.png"},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
diff --git a/textures/digtron_axel_side.png b/textures/digtron_axel_side.png
index b69b221..9e9fca0 100644
--- a/textures/digtron_axel_side.png
+++ b/textures/digtron_axel_side.png
Binary files differ
diff --git a/textures/digtron_axel_top.png b/textures/digtron_axel_top.png
index 86f292f..8100bb3 100644
--- a/textures/digtron_axel_top.png
+++ b/textures/digtron_axel_top.png
Binary files differ
diff --git a/textures/digtron_builder.png b/textures/digtron_builder.png
index fc3d5cc..446b76d 100644
--- a/textures/digtron_builder.png
+++ b/textures/digtron_builder.png
Binary files differ
diff --git a/textures/digtron_combined_storage.png b/textures/digtron_combined_storage.png
index 0925d12..300789d 100644
--- a/textures/digtron_combined_storage.png
+++ b/textures/digtron_combined_storage.png
Binary files differ
diff --git a/textures/digtron_control.png b/textures/digtron_control.png
index 0dfd1e4..569cfba 100644
--- a/textures/digtron_control.png
+++ b/textures/digtron_control.png
Binary files differ
diff --git a/textures/digtron_fuelstore.png b/textures/digtron_fuelstore.png
index c161541..aa91748 100644
--- a/textures/digtron_fuelstore.png
+++ b/textures/digtron_fuelstore.png
Binary files differ
diff --git a/textures/digtron_intermittent_motor.png b/textures/digtron_intermittent_motor.png
index 31afa6c..85f10b6 100644
--- a/textures/digtron_intermittent_motor.png
+++ b/textures/digtron_intermittent_motor.png
Binary files differ
diff --git a/textures/digtron_inventory.png b/textures/digtron_inventory.png
index 97e5d2f..b3160c4 100644
--- a/textures/digtron_inventory.png
+++ b/textures/digtron_inventory.png
Binary files differ
diff --git a/textures/digtron_light.png b/textures/digtron_light.png
index 695dcaf..87b1d9c 100644
--- a/textures/digtron_light.png
+++ b/textures/digtron_light.png
Binary files differ
diff --git a/textures/digtron_motor.png b/textures/digtron_motor.png
index 4e1f437..2ef5edb 100644
--- a/textures/digtron_motor.png
+++ b/textures/digtron_motor.png
Binary files differ