mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 12:16:37 +09:00
12 lines
358 B
Lua
12 lines
358 B
Lua
local Role = require('ExpGamingCore.Role@^4.0.0')
|
|
|
|
script.on_event(defines.events.on_role_change,self.update)
|
|
|
|
return function()
|
|
local rtn = {}
|
|
for _,role_name in pairs(Role.order) do
|
|
local role = Role.get(role_name)
|
|
table.insert(rtn,{role.colour,role.short_hand,role:get_players(true),role.not_reportable})
|
|
end
|
|
return rtn
|
|
end |