Hiyve Components - v1.0.0
    Preparing search index...

    Interface PotionBottle

    A kind of potion: one bottle of the potion book.

    interface PotionBottle {
        colour: number;
        id: string;
        key?: string;
        quality?: PotionQuality;
        root?: { alter: -1 | 0 | 1; step: Step };
        shelf: PotionShelf;
    }
    Index

    Properties

    colour: number

    Its liquid's colour, an index into the game's palette: there for charm, never for meaning

    id: string

    Its id in a player's collection: potion:chord:Am, potion:scale:G:major

    key?: string

    scales, signatures and relatives: the key, as a 'G:major' code — a minor key's scale is its harmonic minor

    quality?: PotionQuality
    root?: { alter: -1 | 0 | 1; step: Step }

    chords: the chord's root (its letter and sharp or flat) and quality