Difference between revisions of "Extensions:Item Subcategory"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{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}}
+
{{Extensioninfobox|title=Item Subcategory|desc=Adds subcategories to items for organizational purposes|auth=CH3RVB|status=testing|github={{Github|user=CH3RVB|branch=extension/item-subcategory}}|LKVer=2.0.0|migration=yes|package=no}}
 
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.  
 
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.  
  
Line 10: Line 10:
 
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.
 
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 ==
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!
  
You can find me in the LK server as SUPERCOOL if you have any issues or questions!
 
 
== Images ==
 
== Images ==
 
https://www.merlotarpg.com/world/item-subcategories
 
https://www.merlotarpg.com/world/item-subcategories
 +
 
You can find it in use on my site!
 
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. -->
 

Latest revision as of 16:32, 12 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

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