Skip to content

Skill Book

Provides access to skill information. For skill usage, see input.

Skill Properties

  • id - Unique identifier
  • type - Type identifier
  • name - Readable skill name

Functions

core.skill_book.get_skill_level(skill_id: number) -> number

Returns the current level of the specified skill.


core.skill_book.get_skill(skill_id: number) -> skill | nil

Returns a skill object or nil if not found.


core.skill_book.get_skills() -> table<skill>

Returns all skills in the skill book.


core.skill_book.is_skill_on_cooldown(skill_id: number) -> boolean

Returns true if the skill is on cooldown.