Class SkillProps⚓︎
A table of properties for a custom skill.
@deprecated use modIntegration.statsWindow instead
| SkillProps.name | localized name of the skill |
| SkillProps.description | localized description of the skill (default: nil) |
| SkillProps.icon | icon information for the skill (default: default icon based on specialization) |
| SkillProps.attribute | the id of the skill's governing attribute (default: nil) |
| SkillProps.specialization | the skill's specialization (default: nil) |
| SkillProps.skillGain | a table mapping SkillUseOptions.useType keys to XP gain amounts (default: empty table) |
| SkillProps.startLevel | the starting level for this skill (default: 5) |
| SkillProps.maxLevel | the maximum level for this skill (default: 100; if < 0, no max) |
| SkillProps.modIntegration | properties for compatibility with other mods |
| SkillProps.statsWindowProps | properties for Stats Window Extender integration |
| SkillProps.xpCurve |
Methods⚓︎
SkillProps.xpCurve⚓︎
Fields⚓︎
SkillProps.name⚓︎
localized name of the skill
SkillProps.description⚓︎
localized description of the skill (default: nil)
SkillProps.icon⚓︎
icon information for the skill (default: default icon based on specialization)
SkillProps.attribute⚓︎
the id of the skill's governing attribute (default: nil)
SkillProps.specialization⚓︎
the skill's specialization (default: nil)
SkillProps.skillGain⚓︎
a table mapping SkillUseOptions.useType keys to XP gain amounts (default: empty table)
SkillProps.startLevel⚓︎
the starting level for this skill (default: 5)
SkillProps.maxLevel⚓︎
the maximum level for this skill (default: 100; if < 0, no max)
SkillProps.modIntegration⚓︎
properties for compatibility with other mods
SkillProps.statsWindowProps⚓︎
properties for Stats Window Extender integration
SkillProps.statsWindowProps : SkillStatsWindowProps {
subsection: (StatsWindowSubsection|string)?,
shortenedName: string?,
visible: (boolean|fun() -> boolean),
onClick: (function)?,
}