unlist buttons from crafting guide

master
Milan* 2017-12-19 11:16:49 +01:00
parent 74ef01e14b
commit bb71554cc6
1 changed files with 5 additions and 5 deletions

View File

@ -567,7 +567,7 @@ local register_robot_button = function(R,G,B,type)
wield_image = "robot_button.png^[colorize:#"..R..G..B..":180",
is_ground_content = false,
groups = {cracky=3},
groups = {cracky=3,not_in_craft_guide=1},
on_punch = function(pos, node, player)
local name = player:get_player_name(); if name==nil then return end
local round = math.floor;
@ -591,7 +591,7 @@ minetest.register_node("basic_robot:button"..number,
wield_image = "robot_button".. number .. ".png",
is_ground_content = false,
groups = {cracky=3},
groups = {cracky=3,not_in_craft_guide=1},
on_punch = function(pos, node, player)
local name = player:get_player_name(); if name==nil then return end
local round = math.floor;
@ -614,7 +614,7 @@ minetest.register_node("basic_robot:button_"..number,
inventory_image = string.format("%03d",number).. ".png",
wield_image = string.format("%03d",number).. ".png",
is_ground_content = false,
groups = {cracky=3},
groups = {cracky=3,not_in_craft_guide=1},
on_punch = function(pos, node, player)
local name = player:get_player_name(); if name==nil then return end
local round = math.floor;
@ -636,7 +636,7 @@ minetest.register_node("basic_robot:button_"..number,
inventory_image = texture .. ".png",
wield_image = texture .. ".png",
is_ground_content = false,
groups = {cracky=3},
groups = {cracky=3,not_in_craft_guide=1},
on_punch = function(pos, node, player)
local name = player:get_player_name(); if name==nil then return end
local round = math.floor;
@ -1353,4 +1353,4 @@ basic_robot.commands.puzzle = {
end
return true
end,
}
}