mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2025-01-09 17:40:32 +01:00
Disable repair
This commit is contained in:
parent
491f8a11d6
commit
6dbca794c9
1
init.lua
1
init.lua
@ -901,6 +901,7 @@ S("The node HUD is not updated automatically any may be outdated. The node HUD o
|
|||||||
wield_image = "schemedit_probtool.png",
|
wield_image = "schemedit_probtool.png",
|
||||||
inventory_image = "schemedit_probtool.png",
|
inventory_image = "schemedit_probtool.png",
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
|
groups = { disable_repair = 1 },
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
local ctrl = user:get_player_control()
|
local ctrl = user:get_player_control()
|
||||||
-- Simple use
|
-- Simple use
|
||||||
|
Loading…
Reference in New Issue
Block a user