GetPlayerTattooNames

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 02:32, 9 September 2026 by QCherry (talk | contribs) (Document skin color and tattoos available from 0.1.3; identity/armor improvements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getPlayerTattooNames

AVAILABLE FROM UPDATE 0.1.3
This function is available in G1R:MP 0.1.3 and later. The contract below includes the compatibility guarantees introduced in that update.

Returns the allowlisted tattoo preset keys accepted by setPlayerTattoo.

Syntax

table getPlayerTattooNames()

Parameters

This function does not accept parameters.

Returns

Returns a sequential Lua table of canonical lowercase preset-name strings. No player identifier is required.

Examples

List the supported tattoo keys:

for _, key in ipairs(getPlayerTattooNames()) do
    outputDebugString("Tattoo: " .. key)
end

Notes

  • Available only in server-side resource scripts.
  • Alias: GetPlayerTattooNames.
  • Catalog: none, novice1, novice2, novice3, novice4, lester, templar1, templar2, templar3, guru, yberion, corkalom.
  • The list includes the explicit removal preset none. It does not include default or reset; call resetPlayerTattoo to disable the override.
  • This is a fixed supported catalog, not discovery of arbitrary game textures. Presets differ in their head/torso/legs regions, and a name does not guarantee visibility through armor or support by every material.
  • See Player customization and Player tattoo catalog.