Remove redundant piston side textures

This commit is contained in:
Wuzzy 2017-07-17 17:29:53 +02:00
parent f5bcea2bde
commit 4fdf601b69
4 changed files with 60 additions and 81 deletions

View File

@ -163,11 +163,11 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
_doc_items_longdesc = "A piston is a redstone component with a pusher which pushes the block or blocks in front of it when it is supplied with redstone power. Not all blocks can be pushed, however.", _doc_items_longdesc = "A piston is a redstone component with a pusher which pushes the block or blocks in front of it when it is supplied with redstone power. Not all blocks can be pushed, however.",
_doc_items_usagehelp = usagehelp_piston, _doc_items_usagehelp = usagehelp_piston,
tiles = { tiles = {
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_left.png", "mesecons_piston_bottom.png^[transformR90",
"mesecons_piston_right.png", "mesecons_piston_bottom.png^[transformR270",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_pusher_front.png" "mesecons_piston_pusher_front.png"
}, },
groups = {handy = 1}, groups = {handy = 1},
@ -190,15 +190,13 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
minetest.register_node("mesecons_pistons:piston_normal_on", { minetest.register_node("mesecons_pistons:piston_normal_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_left.png", "mesecons_piston_bottom.png^[transformR90",
"mesecons_piston_right.png", "mesecons_piston_bottom.png^[transformR270",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_on_front.png" "mesecons_piston_on_front.png"
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -260,11 +258,11 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
_doc_items_usagehelp = usagehelp_piston, _doc_items_usagehelp = usagehelp_piston,
tiles = { tiles = {
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_left.png", "mesecons_piston_bottom.png^[transformR90",
"mesecons_piston_right.png", "mesecons_piston_bottom.png^[transformR270",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_pusher_front_sticky.png" "mesecons_piston_pusher_front_sticky.png"
}, },
groups = {handy=1}, groups = {handy=1},
@ -287,15 +285,13 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
minetest.register_node("mesecons_pistons:piston_sticky_on", { minetest.register_node("mesecons_pistons:piston_sticky_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_left.png", "mesecons_piston_bottom.png^[transformR90",
"mesecons_piston_right.png", "mesecons_piston_bottom.png^[transformR270",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_on_front.png" "mesecons_piston_on_front.png"
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -372,14 +368,12 @@ local pistonspec_normal_up = {
minetest.register_node("mesecons_pistons:piston_up_normal_off", { minetest.register_node("mesecons_pistons:piston_up_normal_off", {
tiles = { tiles = {
"mesecons_piston_pusher_front.png", "mesecons_piston_pusher_front.png",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270", "mesecons_piston_bottom.png",
"mesecons_piston_right.png^[transformR90", "mesecons_piston_bottom.png",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180", "mesecons_piston_bottom.png",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -401,14 +395,12 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_piston_on_front.png", "mesecons_piston_on_front.png",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270", "mesecons_piston_bottom.png",
"mesecons_piston_right.png^[transformR90", "mesecons_piston_bottom.png",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180", "mesecons_piston_bottom.png",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {hanry=1, not_in_creative_inventory = 1}, groups = {hanry=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -468,15 +460,12 @@ local pistonspec_sticky_up = {
minetest.register_node("mesecons_pistons:piston_up_sticky_off", { minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
tiles = { tiles = {
"mesecons_piston_pusher_front_sticky.png", "mesecons_piston_pusher_front_sticky.png",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270", "mesecons_piston_bottom.png",
"mesecons_piston_right.png^[transformR90", "mesecons_piston_bottom.png",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180", "mesecons_piston_bottom.png",
"mesecons_piston_tb.png"
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -498,14 +487,12 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_piston_on_front.png", "mesecons_piston_on_front.png",
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270", "mesecons_piston_bottom.png",
"mesecons_piston_right.png^[transformR90", "mesecons_piston_bottom.png",
"mesecons_piston_bottom.png", "mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180", "mesecons_piston_bottom.png",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -583,15 +570,13 @@ local pistonspec_normal_down = {
-- offstate -- offstate
minetest.register_node("mesecons_pistons:piston_down_normal_off", { minetest.register_node("mesecons_pistons:piston_down_normal_off", {
tiles = { tiles = {
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_pusher_front.png", "mesecons_piston_pusher_front.png",
"mesecons_piston_left.png^[transformR90", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_right.png^[transformR270", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png^[transformR180", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -612,15 +597,13 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", {
minetest.register_node("mesecons_pistons:piston_down_normal_on", { minetest.register_node("mesecons_pistons:piston_down_normal_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_on_front.png", "mesecons_piston_on_front.png",
"mesecons_piston_left.png^[transformR90", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_right.png^[transformR270", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png^[transformR180", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -676,15 +659,13 @@ local pistonspec_sticky_down = {
-- offstate -- offstate
minetest.register_node("mesecons_pistons:piston_down_sticky_off", { minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
tiles = { tiles = {
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_pusher_front_sticky.png", "mesecons_piston_pusher_front_sticky.png",
"mesecons_piston_left.png^[transformR90", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_right.png^[transformR270", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png^[transformR180", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
@ -705,15 +686,13 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
minetest.register_node("mesecons_pistons:piston_down_sticky_on", { minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"mesecons_piston_back.png", "mesecons_piston_back.png",
"mesecons_piston_on_front.png", "mesecons_piston_on_front.png",
"mesecons_piston_left.png^[transformR90", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_right.png^[transformR270", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_bottom.png^[transformR180", "mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png", "mesecons_piston_bottom.png^[transformR180",
}, },
inventory_image = "mesecons_piston_top.png",
wield_image = "mesecons_piston_top.png",
groups = {handy=1, not_in_creative_inventory = 1}, groups = {handy=1, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB