Saxonberg Server API
    Preparing search index...

    Public shape provided by PerceptionMixin. Each seam returns the raw answer unchanged in the default identity implementation; Shadows override to modulate.

    interface Perception {
        canSeeOverride(
            target: Stuff,
            detail: VisibilityDetail,
            raw: boolean,
        ): boolean;
        getVisionProfile(): VisionProfile | null;
        perceivedBandModifier(
            raw: "pitch-black" | "very-dim" | "dim" | "lit" | "bright" | "blinding",
            loc: Stuff & Container,
        ): "pitch-black" | "very-dim" | "dim" | "lit" | "bright" | "blinding";
    }
    Index

    Methods

    • Per-viewer vision profile (scotopic minimum, photopic maximum, band shift). Identity default: null — caller falls back to the framework's default human-shaped profile. The Organism subsystem will populate this from species data later via a shadow that reads the species template's vision parameters.

      Returns VisionProfile | null

    • Modulate the perceived light band at a location. raw is the band the framework has already computed (with size scale and vision profile applied). Identity default: raw. A BlindfoldShadow returns 'pitch-black'. A magical-light shadow could shift it up.

      Parameters

      • raw: "pitch-black" | "very-dim" | "dim" | "lit" | "bright" | "blinding"
      • loc: Stuff & Container

      Returns "pitch-black" | "very-dim" | "dim" | "lit" | "bright" | "blinding"