update: packages,lua,lobby (2 files)

This commit is contained in:
2025-12-26 00:58:17 +00:00
parent 17c1f98c08
commit 38b3a4e47e
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
local M = {}
function M.on_install(context)
return { message = "Arcade Lobby installed", version = context.version }
end
function M.on_uninstall()
return { message = "Arcade Lobby removed" }
end
return M

View File

@@ -0,0 +1,14 @@
local M = {}
function M.assign_bucket(party)
local size = party.size or 1
if size >= 4 then
return "squad"
end
if size == 2 then
return "duo"
end
return "solo"
end
return M