Skip to content

Simulation Read Write Matrix

github-actions[bot] edited this page Dec 2, 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.

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

Hubs

Hub Rows that reach it Methods it reaches Rows
TriggerExecutor 29 539 1, 3, 8, 16, 18, 21, 27, 28, 29, 30, 37, 38, 39, 41, 42, 45, 47, 48, 49, 53, 55, 57, 65, 79, 80, 84, 89, 90, 94
WorldSteering.Refresh 42 177 1, 3, 8, 13, 14, 15, 16, 18, 20, 21, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 38, 39, 41, 42, 47, 49, 50, 52, 54, 56, 61, 62, 63, 69, 84, 89, 90, 91, 92, 93, 94, 96

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.

19 pairs in the core view, 12 when the hubs are counted.

Rows Core Through hubs
10 GraveyardSystem → 11 CasinoLeverSystem free free
11 CasinoLeverSystem → 12 AllianceSystem free free
54 DoorHealthSystem → 55 ActionPointTriggerSystem free
55 ActionPointTriggerSystem → 56 EffectGeneratorSystem free
57 CreatureRemovalSystem → 58 TrapRemovalSystem free
58 TrapRemovalSystem → 59 DoorRemovalSystem free free
59 DoorRemovalSystem → 60 ReaperRemovalSystem free free
63 FogOfWarSystem → 64 WalkOverGoldSystem free
67 RoomTickSystem → 79 PlayerTriggerSystem free
68 StoreSweepSystem → 69 HeartDefenceSystem free
70 HeartFrameStep → 71 CasinoSystem free free
73 HatcheryLayStep → 74 HatedCompanySystem free free
74 HatedCompanySystem → 75 WorkshopTimerSystem free free
76 CombatPitRoomStep → 77 RoomBorderFlameSystem free free
77 RoomBorderFlameSystem → 78 RoomHealthSystem free free
79 PlayerTriggerSystem → 80 ManaRemovalSystem free
85 RoomSellWaveSystem → 86 ResearchSystem free free
86 ResearchSystem → 87 ManufactureDecaySystem free free
87 ManufactureDecaySystem → 88 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
AnimationTimingRules.s_countedClock Caches & scratch 1, 19, 29, 33, 36, 38, 39
ApproachRules.s_scratch Caches & scratch 29
AutoFurnitureRules.s_roomTiles Caches & scratch 3, 8, 18, 21, 42, 65, 84, 94, 96
AutoFurnitureRules.s_slots Caches & scratch 3, 8, 18, 21, 42, 65, 84, 94, 96
CallToArmsRules.s_routeScratch Caches & scratch 61
CombatTargetRules.s_routeQueryScratch Caches & scratch 39
FightRules.s_routeScratch Caches & scratch 49, 52
FollowPathRules.s_scratch Caches & scratch 41
ReaperRules.s_chickens Caches & scratch 39
RepelObstacleRules.s_scratch Caches & scratch 41
RoomIndex.s_visited Caches & scratch 1, 3, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 37, 38, 39, 41, 42, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 61, 62, 63, 65, 66, 67, 69, 70, 72, 74, 78, 79, 80, 81, 84, 85, 89, 90, 91, 92, 93, 94, 96
RoomIndex.s_wanted Caches & scratch 1, 3, 8, 13, 14, 15, 16, 18, 20, 21, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 38, 39, 41, 42, 47, 49, 50, 52, 54, 56, 61, 62, 63, 69, 84, 89, 90, 91, 92, 93, 94, 96
SeparationBehaviour.s_scratch Caches & scratch 41

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 49
BoulderSystem._destroyed 49
BoulderSystem._sight 49
BoulderSystem._sightWorld 49
CallToArmsSystem._creatures 61
CallToArmsSystem._flags 61
CasinoSystem._piles 71
CasinoSystem._runs 71
CasinoSystem._settles 71
CollapseSystem._due 45, 48, 53
CombatSystem._sight 21, 29
CombatSystem._sightWorld 21, 29
CreatureAngerSystem._onTheSecond 28
CreatureMovementSystem._sight 41
CreatureMovementSystem._sightWorld 41
DoorSystem._sight 13
DoorSystem._sightWorld 13
FootprintSystem._corpseTiles 17
GridPathfinder._cameFrom 26, 28, 39
GridPathfinder._cost 26, 28, 39
GridPathfinder._generation 26, 28, 39
GridPathfinder._stamp 26, 28, 39
GridPathfinder._width 26, 28, 39
HandSystem._landing 1
HatedCompanySystem._active 74
HatedCompanySystem._delta 74
HatedCompanySystem._holders 74
HatedCompanySystem._rooms 74
HeartDefenceSystem._dispatches 69
HeartDefenceSystem._gathering 69
HeartDefenceSystem._reporting 69
HeartDefenceSystem.s_routeScratch 69
HeroSystem._onOriginalTick 38
ImpTaskSystem._route 20, 42
LairSeeker._fallbackRoute 26, 28, 39
LairSeeker._route 26, 28, 39
ProfiledPathfinder.Profiler 42
RoomBorderFlameSystem._births 77
RoomBorderFlameSystem._next 77
RoomHealthSystem._anyGain 78
RoomHealthSystem._checked 78
RoomTickSystem._rooms 51, 67, 94
RoomTickSystem._world 51, 67, 94
ShotSystem._work 47
SteeringMover.CrowdWord 41
SteeringMover.Heading 41
SteeringMover.IsWorker 41
SteeringMover.Profile 41
SteeringMover.SizeClass 41
SteeringMover.TurnRate 41
StoreSweepSystem._pile 68
StoreSweepSystem._sweepTurn 68
TileHeap._key 26, 28, 39
TileHeap._tile 26, 28, 39
TrapSystem._rooms 52
TrapSystem._sight 52
TrapSystem._sightWorld 52
WalkOverGoldSystem._chickens 64
WalkOverGoldSystem._piles 64

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