Table of Contents

Class ScenePyre

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

A way light's own open fire (Pyre, 2026-10-26, the biome suite's way lights): what its seed says of it and how bright it burns. One definition read by the client's site lights (SiteLightPool) and its flames and sparks (SiteEmbers), so the light a beacon throws and the flames over it are kindled at the same instant.

public static class ScenePyre
Inheritance
ScenePyre
Inherited Members

Remarks

Its seed. The low 16 bits are the flicker's phase, as every fire's (a hash of where it stands); bit 16 marks a beacon (DuskBit: kindled at dusk), bit 17 a brimstone flame (BlueBit: burning blue). The site writes both bits from its piece (StructurePieces.PyreLookOf), never the hash's.

Kindled at dusk, on the shared clock. A beacon's fire is dark by day: it is lit as the lamps are, once the sun is low enough (SkySystem's _FishNightLights, a pure function of the sun's height and so of the shared world clock), each beacon at its own moment of the dusk (KindleAt(uint), from its seed), so a line of beacons along a border is seen being lit one after another as the dusk deepens, the same for every player. It burns all night and goes out as the dawn comes back up through the same moment.

Fields

BeaconIntensity

A beacon's fire, a brimstone flame and any other's: their brightness at the top of the flicker.

public const float BeaconIntensity = 4.2

Field Value

float

BeaconRange

How far each reaches when its emitter names no reach, metres.

public const float BeaconRange = 18

Field Value

float

BlueBit

The seed bit of a brimstone flame: sulphur in the oil burns low and blue (bit 17).

public const uint BlueBit = 131072

Field Value

uint

BlueIntensity

A beacon's fire, a brimstone flame and any other's: their brightness at the top of the flicker.

public const float BlueIntensity = 1.5

Field Value

float

BlueRange

How far each reaches when its emitter names no reach, metres.

public const float BlueRange = 6

Field Value

float

CatchSpan

The dusk's span the beacons are kindled over (the lamps' _FishNightLights, 0 by day .. 1 in the night): the first at FirstKindled, the last at LastKindled; each takes CatchSpan of it to catch.

public const float CatchSpan = 0.12

Field Value

float

DuskBit

The seed bit of a beacon's fire: dark by day, kindled at dusk (bit 16).

public const uint DuskBit = 65536

Field Value

uint

FireIntensity

A beacon's fire, a brimstone flame and any other's: their brightness at the top of the flicker.

public const float FireIntensity = 3.2

Field Value

float

FireRange

How far each reaches when its emitter names no reach, metres.

public const float FireRange = 11

Field Value

float

FirstKindled

The dusk's span the beacons are kindled over (the lamps' _FishNightLights, 0 by day .. 1 in the night): the first at FirstKindled, the last at LastKindled; each takes CatchSpan of it to catch.

public const float FirstKindled = 0.06

Field Value

float

LastKindled

The dusk's span the beacons are kindled over (the lamps' _FishNightLights, 0 by day .. 1 in the night): the first at FirstKindled, the last at LastKindled; each takes CatchSpan of it to catch.

public const float LastKindled = 0.56

Field Value

float

Methods

AtDusk(uint)

True for a beacon's fire (kindled at dusk).

public static bool AtDusk(uint seed)

Parameters

seed uint

Returns

bool

Blue(uint)

True for a brimstone flame (blue).

public static bool Blue(uint seed)

Parameters

seed uint

Returns

bool

Colour(uint)

The fire's colour: a beacon's and an open fire's orange, a brimstone flame's blue.

public static Color Colour(uint seed)

Parameters

seed uint

Returns

Color

KindleAt(uint)

Where in the dusk (of _FishNightLights) a beacon is kindled: from its seed's bits 20–27, between the first and the last.

public static float KindleAt(uint seed)

Parameters

seed uint

Returns

float

Kindled(float, uint)

How far a fire is alight, 0 out .. 1 burning, for the dusk's night (_FishNightLights): a beacon catches over CatchSpan from its own KindleAt(uint); any other burns day and night (1).

public static float Kindled(float night, uint seed)

Parameters

night float
seed uint

Returns

float

Light(float, float, uint)

The fire's light now: its flicker (three unrelated beats on the shared clock seconds, its phase from the seed's low bits), times a beacon's kindling, a brimstone flame's low steady burn or an open fire's day-and-night curve (faint in daylight, as a campfire's).

public static float Light(float seconds, float night, uint seed)

Parameters

seconds float
night float
seed uint

Returns

float

Range(uint)

Its reach when the emitter names none, metres.

public static float Range(uint seed)

Parameters

seed uint

Returns

float

WithLook(uint, bool, bool)

A seed carrying the fire's look in bits 16–17, the rest kept (both bits always written).

public static uint WithLook(uint seed, bool atDusk, bool blue)

Parameters

seed uint
atDusk bool
blue bool

Returns

uint