mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 15:00:19 +01:00
11 lines
217 B
Lua
11 lines
217 B
Lua
|
local ui = unified_inventory
|
||
|
|
||
|
ui.register_button("saw", {
|
||
|
type = "image",
|
||
|
image = "stairsplus_saw_button.png",
|
||
|
tooltip = "Circular Saw",
|
||
|
condition = function(player)
|
||
|
return invsaw.allow_use_saw(player)
|
||
|
end,
|
||
|
})
|