moreblocks/invsaw/unified_inventory.lua

11 lines
217 B
Lua
Raw Normal View History

2022-06-20 00:26:05 +02:00
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,
})