Difference between revisions of "ObjVarlist"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Created page with "This is a list of ObjVar found on chars, creatures or items, and their meaning. * '''AttrXXX''' (where XXX = Str|Agi|Con|Int|Wis|Will). ** Applies to: chars. ** Meaning: it ho...")
 
Line 17: Line 17:
 
** Default: defined in each XML template.
 
** Default: defined in each XML template.
 
** Examples: Animal, Bandit, Cultists, Giant, Mercenary Thief, Rebels, Sewer, UndeadGraveyard, Villagers, Wolves.
 
** Examples: Animal, Bandit, Cultists, Giant, Mercenary Thief, Rebels, Sewer, UndeadGraveyard, Villagers, Wolves.
==
+
----
 
Add any variable you wish using:
 
Add any variable you wish using:
 
* '''ObjVarName'''.
 
* '''ObjVarName'''.

Revision as of 12:37, 26 January 2018

This is a list of ObjVar found on chars, creatures or items, and their meaning.

  • AttrXXX (where XXX = Str|Agi|Con|Int|Wis|Will).
    • Applies to: chars.
    • Meaning: it holds the base value of each stat.
    • Default: ServerSettings.Stats.IndividualStatMin (defined in globals/server_settings/stats.lua)
    • Examples: any value allowed for stats.
  • InfoMessage.
    • Applies to: objects.
    • Meaning: it's the message presented to the player when he tries to use the object, in the module info_on_use.lua.
    • Default: not defined.
    • Examples: "Powerful magic stops you from opening that."
  • MobileTeamType.
    • Applies to: mobiles.
    • Meaning: it's the name of the faction or team that the creature belongs to.
    • Default: defined in each XML template.
    • Examples: Animal, Bandit, Cultists, Giant, Mercenary Thief, Rebels, Sewer, UndeadGraveyard, Villagers, Wolves.

Add any variable you wish using:

  • ObjVarName.
    • Applies to:
    • Meaning:
    • Default:
    • Examples: