Added initial details on abilities.

This commit is contained in:
Barra Ó Catháin 2023-08-13 03:19:02 +01:00
parent e6b6b86abf
commit aaf1221304
1 changed files with 21 additions and 0 deletions

View File

@ -74,6 +74,27 @@ with. Currently planned properties are:
** Players ** Players
** Abilities ** Abilities
Abilities are similar to [[*Uses][uses]], with the distinction of being tied to [[*Players][players]] and
not [[*Objects][objects]]. They have a name, description, usage cost, skill point cost, and
effect, and a usage requirement.
*** Usage Cost
The usage cost of an ability refers to the amount of ability energy it costs a
player to attempt to activate it using the /activate command.
*** Skill Point Cost
The amount of skill points it costs to "purchase" the skill, and add it to the
player's character.
*** Effect
Effects are Scheme functions pushed onto the event queue when a player activates
them through the /activate command.
*** Usage Requirement
Abilities may optionally have a usage requirement. A usage requirement is a
Scheme function that is passed a reference to the player attempting to activate
the ability. It returns #t or #f, corresponding to the activation being
successful or a failure.
** Settings ** Settings
Settings are a combination of definitions of items, custom rules, and other Settings are a combination of definitions of items, custom rules, and other