The source project of this merge request has been removed.
Read-only Lua API for player profiles
This adds read-only access to the player profiles. The profiles are provided as a global array named profiles, which is 0-indexed like the players array. To get the currently in-use profile, the currprofile global can be used to index the profiles array. All profile_t fields, except for secret_key and controls, can be read in Lua.