Saxonberg Server API
    Preparing search index...

    Public shape provided by SlottedMixin.

    interface Postured {
        canOccupy(candidate: Stuff & Slottable, slot: string): boolean;
        getAcceptedPostures(slot: string): readonly string[];
        getAllOccupants(): ReadonlyMap<string, ReadonlySet<Stuff & Slottable>>;
        getOccupant(slot: string): Stuff & Slottable | null;
        getOccupantCount(slot: string): number;
        getOccupants(slot: string): ReadonlySet<Stuff & Slottable>;
        getRestQuality(): number;
        getSlotNames(): readonly string[];
        getSlotsAcceptingPosture(p: string): readonly string[];
        getSlotSpec(name: string): SlotSpec | null;
        getStaticSlots(): readonly SlotSpec[];
        getWarmth(): number;
        isSlotFull(slot: string): boolean;
        isSlotOccupied(slot: string): boolean;
        occupy(candidate: Stuff & Slottable, slot: string): void;
        setRestQuality(value: number): void;
        setStaticSlots(value: SlotSpec[]): void;
        setWarmth(value: number): void;
        vacate(
            slot: string,
            candidate: Stuff & Slottable,
        ): Stuff & Slottable | null;
        vacateSole(slot: string): Stuff & Slottable | null;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Rest-quality multiplier for a body resting on this host — how much better than open ground it is for recovery. Default 1.0 (the floor / standing); a bedroll authors ~1.3×, a four-poster ~2.5×. Read by metabolism's coupled-recovery calc off the host whose posture slot the body occupies. A behavior-specific field on the specialized posture-bearing host (the Vessel.transmissionFactor pattern), NOT on the universal SlotSpec.

      Returns number

    • Warming bonus (Kelvin) a body occupying this host's posture slot adds to its effective ambient. Default 0 (neutral). A campfire log-seat authors both restQuality (recover) and warmth (stay warm); read by the Phase-2 effective-ambient resolver off the host whose posture slot the body occupies, exactly as recovery reads restQuality. The radiant warmth enters through this CONSTANT slot attribute (refreshed on occupy/leave), not the live fire temperature, so the body's effective ambient stays piecewise- constant between discrete events.

      Returns number