← Back to query
RI-04 Namespace: Verse

Thing Hierarchy

Temperature dependency: Spawn/DeSpawn triggers room rebuild

Temperature → Thing Connection
When a building (wall, door, vent) is spawned or despawned, it triggers a room rebuildRegenerateEqualizationDataequalizeCells.Shuffle() → Rand calls.
#1 SpawnSetup → RegionDirtyer Verse/Thing.cs:803-928

When spawning a thing, 15+ subsystems are registered. Temperature-relevant:

SubsystemTemperature Link
RegionDirtyerMarks regions as dirty → room rebuild → new equalizeCells
edificeGridWalls register here → affects wall equalization
mapTemperatureDirect notification of the temperature system

MP-Critical — Registration order is fixed. If a mod changes spawn order, it can trigger room rebuilds at different times.

#2 DeSpawn — Mirror Verse/Thing.cs:945-1036

Deregistration in reverse order. Removing a wall → RegionDirtyer → room rebuild → temperature equalization changes (e.g. two rooms merge into one).