Extensions:Status Effects

From Lorekeeper Wiki
Revision as of 12:20, 22 February 2022 by Mercury (talk | contribs)
Jump to navigation Jump to search
Status Effects
Description Adds support for character status effects.
Author(s) Mercury
Status Testing
Github extension/status-effects
LK Version 2.0.0
Contains a Migration



Features

Adds support for status effects attached to characters, with configurable labels that can escalate depending on the severity (quantity) of the effect. This builds on expanded character rewards; status effects can be rewarded directly to characters or rolled on loot tables (when the loot table is being rolled for a character directly.)

Status effects have the following qualities:

  • Name
  • Image (Optional)
  • Description (Optional)
  • Varying severity labels (Optional)

Item Tags

Two item tags are included. One, the "cure" tag, removes a status effect from a character the user selects by a configured amount. Another, the "buff" tag, adds a configured amount of a status effect to a character the user selects.

Conditional Loot Table Rows

Additionally, loot tables have the option of conditional rows which check for a quantity of a set status effect based on configured criteria. There is also the option to provide rows which are added to the table if no conditions are met. These are used exclusively when rolling a loot table directly for a character, as this allows checking for status effects on that specific character.

Installation

  • Ensure character reward expansion is enabled in config/lorekeeper/extensions.php; adjust the default recipient if desired
  • Run php artisan migrate and php artisan update-extension-tracker

Configuration

Create status effects, adjust loot tables, etc. as desired.

Usage

Ensure that any rolls which are intended to reward or be dependent on status effects are rolled for a specific character. Status effects will not be considered for or rewarded to users.

Troubleshooting

Find me in the Lorekeeper server!

Images

See Also