mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-16 15:30:17 +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,
|
||
|
})
|