Extensions:Item Entry Expansion

From Lorekeeper Wiki
Revision as of 08:47, 20 June 2020 by Mercury (talk | contribs)
Jump to navigation Jump to search
Item Entry Expansion
Description Provides for more robust item creation, editing, and world entry display.
Author(s) Mercury
Status Testing
Github sep-prompts
LK Version Unspecified
Contains a Migration






This adds several fields to the item creation/editing interface, as well as the corresponding display on world item entries.

The added fields are as follows:

  • Item Rarity (Expects a numerical value)
  • Reference Link
  • Item Artist (Uses the alias/URL system as present on character images)
  • Uses (Text field, supports raw HTML but expected to be brief)
  • Original source (Where/when the item was originally made available)
  • Purchase locations (Shops where the item may be purchased. Provides a list of (active) shops to select from.)
  • Drop locations (Prompts from which the item may be awarded. Provides a list of (active) prompts to select from.)

These are all optional, and do not display on the item's entry if not filled.

It also adds a display of an item's category, if set, to the item's world entry, and raises the item name character limit to 100 (from 25).

Installation

Pull the branch and run php artisan migrate.

Configuration

You may want to add references to some of the values added to various places around Lorekeeper, depending on your needs-- for instance, adding uses to the item descriptions in shops.

Usage

Update item entries in the admin panel as desired.

Troubleshooting

Find me in the Lorekeeper discord if you encounter any issues!

See Also