From 40ab3e011de5be83b342e5d2b67c2837294b2d58 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 16 Oct 2018 06:25:34 +0200 Subject: Add disable_repair group to prevent tool repair (#7381) --- doc/lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 19d6482ae..b079ac822 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1551,6 +1551,8 @@ Special groups connect to each other * `slippery`: Players and items will slide on the node. Slipperiness rises steadily with `slippery` value, starting at 1. +* `disable_repair`: If set to 1 for a tool, it cannot be repaired using the + `"toolrepair"` crafting recipe Known damage and digging time defining groups @@ -6156,6 +6158,8 @@ Used by `minetest.register_craft`. additional_wear = -0.02, } +Note: Tools with group `disable_repair=1` will not repairable by this recipe. + ### Cooking { -- cgit v1.2.3