Skip to content

Simulation Read Write Matrix

github-actions[bot] edited this page Nov 5, 2026 · 60 revisions

Simulation read/write matrix

Generated by dk2tools simmatrix (issue 9, WP6); do not edit. Which world state each system reads and writes, in the order SimulationSystems.Default() runs them. It is read from the source with Roslyn: every method a system's entry point can reach, through every implementation of an interface or virtual call.

435 source files, 88 rows, 2950 methods reached, 138 state types.

Legend. W written, R read and not written. Upper case is the core view, which stops at the hubs (TriggerExecutor and WorldSteering.Refresh); lower case is what a row reaches only through a hub, so Rw is read by the row itself and written only through a hub. A step (↳) runs inside its container once per creature or room, in the order shown. Rooms holds the state a room keeps from tick to tick; reading RoomInstance, the room as its tiles describe it, counts as reading Rooms, while rebuilding it is a write of Caches & scratch.

Matrix

# System Tiles Creatures Players Rooms Objects & shots Doors & traps Heroes Level script Navigation Caches & scratch World RNG Commands in Events out
Commands
1 HandSystem W W W W W R W Rw W W R W R W
2 RescuePrioritySystem W R R
3 SpecialSystem W W W R W W R W R W
RoomLifecycle
4 TileTagSystem W W R R W
5 RoomSellSystem W W W W W R W R W R W
6 RoomBuildSystem W W W W W R W W R W R W
7 BlueprintSystem W W W R R W W W R R W
8 AutoFurnitureSystem W W W Rw W r W w W W R W W
9 TempleSacrificeSystem R W W R
10 GraveyardSystem R W W R
11 CasinoLeverSystem W R R W
KeeperActions
12 AllianceSystem W R
13 DoorSystem R R R R W W R R W
14 KeeperSpellSystem W W W R W r R Rw W R R W
15 CreateImpCastSystem W R W R W r Rw W R R W
16 PossessionSystem W W W Rw W R W Rw W W R W R W
ThingPass
17 FootprintSystem R W R R W
18 CreatureUpdateSystem w Rw w w w r w w w W r w w
19   ↳ CreatureStatusSystem R W W R W R W W R W W
20   ↳ ImpTaskSystem.WorkerPrelude W W R R W R W W W R W
21   ↳ CombatSystem W W W W W W W Rw W W R W W
22   ↳ CreatureExperienceSystem W R W
23   ↳ TravelArrivalSystem W W
24   ↳ CreatureEatSystem R W W R W r W R W W R W
25   ↳ CreatureSleepSystem W W W R W r W R W W R W W
26   ↳ PaydaySystem W W W W R r W R W W R W W
27   ↳ CreatureAngerSystem Rw W W Rw W r W Rw W W R W W
28   ↳ CombatSystem.StateHandlers W W W Rw W W W Rw W W R W W
29   ↳ TremorCreatureSystem W W W R W
30   ↳ ReaperSystem W R W
31   ↳ FinaleSystem W W W R W W R W W R W
32   ↳ CombatPitSystem R W W R r r W R W W R W W
33   ↳ JackInTheBoxSystem W W R R W r W R W W R W
34   ↳ CasinoJackpotSystem W W W R r r W R W W R W W
35   ↳ HeroSystem W W Rw W W r W Rw W W R W W
36   ↳ CreatureJobSystem W W W W W R W Rw W W R W W
37   ↳ MovementDustSystem R W R R W
38   ↳ CreatureMovementSystem W W Rw Rw Rw R W w W W R W W
39   ↳ ImpTaskSystem W W W W W W W R W W R W W
40   ↳ CarriedThingSoundSystem R R R W
41 DoorHealthSystem R W r r W Rw w R W
42 TrainingActionSystem W W R W R W R W
43 ShotSystem W W W Rw W W w Rw W W R W W
44 BoulderSystem W W W Rw W W w Rw W W R W W
45 ObjectMovementSystem W R R R W R R Rw W R W W
46 HatcherySystem(lays: false) W R W W R W W
47 TrapSystem W W W R W W W R W W R W
48 ActionPointTriggerSystem w w w w w r w w w w r w w
49 EffectGeneratorSystem r r r W r R Rw w R W W
50 TrapRemovalSystem R R W W R W
51 DoorRemovalSystem W W W W R W
52 ReaperRemovalSystem W R W R W
53 CallToArmsSystem R W W R W r W R W W R W R W
54 ChickenSystem R W R R r r W W W R W W
55 FogOfWarSystem W R r R r R Rw W R
56 WalkOverGoldSystem R W R W R W
Work
57 TileWorkSystem W W W W W W R W R W W
58 BridgeBurnSystem W W W W W R W W
RoomTicks
59 RoomTickSystem R R W R
60   ↳ StoreSweepSystem W R W R R W W
61   ↳ HeartDefenceSystem R W R R r r W W W R W
62   ↳ HeartFrameStep R W W R W R W
63   ↳ CasinoSystem W W W W W R R W W
64   ↳ PortalSystem W W W W R R W R W W
65   ↳ HatcheryLayStep W W W R W W
66   ↳ HatedCompanySystem R W W R R W R W
67   ↳ WorkshopTimerSystem R W R R R W W
68   ↳ RoomBorderFlameSystem W R R W
69   ↳ RoomHealthSystem W W W W W R W R W W
PlayerFrame
70 PlayerTriggerSystem w w w w w r w w w w r w w
71 ManaRemovalSystem W W W W W r W w W w R W W
72 RatSpawnSystem W R R W W R W W
73 ManaSystem W W W R W R W R W R W
74 ImpSupplySystem W R W R W W R W W
75 RoomBuildWaveSystem W W W W W R W Rw W W R W W
76 RoomSellWaveSystem W W W W W R W R W W
77 ResearchSystem W R W
78 ManufactureDecaySystem W R
Needs
79 ObjectReactionSystem R R W W R W W
80 CreatureHealthSystem W W W W W r W Rw W W R W W
81 PrisonSystem W W W W W r W Rw W W R W W
82 TortureSystem W W W R R R W W R W W
83 RescueSystem R W W W r r W R W W R W W
84 PrisonerEatSystem R W W R W r W R W W R W
85 PrisonerWanderSystem R W R R r r W W W R W W
Verdict
86 DungeonHeartSystem(frames: false) W W W W W r W Rw W W R w W
87 NeutralAmbientEffectSystem R R R R W W
88 TremorSystem W W R W W R W W W W W W

Writers by column

The rows that write each column, in tick order; those after "through a hub" write it only there.

  • Tiles (48 + 4): 1 HandSystem, 3 SpecialSystem, 4 TileTagSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 7 BlueprintSystem, 8 AutoFurnitureSystem, 14 KeeperSpellSystem, 15 CreateImpCastSystem, 16 PossessionSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 28 CombatSystem.StateHandlers, 31 FinaleSystem, 33 JackInTheBoxSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 42 TrainingActionSystem, 43 ShotSystem, 44 BoulderSystem, 45 ObjectMovementSystem, 46 HatcherySystem(lays: false), 47 TrapSystem, 51 DoorRemovalSystem, 55 FogOfWarSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 60 StoreSweepSystem, 63 CasinoSystem, 64 PortalSystem, 65 HatcheryLayStep, 69 RoomHealthSystem, 71 ManaRemovalSystem, 72 RatSpawnSystem, 73 ManaSystem, 74 ImpSupplySystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 18 CreatureUpdateSystem, 27 CreatureAngerSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem
  • Creatures (58 + 3): 1 HandSystem, 2 RescuePrioritySystem, 3 SpecialSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 7 BlueprintSystem, 8 AutoFurnitureSystem, 14 KeeperSpellSystem, 16 PossessionSystem, 17 FootprintSystem, 19 CreatureStatusSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 22 CreatureExperienceSystem, 23 TravelArrivalSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 29 TremorCreatureSystem, 30 ReaperSystem, 31 FinaleSystem, 32 CombatPitSystem, 33 JackInTheBoxSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 37 MovementDustSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 42 TrainingActionSystem, 43 ShotSystem, 44 BoulderSystem, 47 TrapSystem, 52 ReaperRemovalSystem, 53 CallToArmsSystem, 54 ChickenSystem, 56 WalkOverGoldSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 61 HeartDefenceSystem, 63 CasinoSystem, 64 PortalSystem, 66 HatedCompanySystem, 69 RoomHealthSystem, 71 ManaRemovalSystem, 73 ManaSystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 83 RescueSystem, 84 PrisonerEatSystem, 85 PrisonerWanderSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 18 CreatureUpdateSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem
  • Players (47 + 5): 1 HandSystem, 3 SpecialSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 7 BlueprintSystem, 8 AutoFurnitureSystem, 12 AllianceSystem, 14 KeeperSpellSystem, 15 CreateImpCastSystem, 16 PossessionSystem, 19 CreatureStatusSystem, 21 CombatSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 31 FinaleSystem, 32 CombatPitSystem, 34 CasinoJackpotSystem, 36 CreatureJobSystem, 39 ImpTaskSystem, 41 DoorHealthSystem, 43 ShotSystem, 44 BoulderSystem, 47 TrapSystem, 51 DoorRemovalSystem, 53 CallToArmsSystem, 57 TileWorkSystem, 62 HeartFrameStep, 63 CasinoSystem, 64 PortalSystem, 66 HatedCompanySystem, 69 RoomHealthSystem, 71 ManaRemovalSystem, 73 ManaSystem, 74 ImpSupplySystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 77 ResearchSystem, 78 ManufactureDecaySystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 83 RescueSystem, 84 PrisonerEatSystem, 86 DungeonHeartSystem(frames: false); through a hub: 18 CreatureUpdateSystem, 35 HeroSystem, 38 CreatureMovementSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem
  • Rooms (27 + 10): 1 HandSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 9 TempleSacrificeSystem, 10 GraveyardSystem, 21 CombatSystem, 26 PaydaySystem, 35 HeroSystem, 36 CreatureJobSystem, 39 ImpTaskSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 62 HeartFrameStep, 63 CasinoSystem, 64 PortalSystem, 65 HatcheryLayStep, 67 WorkshopTimerSystem, 68 RoomBorderFlameSystem, 69 RoomHealthSystem, 71 ManaRemovalSystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 83 RescueSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 8 AutoFurnitureSystem, 16 PossessionSystem, 18 CreatureUpdateSystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 38 CreatureMovementSystem, 43 ShotSystem, 44 BoulderSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem
  • Objects & shots (47 + 4): 1 HandSystem, 3 SpecialSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 8 AutoFurnitureSystem, 11 CasinoLeverSystem, 14 KeeperSpellSystem, 15 CreateImpCastSystem, 16 PossessionSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 31 FinaleSystem, 33 JackInTheBoxSystem, 35 HeroSystem, 36 CreatureJobSystem, 39 ImpTaskSystem, 42 TrainingActionSystem, 43 ShotSystem, 44 BoulderSystem, 45 ObjectMovementSystem, 46 HatcherySystem(lays: false), 47 TrapSystem, 49 EffectGeneratorSystem, 53 CallToArmsSystem, 56 WalkOverGoldSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 60 StoreSweepSystem, 63 CasinoSystem, 65 HatcheryLayStep, 69 RoomHealthSystem, 71 ManaRemovalSystem, 72 RatSpawnSystem, 73 ManaSystem, 74 ImpSupplySystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 79 ObjectReactionSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 84 PrisonerEatSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 18 CreatureUpdateSystem, 38 CreatureMovementSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem
  • Doors & traps (14): 4 TileTagSystem, 7 BlueprintSystem, 13 DoorSystem, 21 CombatSystem, 28 CombatSystem.StateHandlers, 31 FinaleSystem, 39 ImpTaskSystem, 41 DoorHealthSystem, 43 ShotSystem, 44 BoulderSystem, 47 TrapSystem, 50 TrapRemovalSystem, 51 DoorRemovalSystem, 57 TileWorkSystem
  • Heroes (34 + 5): 1 HandSystem, 8 AutoFurnitureSystem, 16 PossessionSystem, 19 CreatureStatusSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 29 TremorCreatureSystem, 32 CombatPitSystem, 33 JackInTheBoxSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 47 TrapSystem, 52 ReaperRemovalSystem, 53 CallToArmsSystem, 54 ChickenSystem, 61 HeartDefenceSystem, 71 ManaRemovalSystem, 73 ManaSystem, 75 RoomBuildWaveSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 83 RescueSystem, 84 PrisonerEatSystem, 85 PrisonerWanderSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 18 CreatureUpdateSystem, 43 ShotSystem, 44 BoulderSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem
  • Level script (0 + 19): none; through a hub: 1 HandSystem, 8 AutoFurnitureSystem, 16 PossessionSystem, 18 CreatureUpdateSystem, 21 CombatSystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 35 HeroSystem, 36 CreatureJobSystem, 38 CreatureMovementSystem, 43 ShotSystem, 44 BoulderSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem, 71 ManaRemovalSystem, 75 RoomBuildWaveSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 86 DungeonHeartSystem(frames: false)
  • Navigation (40 + 9): 1 HandSystem, 6 RoomBuildSystem, 7 BlueprintSystem, 8 AutoFurnitureSystem, 16 PossessionSystem, 19 CreatureStatusSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 23 TravelArrivalSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 31 FinaleSystem, 32 CombatPitSystem, 33 JackInTheBoxSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 43 ShotSystem, 44 BoulderSystem, 47 TrapSystem, 51 DoorRemovalSystem, 53 CallToArmsSystem, 54 ChickenSystem, 61 HeartDefenceSystem, 71 ManaRemovalSystem, 73 ManaSystem, 75 RoomBuildWaveSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 83 RescueSystem, 84 PrisonerEatSystem, 85 PrisonerWanderSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 14 KeeperSpellSystem, 15 CreateImpCastSystem, 18 CreatureUpdateSystem, 41 DoorHealthSystem, 45 ObjectMovementSystem, 48 ActionPointTriggerSystem, 49 EffectGeneratorSystem, 55 FogOfWarSystem, 70 PlayerTriggerSystem
  • Caches & scratch (61 + 5): 1 HandSystem, 3 SpecialSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 7 BlueprintSystem, 8 AutoFurnitureSystem, 9 TempleSacrificeSystem, 10 GraveyardSystem, 13 DoorSystem, 14 KeeperSpellSystem, 15 CreateImpCastSystem, 16 PossessionSystem, 18 CreatureUpdateSystem, 19 CreatureStatusSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 29 TremorCreatureSystem, 31 FinaleSystem, 32 CombatPitSystem, 33 JackInTheBoxSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 42 TrainingActionSystem, 43 ShotSystem, 44 BoulderSystem, 45 ObjectMovementSystem, 46 HatcherySystem(lays: false), 47 TrapSystem, 50 TrapRemovalSystem, 53 CallToArmsSystem, 54 ChickenSystem, 55 FogOfWarSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 59 RoomTickSystem, 61 HeartDefenceSystem, 62 HeartFrameStep, 64 PortalSystem, 66 HatedCompanySystem, 69 RoomHealthSystem, 72 RatSpawnSystem, 74 ImpSupplySystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 79 ObjectReactionSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 83 RescueSystem, 84 PrisonerEatSystem, 85 PrisonerWanderSystem, 86 DungeonHeartSystem(frames: false), 88 TremorSystem; through a hub: 41 DoorHealthSystem, 48 ActionPointTriggerSystem, 49 EffectGeneratorSystem, 70 PlayerTriggerSystem, 71 ManaRemovalSystem
  • World (1): 88 TremorSystem
  • RNG (46 + 4): 1 HandSystem, 3 SpecialSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 8 AutoFurnitureSystem, 16 PossessionSystem, 19 CreatureStatusSystem, 21 CombatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 32 CombatPitSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 43 ShotSystem, 44 BoulderSystem, 45 ObjectMovementSystem, 46 HatcherySystem(lays: false), 49 EffectGeneratorSystem, 53 CallToArmsSystem, 54 ChickenSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 60 StoreSweepSystem, 63 CasinoSystem, 64 PortalSystem, 65 HatcheryLayStep, 67 WorkshopTimerSystem, 69 RoomHealthSystem, 71 ManaRemovalSystem, 72 RatSpawnSystem, 74 ImpSupplySystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 79 ObjectReactionSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 83 RescueSystem, 85 PrisonerWanderSystem, 87 NeutralAmbientEffectSystem, 88 TremorSystem; through a hub: 18 CreatureUpdateSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem, 86 DungeonHeartSystem(frames: false)
  • Commands in (0): none
  • Events out (77 + 3): 1 HandSystem, 3 SpecialSystem, 4 TileTagSystem, 5 RoomSellSystem, 6 RoomBuildSystem, 7 BlueprintSystem, 8 AutoFurnitureSystem, 11 CasinoLeverSystem, 13 DoorSystem, 14 KeeperSpellSystem, 15 CreateImpCastSystem, 16 PossessionSystem, 17 FootprintSystem, 19 CreatureStatusSystem, 20 ImpTaskSystem.WorkerPrelude, 21 CombatSystem, 22 CreatureExperienceSystem, 24 CreatureEatSystem, 25 CreatureSleepSystem, 26 PaydaySystem, 27 CreatureAngerSystem, 28 CombatSystem.StateHandlers, 29 TremorCreatureSystem, 30 ReaperSystem, 31 FinaleSystem, 32 CombatPitSystem, 33 JackInTheBoxSystem, 34 CasinoJackpotSystem, 35 HeroSystem, 36 CreatureJobSystem, 37 MovementDustSystem, 38 CreatureMovementSystem, 39 ImpTaskSystem, 40 CarriedThingSoundSystem, 41 DoorHealthSystem, 42 TrainingActionSystem, 43 ShotSystem, 44 BoulderSystem, 45 ObjectMovementSystem, 46 HatcherySystem(lays: false), 47 TrapSystem, 49 EffectGeneratorSystem, 50 TrapRemovalSystem, 51 DoorRemovalSystem, 52 ReaperRemovalSystem, 53 CallToArmsSystem, 54 ChickenSystem, 56 WalkOverGoldSystem, 57 TileWorkSystem, 58 BridgeBurnSystem, 60 StoreSweepSystem, 61 HeartDefenceSystem, 62 HeartFrameStep, 63 CasinoSystem, 64 PortalSystem, 65 HatcheryLayStep, 66 HatedCompanySystem, 67 WorkshopTimerSystem, 68 RoomBorderFlameSystem, 69 RoomHealthSystem, 71 ManaRemovalSystem, 72 RatSpawnSystem, 73 ManaSystem, 74 ImpSupplySystem, 75 RoomBuildWaveSystem, 76 RoomSellWaveSystem, 77 ResearchSystem, 79 ObjectReactionSystem, 80 CreatureHealthSystem, 81 PrisonSystem, 82 TortureSystem, 83 RescueSystem, 84 PrisonerEatSystem, 85 PrisonerWanderSystem, 86 DungeonHeartSystem(frames: false), 87 NeutralAmbientEffectSystem, 88 TremorSystem; through a hub: 18 CreatureUpdateSystem, 48 ActionPointTriggerSystem, 70 PlayerTriggerSystem

Hubs

Hub Rows that reach it Methods it reaches Rows
TriggerExecutor 19 413 1, 8, 16, 18, 21, 27, 28, 35, 36, 38, 43, 44, 48, 70, 71, 75, 80, 81, 86
WorldSteering.Refresh 34 159 14, 15, 16, 20, 21, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 38, 39, 41, 43, 44, 45, 47, 49, 53, 54, 55, 61, 81, 83, 84, 85, 86, 88

Neighbours that share no state

Consecutive systems, or consecutive steps of one container, where neither writes a field the other reads or writes; a container counts with all its steps. As far as data goes, their order is free; the order may still be DK2's.

21 pairs in the core view, 13 when the hubs are counted.

Rows Core Through hubs
3 SpecialSystem → 4 TileTagSystem free free
10 GraveyardSystem → 11 CasinoLeverSystem free free
11 CasinoLeverSystem → 12 AllianceSystem free free
41 DoorHealthSystem → 42 TrainingActionSystem free
47 TrapSystem → 48 ActionPointTriggerSystem free
48 ActionPointTriggerSystem → 49 EffectGeneratorSystem free
49 EffectGeneratorSystem → 50 TrapRemovalSystem free
50 TrapRemovalSystem → 51 DoorRemovalSystem free free
51 DoorRemovalSystem → 52 ReaperRemovalSystem free free
55 FogOfWarSystem → 56 WalkOverGoldSystem free
59 RoomTickSystem → 70 PlayerTriggerSystem free
60 StoreSweepSystem → 61 HeartDefenceSystem free
62 HeartFrameStep → 63 CasinoSystem free free
65 HatcheryLayStep → 66 HatedCompanySystem free free
66 HatedCompanySystem → 67 WorkshopTimerSystem free free
67 WorkshopTimerSystem → 68 RoomBorderFlameSystem free free
68 RoomBorderFlameSystem → 69 RoomHealthSystem free free
70 PlayerTriggerSystem → 71 ManaRemovalSystem free
76 RoomSellWaveSystem → 77 ResearchSystem free free
77 ResearchSystem → 78 ManufactureDecaySystem free free
78 ManufactureDecaySystem → 79 ObjectReactionSystem free free

Static state

Static fields count as state only when something writes them; each is shared by every world on its thread ([ThreadStatic]) or in the process, not held per world.

Field Column Written by rows
ApproachRules._scratch Caches & scratch 28
CallToArmsRules._routeScratch Caches & scratch 53
FightRules._routeScratch Caches & scratch 44, 47
FollowPathRules._scratch Caches & scratch 38
RepelObstacleRules._scratch Caches & scratch 38
RoomIndex.s_visited Caches & scratch 1, 3, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 18, 19, 20, 21, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 53, 54, 55, 57, 58, 59, 61, 62, 64, 66, 69, 70, 71, 72, 74, 75, 76, 79, 80, 81, 82, 83, 84, 85, 86, 88
RoomIndex.s_wanted Caches & scratch 14, 15, 16, 20, 21, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 38, 39, 41, 43, 44, 45, 47, 49, 53, 54, 55, 61, 81, 83, 84, 85, 86, 88
SeparationBehaviour._scratch Caches & scratch 38

Fields owned by systems

Written fields of a system class, or of an object only a system holds. They are outside the matrix: scratch, caches or per-tick flags that should not carry state from one system to another.

Field Written by rows
BoulderSystem._boulders 44
BoulderSystem._destroyed 44
BoulderSystem._sight 44
BoulderSystem._sightWorld 44
CallToArmsSystem._creatures 53
CallToArmsSystem._flags 53
CasinoSystem._piles 63
CasinoSystem._runs 63
CasinoSystem._settles 63
CombatSystem._sight 21, 28
CombatSystem._sightWorld 21, 28
CreatureAngerSystem._onTheSecond 27
CreatureMovementSystem._sight 38
CreatureMovementSystem._sightWorld 38
FootprintSystem._corpseTiles 17
GridPathfinder._cameFrom 25, 27, 36
GridPathfinder._cost 25, 27, 36
GridPathfinder._generation 25, 27, 36
GridPathfinder._stamp 25, 27, 36
GridPathfinder._width 25, 27, 36
HatedCompanySystem._active 66
HatedCompanySystem._delta 66
HatedCompanySystem._holders 66
HatedCompanySystem._rooms 66
HeartDefenceSystem._dispatches 61
HeartDefenceSystem._gathering 61
HeartDefenceSystem._reporting 61
HeartSites._sites 16, 21, 28, 38
HeroSystem._onOriginalTick 35
ImpTaskSystem._route 20, 39
LairSeeker._fallbackRoute 25, 27, 36
LairSeeker._route 25, 27, 36
ProfiledPathfinder.Profiler 39
RoomBorderFlameSystem._births 68
RoomBorderFlameSystem._next 68
RoomHealthSystem._anyGain 69
RoomHealthSystem._checked 69
RoomTickSystem._rooms 46, 59, 86
RoomTickSystem._world 46, 59, 86
ShotSystem._work 43
StoreSweepSystem._pile 60
StoreSweepSystem._sweepTurn 60
TileHeap._key 25, 27, 36
TileHeap._tile 25, 27, 36
TrapSystem._rooms 47
TrapSystem._sight 47
TrapSystem._sightWorld 47
WalkOverGoldSystem._piles 56
WorldSight._doorTiles 16, 21, 28, 36, 38, 44, 47, 55, 88
WorldSight._doorsVersion 16, 21, 28, 36, 38, 44, 47, 55, 88

What it does not see

  • A write through a collection, span or ref local that a parameter or a call handed in: only the element's own fields are seen, not the field that holds the collection.
  • A mutation through a method that returns a collection; through a get-only property that returns a field (RawGraveyards => _graveyards) it is seen.
  • Field initialisers and primary constructors are not walked.
  • Calls through a delegate are counted (delegateCalls in the JSON) and not followed; raising an event or calling a delegate field writes Events out when the field is an output, and nothing otherwise.
  • A constructor flag such as lays: false is not evaluated; the row reaches every branch.
  • Objects a method creates are not written by it, so filling a new object before storing it is not a write.

The same data with the fields behind each cell is Simulation-Read-Write-Matrix.json.

Clone this wiki locally