Difference between revisions of "Extensions:Character Items"
Jump to navigation
Jump to search
(Created page with "{{subst:Extension Page}}") Tag: 2017 source edit |
Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | {{Extensioninfobox|title= | + | {{Extensioninfobox|title=Character Items|desc=Enables item attachment, display, and management for characters.|auth=Mercury|status=Testing|github={{Github|user=itinerare|branch=character-items}}|migration=yes|package=no}} |
<!-- Put a short summary of your extension here! --> | <!-- Put a short summary of your extension here! --> | ||
+ | This builds upon {{github|repo=lorekeeper|user=draginraptor|branch=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 == | == Installation == | ||
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. --> | <!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. --> | ||
Line 11: | Line 24: | ||
== See Also == | == See Also == | ||
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. --> | <!-- Any relevant other pages. You may consider linking to related extensions, for instance. --> | ||
− |
Revision as of 11:00, 17 June 2020
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.)