Show repairing recipes in craft guide

This commit is contained in:
Wuzzy 2017-02-14 16:35:25 +01:00
parent 3bb5ab67d6
commit ea583a2d70
2 changed files with 32 additions and 6 deletions

View file

@ -58,7 +58,7 @@ minetest.register_tool("mcl_throwing:bow_0", {
description = "Bow",
inventory_image = "mcl_throwing_bow_0.png",
stack_max = 1,
groups = {not_in_creative_inventory=1},
groups = {not_in_creative_inventory=1, not_in_craft_guide=1},
on_place = function(itemstack, placer, pointed_thing)
local wear = itemstack:get_wear()
itemstack:replace("mcl_throwing:bow_1")
@ -81,7 +81,7 @@ minetest.register_tool("mcl_throwing:bow_1", {
description = "Bow",
inventory_image = "mcl_throwing_bow_1.png",
stack_max = 1,
groups = {not_in_creative_inventory=1},
groups = {not_in_creative_inventory=1, not_in_craft_guide=1},
on_place = function(itemstack, placer, pointed_thing)
local wear = itemstack:get_wear()
itemstack:replace("mcl_throwing:bow_2")
@ -104,7 +104,7 @@ minetest.register_tool("mcl_throwing:bow_2", {
description = "Bow",
inventory_image = "mcl_throwing_bow_2.png",
stack_max = 1,
groups = {not_in_creative_inventory=1},
groups = {not_in_creative_inventory=1, not_in_craft_guide=1},
on_use = function(itemstack, user, pointed_thing)
local wear = itemstack:get_wear()
itemstack:replace("mcl_throwing:bow")