Extensions:Species Trait Index

From Lorekeeper Wiki
Revision as of 09:10, 25 March 2024 by Speedy (talk | contribs) (Added updating to v2 link)
Jump to navigation Jump to search
Species Trait Index
Description Provides a visual index of traits associated with a given species.
Author(s) Mercury
Status Testing
Github itinerare/lorekeeper-ext-archive/species-trait-index
LK Version Unspecified
Is part of LK v2 (modified-main)






This extension is now incorporated into modified-main . The information here is maintained as documentation, and further support is via that branch.

Provides for a visual index of traits associated with a given species. The traits are arranged in the style of user inventories-- that is, in their categories if present-- though they are also arranged by rarity (ascending). Images are displayed if present, with a border colour-coded as with the rarity of the trait (if the rarity has an associated colour.) The trait's name is displayed either in addition to the image or alone in the case of no trait image. Traits without images are listed last within their rarity in an effort to preserve alignment. In the event a trait is associated with a subtype, the associated subtype is also listed.

This also adds a link to species' trait index to world entries if the species has traits associated with it.

Installation

Pull the branch. No further action necessary.

Configuration

None necessary. It is worth noting that trait images are capped to 150px height so that the whole page is not overlong in the event that you have many traits associated with a species; you can adjust this in the species_features blade as desired.

Usage

Troubleshooting

Find me in the Lorekeeper discord!

Images

See Also

Updating:_to_2.0.0