revamped textures for all pistons, tweaked thickness of piston pusher

This commit is contained in:
Vanessa Ezekowitz 2012-12-27 12:13:40 -05:00
parent d3b77b5be3
commit cdd9a93da9
19 changed files with 138 additions and 39 deletions

View File

@ -92,7 +92,7 @@ end
-- Horizontal pistons -- Horizontal pistons
local pt = 2/16 -- pusher thickness local pt = 3/16 -- pusher thickness
local piston_pusher_box = { local piston_pusher_box = {
type = "fixed", type = "fixed",
@ -124,7 +124,14 @@ local pistonspec_normal = {
-- offstate -- offstate
minetest.register_node("mesecons_pistons:piston_normal_off", { minetest.register_node("mesecons_pistons:piston_normal_off", {
description = "Piston", description = "Piston",
tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_side.png"}, tiles = {
"mesecons_piston_top.png",
"mesecons_piston_bottom.png",
"mesecons_piston_left.png",
"mesecons_piston_right.png",
"mesecons_piston_back.png",
"mesecons_piston_pusher_front.png"
},
groups = {cracky = 3}, groups = {cracky = 3},
paramtype2 = "facedir", paramtype2 = "facedir",
after_place_node = piston_orientate, after_place_node = piston_orientate,
@ -138,7 +145,14 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
-- onstate -- onstate
minetest.register_node("mesecons_pistons:piston_normal_on", { minetest.register_node("mesecons_pistons:piston_normal_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, tiles = {
"mesecons_piston_top.png",
"mesecons_piston_bottom.png",
"mesecons_piston_left.png",
"mesecons_piston_right.png",
"mesecons_piston_back.png",
"mesecons_piston_on_front.png"
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -156,7 +170,14 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
-- pusher -- pusher
minetest.register_node("mesecons_pistons:piston_pusher_normal", { minetest.register_node("mesecons_pistons:piston_pusher_normal", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_pusher_normal.png"}, tiles = {
"mesecons_piston_pusher_top.png",
"mesecons_piston_pusher_bottom.png",
"mesecons_piston_pusher_left.png",
"mesecons_piston_pusher_right.png",
"mesecons_piston_pusher_back.png",
"mesecons_piston_pusher_front.png"
},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
diggable = false, diggable = false,
@ -180,7 +201,14 @@ local pistonspec_sticky = {
-- offstate -- offstate
minetest.register_node("mesecons_pistons:piston_sticky_off", { minetest.register_node("mesecons_pistons:piston_sticky_off", {
description = "Sticky Piston", description = "Sticky Piston",
tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_sticky_side.png"}, tiles = {
"mesecons_piston_top.png",
"mesecons_piston_bottom.png",
"mesecons_piston_left.png",
"mesecons_piston_right.png",
"mesecons_piston_back.png",
"mesecons_piston_pusher_front_sticky.png"
},
groups = {cracky = 3}, groups = {cracky = 3},
paramtype2 = "facedir", paramtype2 = "facedir",
after_place_node = piston_orientate, after_place_node = piston_orientate,
@ -194,7 +222,14 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
-- onstate -- onstate
minetest.register_node("mesecons_pistons:piston_sticky_on", { minetest.register_node("mesecons_pistons:piston_sticky_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, tiles = {
"mesecons_piston_top.png",
"mesecons_piston_bottom.png",
"mesecons_piston_left.png",
"mesecons_piston_right.png",
"mesecons_piston_back.png",
"mesecons_piston_on_front.png"
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -213,12 +248,12 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
minetest.register_node("mesecons_pistons:piston_pusher_sticky", { minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_top.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_bottom.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_left.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_right.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_back.png",
"jeija_piston_pusher_sticky.png" "mesecons_piston_pusher_front_sticky.png"
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -260,7 +295,14 @@ local pistonspec_normal_up = {
-- offstate -- offstate
minetest.register_node("mesecons_pistons:piston_up_normal_off", { minetest.register_node("mesecons_pistons:piston_up_normal_off", {
tiles = {"jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, tiles = {
"mesecons_piston_pusher_front.png",
"mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270",
"mesecons_piston_right.png^[transformR90",
"mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype2 = "facedir", paramtype2 = "facedir",
drop = {"mesecons_pistons:piston_normal_off"}, drop = {"mesecons_pistons:piston_normal_off"},
@ -273,7 +315,14 @@ minetest.register_node("mesecons_pistons:piston_up_normal_off", {
-- onstate -- onstate
minetest.register_node("mesecons_pistons:piston_up_normal_on", { minetest.register_node("mesecons_pistons:piston_up_normal_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_tb.png"}, tiles = {
"mesecons_piston_on_front.png",
"mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270",
"mesecons_piston_right.png^[transformR90",
"mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -290,7 +339,14 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", {
-- pusher -- pusher
minetest.register_node("mesecons_pistons:piston_up_pusher_normal", { minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_pusher_normal.png"}, tiles = {
"mesecons_piston_pusher_front.png",
"mesecons_piston_pusher_back.png",
"mesecons_piston_pusher_left.png^[transformR270",
"mesecons_piston_pusher_right.png^[transformR90",
"mesecons_piston_pusher_bottom.png",
"mesecons_piston_pusher_top.png^[transformR180",
},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
diggable = false, diggable = false,
@ -314,7 +370,15 @@ local pistonspec_sticky_up = {
-- offstate -- offstate
minetest.register_node("mesecons_pistons:piston_up_sticky_off", { minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
tiles = {"jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, tiles = {
"mesecons_piston_pusher_front_sticky.png",
"mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270",
"mesecons_piston_right.png^[transformR90",
"mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180",
"mesecons_piston_tb.png"
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype2 = "facedir", paramtype2 = "facedir",
drop = {"mesecons_pistons:piston_sticky_off"}, drop = {"mesecons_pistons:piston_sticky_off"},
@ -327,7 +391,14 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
-- onstate -- onstate
minetest.register_node("mesecons_pistons:piston_up_sticky_on", { minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_tb.png"}, tiles = {
"mesecons_piston_on_front.png",
"mesecons_piston_back.png",
"mesecons_piston_left.png^[transformR270",
"mesecons_piston_right.png^[transformR90",
"mesecons_piston_bottom.png",
"mesecons_piston_top.png^[transformR180",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -345,12 +416,12 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", { minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"jeija_piston_pusher_sticky.png", "mesecons_piston_pusher_front_sticky.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_back.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_left.png^[transformR270",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_right.png^[transformR90",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_bottom.png",
"jeija_piston_pusher_normal.png" "mesecons_piston_pusher_top.png^[transformR180",
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -394,7 +465,14 @@ 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 = {"jeija_piston_tb.png", "jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, tiles = {
"mesecons_piston_back.png",
"mesecons_piston_pusher_front.png",
"mesecons_piston_left.png^[transformR90",
"mesecons_piston_right.png^[transformR270",
"mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype2 = "facedir", paramtype2 = "facedir",
drop = {"mesecons_pistons:piston_normal_off"}, drop = {"mesecons_pistons:piston_normal_off"},
@ -407,7 +485,14 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", {
-- onstate -- onstate
minetest.register_node("mesecons_pistons:piston_down_normal_on", { minetest.register_node("mesecons_pistons:piston_down_normal_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_tb.png"}, tiles = {
"mesecons_piston_back.png",
"mesecons_piston_on_front.png",
"mesecons_piston_left.png^[transformR90",
"mesecons_piston_right.png^[transformR270",
"mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -425,12 +510,12 @@ minetest.register_node("mesecons_pistons:piston_down_normal_on", {
minetest.register_node("mesecons_pistons:piston_down_pusher_normal", { minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"jeija_piston_pusher_sticky.png", "mesecons_piston_pusher_back.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_front.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_left.png^[transformR90",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_right.png^[transformR270",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_bottom.png^[transformR180",
"jeija_piston_pusher_normal.png" "mesecons_piston_pusher_top.png",
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -452,7 +537,14 @@ 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 = {"jeija_piston_tb.png", "jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, tiles = {
"mesecons_piston_back.png",
"mesecons_piston_pusher_front_sticky.png",
"mesecons_piston_left.png^[transformR90",
"mesecons_piston_right.png^[transformR270",
"mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype2 = "facedir", paramtype2 = "facedir",
drop = {"mesecons_pistons:piston_sticky_off"}, drop = {"mesecons_pistons:piston_sticky_off"},
@ -465,7 +557,14 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
-- onstate -- onstate
minetest.register_node("mesecons_pistons:piston_down_sticky_on", { minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_piston_tb.png"}, tiles = {
"mesecons_piston_back.png",
"mesecons_piston_on_front.png",
"mesecons_piston_left.png^[transformR90",
"mesecons_piston_right.png^[transformR270",
"mesecons_piston_bottom.png^[transformR180",
"mesecons_piston_top.png",
},
groups = {cracky = 3, not_in_creative_inventory = 1}, groups = {cracky = 3, not_in_creative_inventory = 1},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -483,12 +582,12 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", { minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_back.png",
"jeija_piston_pusher_sticky.png", "mesecons_piston_pusher_front_sticky.png",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_left.png^[transformR90",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_right.png^[transformR270",
"jeija_piston_pusher_normal.png", "mesecons_piston_pusher_bottom.png^[transformR180",
"jeija_piston_pusher_normal.png" "mesecons_piston_pusher_top.png",
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B