Extensions:Item Entry Expansion
Description | Provides for more robust item creation, editing, and world entry display. |
---|---|
Author(s) | Mercury |
Status | Testing |
Github | item-entry-expansion |
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).
It has since also been updated to add an additional blade for viewing an individual item's information, accessed via its ID (/world/items/{id}). This has custom meta tag information provided for it (see Tutorial: Custom Meta Tags for more information.) It is linked via the magnifying glass icon on item entries in the item DB's world page, in the inventory stack modal, and in the shop stock modal.
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!