use normal piston textures on sides of sticky piston plunger. Also fixes

deprecated tile_images bits.
This commit is contained in:
Vanessa Ezekowitz 2012-08-07 03:11:36 -04:00
parent ddbe33ed56
commit f502cbd801

@ -2,7 +2,7 @@
--registration normal one: --registration normal one:
minetest.register_node("mesecons_pistons:piston_normal", { minetest.register_node("mesecons_pistons:piston_normal", {
description = "Piston", description = "Piston",
tile_images = {"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 = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_side.png"},
groups = {cracky=3}, groups = {cracky=3},
paramtype2 = "facedir", paramtype2 = "facedir",
after_dig_node = function(pos, oldnode) after_dig_node = function(pos, oldnode)
@ -22,7 +22,7 @@ minetest.register_node("mesecons_pistons:piston_normal", {
--registration sticky one: --registration sticky one:
minetest.register_node("mesecons_pistons:piston_sticky", { minetest.register_node("mesecons_pistons:piston_sticky", {
description = "Sticky Piston", description = "Sticky Piston",
tile_images = {"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 = {"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"},
groups = {cracky=3}, groups = {cracky=3},
paramtype2 = "facedir", paramtype2 = "facedir",
after_dig_node = function(pos, oldnode) after_dig_node = function(pos, oldnode)
@ -58,7 +58,7 @@ minetest.register_craft({
minetest.register_node("mesecons_pistons:piston_pusher_normal", { minetest.register_node("mesecons_pistons:piston_pusher_normal", {
drawtype = "nodebox", drawtype = "nodebox",
tile_images = {"jeija_piston_pusher_normal.png"}, tiles = {"jeija_piston_pusher_normal.png"},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
diggable = false, diggable = false,
@ -83,7 +83,14 @@ mesecon:register_mvps_stopper("mesecons_pistons:piston_pusher_sticky")
minetest.register_node("mesecons_pistons:piston_pusher_sticky", { minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
drawtype = "nodebox", drawtype = "nodebox",
tile_images = {"jeija_piston_pusher_sticky.png"}, tiles = {
"jeija_piston_pusher_normal.png",
"jeija_piston_pusher_normal.png",
"jeija_piston_pusher_normal.png",
"jeija_piston_pusher_normal.png",
"jeija_piston_pusher_normal.png",
"jeija_piston_pusher_sticky.png"
},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
diggable = false, diggable = false,