Extensions:Character Items

From Lorekeeper Wiki
Revision as of 12:00, 17 June 2020 by Mercury (talk | contribs)
Jump to navigation Jump to search
Character Items
Description Enables item attachment, display, and management for characters.
Author(s) Mercury
Status Testing
Github character-items
LK Version Unspecified
Contains a Migration



This builds upon draginraptor/lorekeeper/inventory_stacks !

This adds item inventories to characters, as well as management of character items. This includes:

  • Character inventory pages
  • Character inventory logs
  • Attachment of items to characters (via the inv select widget)
  • A separate inventory stack modal for characters, which handles:
  • Transferal of items back to the owning user
  • Deletion of items direct from character inventory

It also changes item logging to handle this by making it akin to currency logging. That is, the existing user_items_log table is renamed to items_log, and has sender and recipient type columns added. Existing log entries are updated in-place.

Character items are also held in their own table. Transferring items between user and character maintains source and notes-- which makes for some strange logs, as the source is re-logged (though the log type is clearly labeled as user <-> character depending on the nature of the transfer.)

Installation

Configuration

Usage

Troubleshooting

See Also