Modding:NameType: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
(NameType enum)
 
m (Add nametype to lua class reference)
 
Line 6: Line 6:


See [[Modding:Defining Names|defining names]] for some further detail on how mods can/should define names.
See [[Modding:Defining Names|defining names]] for some further detail on how mods can/should define names.
[[Category:LUA Class Reference]]

Latest revision as of 00:33, 9 January 2026

This is a globally available enum, with the following values:

  • Unspecified - Any other situation (typically set to the same as UI)
  • UI - Used for buttons, etc. Often changes based on state, like "Sleeping Fox"
  • GameText - Personal name, used in text scenes. Typically doesn't change and is how the entity would be described in conversation

See defining names for some further detail on how mods can/should define names.