Saxonberg Server API
    Preparing search index...

    The runtime value — a reserve with real-units capacity + current. A value class (peer of Quantity / Light): immutable readonly fields set through the constructor. Built via new Reserve(...) or Reserve.fromStored(...); decomposed for persistence via toStored().

    Index

    Constructors

    • Parameters

      • key: string

        Identity within a host's reserve collection (= the Record map key).

      • capacity: Quantity<Unit>

        Maximum.

      • current: Quantity<Unit>

        Current level (always clamped to [0, capacity]).

      • theme: string

        'biological' for the body's reserves; a content theme otherwise.

      • floorEffect: string | null

        Named effect when current hits the floor. Seam — no consumer v1.

      Returns Reserve

    Properties

    capacity: Quantity<Unit>

    Maximum.

    current: Quantity<Unit>

    Current level (always clamped to [0, capacity]).

    floorEffect: string | null

    Named effect when current hits the floor. Seam — no consumer v1.

    key: string

    Identity within a host's reserve collection (= the Record map key).

    theme: string

    'biological' for the body's reserves; a content theme otherwise.

    Methods

    • The default biological reserves at full capacity (%). Installed on every living body (Creature) at construction. Their floor effects feed the derived condition band (a floored reserve degrades the body).

      Returns Record<string, ReserveStored>