Action System #4

Closed
opened 3 years ago by reya · 1 comments
reya commented 3 years ago
Owner

Actions in this system have at least the following attributes:

  • Name (Handlebars template) The name of the action displayed in the action list.
  • Help message (Handlebars template) The message displayed while the action is selected.
  • Cost (Script expression): The amount of resources the player must have to use this action. If it evaluates to a numerical value, that value is treated as an amount of energy.
  • Speed (Script expression): The speed of the action, as described in #3.
  • Effect (Script block): A block of script, evaluated when the action is used.

When the action list is generated before prompting the player to choose an action, the action's Name, Help Message, Cost, and Speed are evaluated and stored, so that they won't change between the action list being displayed and the action being chosen.

Actions in this system have at least the following attributes: * **Name** _(Handlebars template)_ The name of the action displayed in the action list. * **Help message** _(Handlebars template)_ The message displayed while the action is selected. * **Cost** _(Script expression)_: The amount of resources the player must have to use this action. If it evaluates to a numerical value, that value is treated as an amount of energy. * **Speed** _(Script expression)_: The speed of the action, as described in #3. * **Effect** _(Script block)_: A block of script, evaluated when the action is used. When the action list is generated before prompting the player to choose an action, the action's Name, Help Message, Cost, and Speed are evaluated and stored, so that they won't change between the action list being displayed and the action being chosen.
reya added this to the [Old Project] Battle System Prototype milestone 3 years ago
reya added the
type: enhancement/drafting
area: battle system
labels 3 years ago
reya self-assigned this 3 years ago
reya added this to the [Old Project] Vore RPG status project 3 years ago
Poster
Owner

Closed as part of the transition to the new project

Closed as part of the transition to the new project
reya closed this issue 2 years ago
reya added the
status: wontfix
label 2 years ago
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: reya/vore-rpg#4
Loading…
There is no content yet.