Extensions:Collections

From Lorekeeper Wiki
Revision as of 06:42, 11 April 2023 by CH3RVB (talk | contribs) (fix link to branch)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Collections
Description Reward users for collecting items
Author(s) CH3RVB, Draginraptor, Newt, Uri
Status stable
Github /extension/collections
LK Version 2.0
Contains a Migration



An extension built off of Extensions:Crafting System's code (with permission to be released to the public.) Admins can create a "collection", which in the extension's base form, includes only items, but it can be coded in to have other item requirements.

Thank you to Draginraptor for the original, as well as everyone else who contributed to it: Newt, Uri, and Newt for the tidbits I used from Extensions:Prompt Prerequisites

Installation

Pull the branch, handle any conflicts, and

 php artisan migrate 

and

 php artisan optimize 

You might not need to optimize, but migration is a requirement to make the extension function.

Configuration

Guide to configure pending. If you know how to customize Crafting, you can easily add in more ingredients and rewards.

Usage

It's pretty much the same as Crafting, so things will be very similar. Completing a collection doesn't debit items, and they can only be completed once, so they can be used as a sticker book, themed item collection, or "achievement" system.

Collections can be locked behind a "parent" which will prevent users from completing it until the "parent" has been completed.

Troubleshooting

None yet

Images

See it in action on my site:

https://www.merlotarpg.com/world/collections

https://www.merlotarpg.com/collection

See Also

Extensions:Crafting System