World & Progression

Skills

The 6 trainable skills in Dinkum.


Type

Skill

interface Skill {
  id: string
  name: string
  img: string
  description: string
}
FieldTypeDescription
idstringStable identifier
namestringDisplay name
imgstringPath to the skill's icon, relative to images/
descriptionstringWhat the skill governs and how to unlock it

Factory

import { skills } from 'dinkum-data'

skills() // all 6 skills
skills(source) // wrap a pre-filtered array

Terminal methods

MethodReturnsDescription
.get()Skill[]All results
.first()Skill | undefinedFirst result
.find(id)Skill | undefinedFind by id
.findByName(name)Skill | undefinedCase-insensitive exact name match
.search(query)Skill[]Case-insensitive partial name match
.count()numberNumber of results

Examples

import { skills } from 'dinkum-data'

skills().get()
skills().findByName('Fishing')

Next steps

  • See Licenses for the license levels these skills gate
  • Browse Milestones for long-term achievements tied to skill activities
  • Read core concepts for the shared query builder pattern
Previous
Milestone categories