Add more node groups
This commit is contained in:
parent
7df94278cf
commit
1a02ccd36f
5 changed files with 29 additions and 18 deletions
|
@ -188,7 +188,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
|
|||
"mesecons_piston_back.png",
|
||||
"mesecons_piston_pusher_front.png"
|
||||
},
|
||||
groups = {handy = 1},
|
||||
groups = {handy = 1, piston=1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -220,7 +220,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
|
|||
"mesecons_piston_back.png",
|
||||
"mesecons_piston_on_front.png"
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -252,6 +252,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { piston_pusher = 1 },
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
diggable = false,
|
||||
|
@ -290,7 +291,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
|
|||
"mesecons_piston_back.png",
|
||||
"mesecons_piston_pusher_front_sticky.png"
|
||||
},
|
||||
groups = {handy=1},
|
||||
groups = {handy=1, piston=2},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -322,7 +323,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
|
|||
"mesecons_piston_back.png",
|
||||
"mesecons_piston_on_front.png"
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=2, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -354,6 +355,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { piston_pusher = 2 },
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
diggable = false,
|
||||
|
@ -406,7 +408,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_off", {
|
|||
"mesecons_piston_bottom.png",
|
||||
"mesecons_piston_bottom.png",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -441,7 +443,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", {
|
|||
"mesecons_piston_bottom.png",
|
||||
"mesecons_piston_bottom.png",
|
||||
},
|
||||
groups = {hanry=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston_=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -473,6 +475,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { piston_pusher = 1 },
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
diggable = false,
|
||||
|
@ -508,7 +511,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
|
|||
"mesecons_piston_bottom.png",
|
||||
"mesecons_piston_bottom.png",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=2, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -543,7 +546,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
|
|||
"mesecons_piston_bottom.png",
|
||||
"mesecons_piston_bottom.png",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=2, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -575,6 +578,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { piston_pusher = 2 },
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
diggable = false,
|
||||
|
@ -629,7 +633,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", {
|
|||
"mesecons_piston_bottom.png^[transformR180",
|
||||
"mesecons_piston_bottom.png^[transformR180",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -662,7 +666,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_on", {
|
|||
"mesecons_piston_bottom.png^[transformR180",
|
||||
"mesecons_piston_bottom.png^[transformR180",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -694,6 +698,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { piston_pusher = 1 },
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
diggable = false,
|
||||
|
@ -726,7 +731,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
|
|||
"mesecons_piston_bottom.png^[transformR180",
|
||||
"mesecons_piston_bottom.png^[transformR180",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=2, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -759,7 +764,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
|
|||
"mesecons_piston_bottom.png^[transformR180",
|
||||
"mesecons_piston_bottom.png^[transformR180",
|
||||
},
|
||||
groups = {handy=1, not_in_creative_inventory = 1},
|
||||
groups = {handy=1, piston=1, not_in_creative_inventory = 1},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
|
@ -791,6 +796,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
|
|||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = { piston_pusher = 2 },
|
||||
is_ground_content = false,
|
||||
after_destruct = piston_remove_base,
|
||||
diggable = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue