Extensions:Rewardable Raffle Tickets
Description | Enables rewarding of raffle tickets via prompts and boxes. |
---|---|
Author(s) | Mercury |
Status | Testing |
Github | rewardable-raffle-tickets |
LK Version | Unspecified |
This builds upon Extensions:Stacked Inventories! Not only is much credit due there, it also bears mention that the changes made there are necessarily included in this extension. However, most of the inner workings are present in base Lorekeeper, so it would not be difficult to convert back if desired.
Enables selection of raffle tickets as a rewardable type for prompts and boxes. Users can also use claims to claim raffle tickets. Technically speaking, most of the internal mechanisms were already in place; this has just made them available for use.
Installation
Pull the branch. If you already have Extensions:Stacked Inventories or another extension that uses it, you do not need to migrate. If you do not, run
php artisan migrate
Configuration
None necessary.
Usage
When editing a prompt or box tag, select a raffle to award tickets for. Note that by default, only raffles that have not been rolled yet and are active can be selected. This does disable rewarding of tickets for a rolled raffle, and deselects from prompts, but does not fully automatically update. It is recommended to have prompts close and cease distribution of ticket "boxes" before rolling the raffle they award tickets for.
Troubleshooting
Find me in the Lorekeeper discord!