Skip to content

profileCharacteristics

Raenore edited this page Jul 5, 2024 · 5 revisions

This section holds all of the information about how your TRP profile appears, and all of your character info

Structure

These values could be in a different order than seen here.

  • CH: Hex Value for your chosen class color
  • RA: Character Race
  • MI: Additional Information Section
    • Each entry has three attributes
      • IC: Icon name to represent the entry
      • NA: Title of entry
      • VA: Value of entry
  • EC: Eye Color
  • EH: Eye Color Hex Value
  • RE: Residence
  • RC: Residence Coordinates
  • BP: Birthplace
  • FN: First Name
  • LN: Last Name
  • TI: Title
  • v: Version, increments up by one every time changes are made
  • AG: Age
  • CL: Class Text
  • IC: Character Icon
  • WE: Weight
  • HE: Height
  • RS: Relationship Status
    • 0: Unknown
    • 1: Single
    • 2: Taken
    • 3: Married
    • 4: Divorced
    • 5: Widowed
  • PS: Personality Sliders
    • For Default Sliders
      • ID: ID of default slider (confusing)
      • VA: Deprecated
      • V2: Value of the left slider, right value is 20 - V2
    • For Custom Sliders
      • LT: Left Title
      • RT: Right Title
      • V2: Value of the left slider, right value is 20 - V2
      • RC: Right Color, contains a table with r, b, g values
      • VA: Deprecated
      • LC: Same as Right Color, but on the Left
      • LI: Left Icon
      • RI: Right Icon

Accessing Your Characteristics

path: "player/characteristics"

local characteristics = TRP3_API.profile.getData("player/characteristics")
-- attributes can be accessed as follows
local race = characteristics.RA
local weight = characteristics.WE

To access the attributes of a profile other than your currently active profile, see getData.

Clone this wiki locally