mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Add disable_repair group to prevent tool repair (#7381)
This commit is contained in:
parent
b6adb7f09e
commit
40ab3e011d
3 changed files with 33 additions and 1 deletions
|
@ -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
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue