diff options
author | sfan5 <sfan5@live.de> | 2012-08-07 01:43:49 -0700 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2012-08-07 01:43:49 -0700 |
commit | 9453e9ac07e44fcbfc6cbcce2c43540146537ac0 (patch) | |
tree | a7e0698fce6680047d9fdf663ae14e8223a6ed1b /mesecons_pistons | |
parent | df7edcb35c39df211582d1801a12af99e8532679 (diff) | |
parent | 6aa2f2d5be7b1129665e91e833a5e143e7a522b6 (diff) | |
download | mesecons-9453e9ac07e44fcbfc6cbcce2c43540146537ac0.tar mesecons-9453e9ac07e44fcbfc6cbcce2c43540146537ac0.tar.gz mesecons-9453e9ac07e44fcbfc6cbcce2c43540146537ac0.tar.bz2 mesecons-9453e9ac07e44fcbfc6cbcce2c43540146537ac0.tar.xz mesecons-9453e9ac07e44fcbfc6cbcce2c43540146537ac0.zip |
Merge pull request #9 from VanessaE/master
Better wall button nodeboxes
Diffstat (limited to 'mesecons_pistons')
-rw-r--r-- | mesecons_pistons/init.lua | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index b3269bc..ccb5630 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -2,7 +2,7 @@ --registration normal one: minetest.register_node("mesecons_pistons:piston_normal", { 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}, paramtype2 = "facedir", after_dig_node = function(pos, oldnode) @@ -22,7 +22,7 @@ minetest.register_node("mesecons_pistons:piston_normal", { --registration sticky one: minetest.register_node("mesecons_pistons:piston_sticky", { 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}, paramtype2 = "facedir", after_dig_node = function(pos, oldnode) @@ -58,7 +58,7 @@ minetest.register_craft({ minetest.register_node("mesecons_pistons:piston_pusher_normal", { drawtype = "nodebox", - tile_images = {"jeija_piston_pusher_normal.png"}, + tiles = {"jeija_piston_pusher_normal.png"}, paramtype = "light", paramtype2 = "facedir", diggable = false, @@ -83,7 +83,14 @@ mesecon:register_mvps_stopper("mesecons_pistons:piston_pusher_sticky") minetest.register_node("mesecons_pistons:piston_pusher_sticky", { 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", paramtype2 = "facedir", diggable = false, @@ -211,4 +218,4 @@ function mesecon:piston_get_direction(node) else --node.param2 == 0 return {x=0, y=0, z=-1} end -end
\ No newline at end of file +end |