๐Ÿง  Abilities Schema

Defines actions or powers available to the player, such as movement, attacks, and passive buffs.

โœ… Field Rules & Accepted Values

FieldTypeRequiredNotes
idstringโœ… YesUnique internal ID, e.g. 'dash'
displayNamestringโœ… YesShown in UI
descriptionstringโœ… YesExplains gameplay behavior
effectstringโœ… YesEngine-level effect (e.g., 'move_fast_horizontal')
type"movement" | "combat" | "defense" | "utility" | "passive" | "traversal"โœ… YesAbility category
keystringโŒ NoInput key (e.g. 'X', 'Space') for active abilities
cooldownnumber (float)โŒ NoCooldown between uses, in seconds
durationnumber (float)โŒ NoDuration of the effect once triggered
target"self" | "enemy" | "area" | "directional"โŒ NoEffect target
costobjectโŒ NoOptional cost (e.g., { energy: 10 })
requiredState"ground" | "air" | "wall" | "any"โŒ NoState required to trigger
unlockAtLevelnumberโŒ NoAuto-unlocked at player level โ‰ฅ value
tagsstring[]โŒ NoSearchable labels (e.g. ['speed', 'stealth'])
iconstringโŒ NoUI icon path (e.g., 'dash_icon.png')