Files
factorio-expcluster/modules/ExpGamingPlayer/playerList/src/ranking.lua
T

10 lines
298 B
Lua

local Role = require('ExpGamingCore.Role@^4.0.0')
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