GrammarFacts

interface GrammarFacts

The facts a grammar is derived from. Everything is on Body or beside it.

universe/src/grammar.ts:90

Members

atmospherereadonly

atmosphere: Atmosphere | null

hasOceanreadonly

hasOcean: boolean

Whether the world has standing liquid.

It is here for one reason and it is not decoration: water is the leading explanation for why Earth has plate tectonics and Venus, the same size and the same age, does not. A wet lithosphere is weak enough to subduct. So the ocean decides the plate count, and a dry Venus-sized world comes out with a stagnant lid and two enormous shields on it.

massreadonly

mass: number

meanRadiusreadonly

meanRadius: number

(a·b·c)^(1/3) — the radius a density divides by.

publishedReliefreadonly

publishedRelief: number | null

Measured relief, used verbatim where somebody has published it.

docs/design/art.md is explicit that the data is not negotiable: Olympus Mons really is 21.9 km and the generator does not get a vote. Null on every body nobody has flown past, which is the whole galaxy outside Sol.

reliefSpentreadonly

reliefSpent: number

How much of the strength limit this world has actually spent, 0..1.

The one relief number that is a draw rather than a derivation, and it is bounded tightly on purpose: the limit is physics, and this says only that two worlds of the same size are not identically mountainous. Zero means no surface at all, which is what a gas giant passes.

temperaturereadonly

temperature: number

Equilibrium temperature, Kelvin.

tidalProxyreadonly

tidalProxy: number

tidalProxy against the primary — zero for a planet.

The star is not the primary. Passing the star's mass would call every planet tidally active, which is the mistake surfaceArchetype documents.