Extensions:Giftwrap
Jump to navigation
Jump to search
Description | Adds the ability to wrap items or MYO in "giftwrap" such that they can be unwrapped after. |
---|---|
Author(s) | moif |
Status | stable |
Github | AW0005/lorekeeper-extensions/extension/giftwrap-tag |
LK Version | 2.0.0 |
About the Extension
This extension adds two new item tags "Giftwrap" and "Giftwrapped". The "Giftwrap" tag needs to be associated via the edit panel for it, to a "Giftwrapped" tagged item. Then when a "Giftwrap" item is used to wrap an item or myo from a user's inventory it generates the "Giftwrapped" item that was specified.
Installation
- Pull and deal with conflicts
- `php artisan optimize`
Configuration
- Set up an item tagged "Giftwrapped" - this will be the "filled" or "wrapped" version of an item
- Set up an item tagged "Giftwrap" and associate the "Giftwrapped" item to it"
- Sell or grant the "Giftwrap" item to your users as you see fit!
It also optionally includes some commented out code in "app/Services/Item/GiftwrapService.php" and "resources/views/inventory/_giftwrap.blade.php" that can be un-commented to allow the wrapping of characters as well.
Images
See Also
Feel free to ping moif in the LK discord if you have questions!