Extensions:VTI Trait Modals

From Lorekeeper Wiki
Revision as of 17:00, 5 June 2024 by Speedy (talk | contribs) (Creating the page proper.)
Jump to navigation Jump to search
Visual Trait Indexes Trait Modals
Description Allows you to click on trait images in any of the visual trait indexes to pop up a new modal.
Author(s) Moif
Status stable
Github AW0005/lorekeeper
LK Version Unspecified
Is part of LK v3.0.0's release






Allows you to click on trait images in any of the visual trait indexes to pop up a new modal. This is a core extension that has been available for quite a while on LK v3, working silently in the background. As per June 5th 2024, the develop branch (assumably the future LK v3.1.0), it has gotten a rightful place in the credits.

Thank you, Moif.

Installation

Simply update Lorekeeper. It will work once you have Lorekeeper Version 3.

Configuration

In the config/lorekeeper/extensions.php file, find:

    /*  Visual Trait Indexes
     *
     *  Species Trait Index - Mercury
     *  Subtype Trait Index - Speedy
     *  Universal Trait Index - CHERVB
     *  Trait Modals addition - Moif
     */

Under 'visual_trait_index' => look for the the following options:

'trait_modals' => 0 Set this to 1 to enable the Trait Modals. It will function on on the Species Trait Index, Subtype Trait Index and the Universal Trait Index, by simply clicking any of the trait images.

See Also