Apply disable_repair group
This commit is contained in:
parent
af3785021b
commit
502be105ac
|
@ -169,6 +169,7 @@ minetest.register_tool("doc_identifier:identifier_solid", {
|
|||
_doc_items_hidden = false,
|
||||
tool_capabilities = {},
|
||||
range = 10,
|
||||
groups = { disable_repair = 1 },
|
||||
wield_image = "doc_identifier_identifier.png",
|
||||
inventory_image = "doc_identifier_identifier.png",
|
||||
liquids_pointable = false,
|
||||
|
@ -181,7 +182,7 @@ minetest.register_tool("doc_identifier:identifier_liquid", {
|
|||
_doc_items_create_entry = false,
|
||||
tool_capabilities = {},
|
||||
range = 10,
|
||||
groups = { not_in_creative_inventory = 1, not_in_craft_guide = 1 },
|
||||
groups = { not_in_creative_inventory = 1, not_in_craft_guide = 1, disable_repair=1 },
|
||||
wield_image = "doc_identifier_identifier_liquid.png",
|
||||
inventory_image = "doc_identifier_identifier_liquid.png",
|
||||
liquids_pointable = true,
|
||||
|
|
|
@ -63,7 +63,7 @@ function watch.register_item(name, image, creative, frame)
|
|||
_doc_items_longdesc = longdesc,
|
||||
_doc_items_usagehelp = usagehelp,
|
||||
inventory_image = image,
|
||||
groups = {not_in_creative_inventory=g, tool=1, clock=frame},
|
||||
groups = {not_in_creative_inventory=g, tool=1, clock=frame, disable_repair=1},
|
||||
wield_image = "",
|
||||
stack_max = 64,
|
||||
})
|
||||
|
|
|
@ -90,7 +90,7 @@ for i,img in ipairs(images) do
|
|||
inventory_image = img,
|
||||
wield_image = img,
|
||||
stack_max = 64,
|
||||
groups = {not_in_creative_inventory=inv, compass=i, tool=1}
|
||||
groups = {not_in_creative_inventory=inv, compass=i, tool=1, disable_repair=1}
|
||||
})
|
||||
|
||||
-- Help aliases. Makes sure the lookup tool works correctly
|
||||
|
|
Loading…
Reference in New Issue
Block a user