Difference between revisions of "Extensions:Item Subcategory"

From Lorekeeper Wiki
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=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Item Subcategory|desc=Adds subcategories to items for organizational purposes|auth=CH3RVB|status=testing|github={{Github|CH3RVB|branch=/extension/item-subcategory}}|LKVer=2.0.0|migration=yes|package=no}}
<!-- Put a short summary of your extension here! -->
+
Add subcategories to items, alongside main categories. For example, an item can be classified as category Potion but also subcategory Trait Potion. These subcategories are mostly for organizational purposes and can't have their ability to be held or named by characters changed, it's dependent on their main category instead.
 +
 
 +
These subcategories have their own info pages like regular categories, can have images uploaded, and can have descriptions of their uses, etc.
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Pull the branch, handle any conflicts, and <pre> php artisan migrate </pre> and <pre> php artisan optimize </pre> You might not need to optimize, but migration is a requirement to make the extension function.  
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
None
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
As stated before, subcategories can't have their held/named status changed, you will still have to rely on this from the main categories of the items.
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
Known issue: Sometimes creating a subcategory then assigning it to an item displays an "invalid subcategory" error and the application fails. In the mean time a quick fix is to delete the subcategory and make a new one, I'm currently unsure of what causes this exactly.
 +
 
 +
You can find me in the LK server as SUPERCOOL if you have any issues or questions!
 
== Images ==
 
== Images ==
<!-- Do you have any images to show what it looks like in action? -->
+
https://www.merlotarpg.com/world/item-subcategories
 +
You can find it in use on my site!
 
== 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 09:09, 11 October 2022

Item Subcategory
Description Adds subcategories to items for organizational purposes
Author(s) CH3RVB
Status testing
Github /extension/item-subcategory
LK Version 2.0.0
Contains a Migration






Add subcategories to items, alongside main categories. For example, an item can be classified as category Potion but also subcategory Trait Potion. These subcategories are mostly for organizational purposes and can't have their ability to be held or named by characters changed, it's dependent on their main category instead.

These subcategories have their own info pages like regular categories, can have images uploaded, and can have descriptions of their uses, etc.

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

None

Usage

As stated before, subcategories can't have their held/named status changed, you will still have to rely on this from the main categories of the items.

Troubleshooting

Known issue: Sometimes creating a subcategory then assigning it to an item displays an "invalid subcategory" error and the application fails. In the mean time a quick fix is to delete the subcategory and make a new one, I'm currently unsure of what causes this exactly.

You can find me in the LK server as SUPERCOOL if you have any issues or questions!

Images

https://www.merlotarpg.com/world/item-subcategories You can find it in use on my site!

See Also