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

    Interface PotionLab

    A session in the lab.

    interface PotionLab {
        bonus: number;
        brewing: PotionBrew | null;
        brews: PotionBrew[];
        candleSeconds: number | null;
        closed: boolean;
        deck: DeckState;
        deckSettings: DeckSettings;
        gone: number[];
        hatch: (number | null)[];
        level: Level;
        orders: PotionOrder[];
        queue: number[];
        rarePoints: number;
        rareWait: number;
        seed: number;
        served: number[];
        waited: number[];
    }
    Index

    Properties

    bonus: number

    The rare potions' bonus so far

    brewing: PotionBrew | null

    The order on the fire

    brews: PotionBrew[]

    The brews handed over, in the same order: the notes tapped for each, its wrong notes and how it settled

    candleSeconds: number | null

    The candle's seconds, null for none

    closed: boolean

    The candle has burned out: nobody new is served

    deck: DeckState

    The orders' cards, each round settled as its order is brewed

    deckSettings: DeckSettings

    The settings the deck was dealt from: with deckRecord(lab.deck, lab.deckSettings) the session keeps like any deck

    gone: number[]

    Rare orders whose customer left, never brewed

    hatch: (number | null)[]

    The places at the hatch, left to right: an order waiting in each, or null

    level: Level
    orders: PotionOrder[]

    Every order, in the order the customers arrive; an order's round is its round of deck

    queue: number[]

    Orders still to arrive, in order

    rarePoints: number

    The bonus for a rare potion brewed right first time

    rareWait: number

    Brews a rare customer waits through

    seed: number
    served: number[]

    Orders brewed and handed over, in the order brewed

    waited: number[]

    Brews each order has waited through at the hatch