working on more stuff for the berry.ui library

This commit is contained in:
SpookyDervish
2025-10-27 18:43:34 +11:00
parent 29d2cf1970
commit 4d3fd99a17
4 changed files with 77 additions and 11 deletions

View File

@@ -1,7 +1,12 @@
local plugin = {}
function testAction()
berry.ui.notify("I just ran the test action!")
end
function plugin.init()
berry.ui.notify(tostring(math.random(1,10)))
berry.ui.createAction("test", testAction)
berry.ui.addBind("test", "ctrl+d", "Test")
end
return plugin