Repository navigation
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.
470 source files, 95 rows, 3141 methods reached, 153 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.
| # | 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 | 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 | W | R | 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 | Rw | 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 | W | W | R | 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 | Rw | Rw | R | W | Rw | W | W | R | W | W | |
| 31 | ↳ TremorCreatureSystem
|
W | W | R | 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 | ↳ HeroSystem
|
W | W | Rw | W | W | r | W | Rw | W | W | R | W | W | |
| 38 | ↳ CreatureJobSystem
|
W | W | W | W | W | R | W | Rw | W | W | R | W | W | |
| 39 | ↳ MovementDustSystem
|
R | R | W | R | W | |||||||||
| 40 | ↳ CreatureMovementSystem
|
W | Rw | Rw | Rw | Rw | R | W | w | W | W | R | W | W | |
| 41 | ↳ ImpTaskSystem
|
W | R | W | W | W | W | W | R | W | W | R | W | W | |
| 42 | ↳ CarriedThingAttachSystem
|
W | R | W | W | R | |||||||||
| 43 | ↳ CarriedThingSoundSystem
|
R | R | R | R | W | |||||||||
| 44 | CollapseSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 45 | DoorHealthSystem |
R | R | W | r | r | W | Rw | W | R | 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 | ActionPointTriggerSystem |
w | w | w | w | w | r | w | w | w | w | r | w | w | |
| 55 | EffectGeneratorSystem |
r | r | r | W | r | R | Rw | w | R | W | W | |||
| 56 | CreatureRemovalSystem |
W | W | W | W | W | r | W | w | W | W | R | W | W | |
| 57 | TrapRemovalSystem |
R | W | R | W | ||||||||||
| 58 | DoorRemovalSystem |
W | W | W | W | R | W | ||||||||
| 59 | ReaperRemovalSystem |
W | R | W | W | R | W | ||||||||
| 60 | CallToArmsSystem |
R | R | W | R | W | r | W | R | W | W | R | W | R | W |
| 61 | ChickenSystem |
R | R | R | R | r | r | W | W | W | R | W | W | ||
| 62 | FogOfWarSystem |
W | R | r | R | r | R | Rw | W | R | |||||
| 63 | WalkOverGoldSystem |
R | R | R | W | W | R | W | |||||||
| Work | |||||||||||||||
| 64 | TileWorkSystem |
W | R | W | W | W | W | R | W | R | W | W | |||
| 65 | BridgeBurnSystem |
W | R | W | W | R | W | R | W | W | |||||
| RoomTicks | |||||||||||||||
| 66 | RoomTickSystem |
R | R | W | R | ||||||||||
| 67 | ↳ StoreSweepSystem
|
W | R | W | R | R | W | W | |||||||
| 68 | ↳ HeartDefenceSystem
|
R | R | R | R | r | r | W | W | W | R | W | |||
| 69 | ↳ HeartFrameStep
|
R | W | W | R | W | R | W | |||||||
| 70 | ↳ CasinoSystem
|
W | R | W | W | W | R | W | R | W | W | ||||
| 71 | ↳ PortalSystem
|
W | W | W | W | R | R | W | R | W | W | ||||
| 72 | ↳ HatcheryLayStep
|
W | W | W | R | W | W | ||||||||
| 73 | ↳ HatedCompanySystem
|
R | R | W | R | R | W | R | W | ||||||
| 74 | ↳ WorkshopTimerSystem
|
R | W | R | R | W | R | W | W | ||||||
| 75 | ↳ RoomBorderFlameSystem
|
W | R | R | W | ||||||||||
| 76 | ↳ RoomHealthSystem
|
W | R | W | W | W | R | W | R | W | W | ||||
| PlayerFrame | |||||||||||||||
| 77 | PlayerTriggerSystem |
w | w | w | w | w | r | w | w | w | w | r | w | w | |
| 78 | ManaRemovalSystem |
W | W | W | W | W | r | W | w | W | W | R | W | W | |
| 79 | RatSpawnSystem |
W | R | R | W | W | R | W | W | ||||||
| 80 | ManaSystem |
W | W | W | R | W | R | W | R | W | W | R | W | ||
| 81 | ImpSupplySystem |
W | R | W | W | R | R | W | W | ||||||
| 82 | RoomBuildWaveSystem |
W | W | W | W | W | R | W | Rw | W | W | R | W | W | |
| 83 | RoomSellWaveSystem |
W | R | W | W | W | R | W | R | W | W | ||||
| 84 | ResearchSystem |
W | R | W | |||||||||||
| 85 | ManufactureDecaySystem |
W | R | ||||||||||||
| Needs | |||||||||||||||
| 86 | ObjectReactionSystem |
R | W | R | W | W | |||||||||
| 87 | CreatureHealthSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 88 | PrisonSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 89 | TortureSystem |
W | W | W | Rw | Rw | r | w | Rw | W | W | R | W | W | |
| 90 | RescueSystem |
R | R | W | W | R | r | W | R | W | W | R | W | W | |
| 91 | PrisonerEatSystem |
R | R | W | R | W | r | W | R | W | W | R | W | ||
| 92 | PrisonerWanderSystem |
R | R | R | R | r | r | W | W | W | R | W | W | ||
| Verdict | |||||||||||||||
| 93 | DungeonHeartSystem(frames: false) |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 94 | NeutralAmbientEffectSystem |
R | R | R | R | W | W | ||||||||
| 95 | TremorSystem |
W | W | R | W | W | R | W | R | W | W | W | W | W |
The rows that write each column, in tick order; those after "through a hub" write it only there.
-
Tiles (55 + 3): 1
HandSystem, 3SpecialSystem, 4TileTagSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 26CreatureSleepSystem, 27PaydaySystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 33FinaleSystem, 35JackInTheBoxSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 42CarriedThingAttachSystem, 44CollapseSystem, 46TrainingActionSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 50ObjectMovementSystem, 51HatcherySystem(lays: false, stepObjects: false), 52TrapSystem, 53CollapseSystem, 56CreatureRemovalSystem, 58DoorRemovalSystem, 62FogOfWarSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 76RoomHealthSystem, 78ManaRemovalSystem, 79RatSpawnSystem, 80ManaSystem, 81ImpSupplySystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 28CreatureAngerSystem, 54ActionPointTriggerSystem, 77PlayerTriggerSystem -
Creatures (26 + 6): 1
HandSystem, 3SpecialSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 28CreatureAngerSystem, 30CreatureStatusSystem.RecoveryStep, 37HeroSystem, 38CreatureJobSystem, 44CollapseSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 52TrapSystem, 53CollapseSystem, 56CreatureRemovalSystem, 59ReaperRemovalSystem, 71PortalSystem, 78ManaRemovalSystem, 80ManaSystem, 82RoomBuildWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 21CombatSystem, 27PaydaySystem, 29CombatSystem.StateHandlers, 40CreatureMovementSystem, 54ActionPointTriggerSystem, 77PlayerTriggerSystem -
Players (52 + 4): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 12AllianceSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 33FinaleSystem, 34CombatPitSystem, 36CasinoJackpotSystem, 38CreatureJobSystem, 41ImpTaskSystem, 44CollapseSystem, 45DoorHealthSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 52TrapSystem, 53CollapseSystem, 56CreatureRemovalSystem, 58DoorRemovalSystem, 60CallToArmsSystem, 64TileWorkSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 73HatedCompanySystem, 76RoomHealthSystem, 78ManaRemovalSystem, 80ManaSystem, 81ImpSupplySystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 84ResearchSystem, 85ManufactureDecaySystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 90RescueSystem, 91PrisonerEatSystem, 93DungeonHeartSystem(frames: false); through a hub: 37HeroSystem, 40CreatureMovementSystem, 54ActionPointTriggerSystem, 77PlayerTriggerSystem -
Rooms (34 + 10): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 9TempleSacrificeSystem, 10GraveyardSystem, 18CreatureUpdateSystem, 21CombatSystem, 27PaydaySystem, 37HeroSystem, 38CreatureJobSystem, 41ImpTaskSystem, 44CollapseSystem, 47ShotSystem, 48CollapseSystem, 53CollapseSystem, 56CreatureRemovalSystem, 64TileWorkSystem, 65BridgeBurnSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 74WorkshopTimerSystem, 75RoomBorderFlameSystem, 76RoomHealthSystem, 78ManaRemovalSystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 90RescueSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 8AutoFurnitureSystem, 16PossessionSystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 40CreatureMovementSystem, 49BoulderSystem, 54ActionPointTriggerSystem, 77PlayerTriggerSystem, 89TortureSystem -
Objects & shots (53 + 6): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 8AutoFurnitureSystem, 11CasinoLeverSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 33FinaleSystem, 35JackInTheBoxSystem, 37HeroSystem, 38CreatureJobSystem, 41ImpTaskSystem, 42CarriedThingAttachSystem, 44CollapseSystem, 46TrainingActionSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 50ObjectMovementSystem, 51HatcherySystem(lays: false, stepObjects: false), 52TrapSystem, 53CollapseSystem, 55EffectGeneratorSystem, 56CreatureRemovalSystem, 60CallToArmsSystem, 63WalkOverGoldSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 70CasinoSystem, 72HatcheryLayStep, 76RoomHealthSystem, 78ManaRemovalSystem, 79RatSpawnSystem, 80ManaSystem, 81ImpSupplySystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 86ObjectReactionSystem, 87CreatureHealthSystem, 88PrisonSystem, 91PrisonerEatSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 27PaydaySystem, 30CreatureStatusSystem.RecoveryStep, 40CreatureMovementSystem, 54ActionPointTriggerSystem, 77PlayerTriggerSystem, 89TortureSystem -
Doors & traps (15): 4
TileTagSystem, 7BlueprintSystem, 13DoorSystem, 18CreatureUpdateSystem, 21CombatSystem, 29CombatSystem.StateHandlers, 33FinaleSystem, 41ImpTaskSystem, 45DoorHealthSystem, 47ShotSystem, 49BoulderSystem, 52TrapSystem, 57TrapRemovalSystem, 58DoorRemovalSystem, 64TileWorkSystem -
Heroes (43 + 3): 1
HandSystem, 3SpecialSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 31TremorCreatureSystem, 34CombatPitSystem, 35JackInTheBoxSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 44CollapseSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 52TrapSystem, 53CollapseSystem, 56CreatureRemovalSystem, 59ReaperRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 68HeartDefenceSystem, 78ManaRemovalSystem, 80ManaSystem, 82RoomBuildWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 90RescueSystem, 91PrisonerEatSystem, 92PrisonerWanderSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 54ActionPointTriggerSystem, 77PlayerTriggerSystem, 89TortureSystem -
Level script (0 + 27): none; through a hub: 1
HandSystem, 3SpecialSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 21CombatSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 44CollapseSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 53CollapseSystem, 54ActionPointTriggerSystem, 56CreatureRemovalSystem, 77PlayerTriggerSystem, 78ManaRemovalSystem, 82RoomBuildWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 93DungeonHeartSystem(frames: false) -
Navigation (47 + 8): 1
HandSystem, 3SpecialSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 24TravelArrivalSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 33FinaleSystem, 34CombatPitSystem, 35JackInTheBoxSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 44CollapseSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 52TrapSystem, 53CollapseSystem, 56CreatureRemovalSystem, 58DoorRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 68HeartDefenceSystem, 78ManaRemovalSystem, 80ManaSystem, 82RoomBuildWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 90RescueSystem, 91PrisonerEatSystem, 92PrisonerWanderSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 14KeeperSpellSystem, 15CreateImpCastSystem, 45DoorHealthSystem, 50ObjectMovementSystem, 54ActionPointTriggerSystem, 55EffectGeneratorSystem, 62FogOfWarSystem, 77PlayerTriggerSystem -
Caches & scratch (77 + 3): 1
HandSystem, 2RescuePrioritySystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 9TempleSacrificeSystem, 10GraveyardSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 17FootprintSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 22PreviousPositionStep, 23CreatureExperienceSystem, 24TravelArrivalSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 31TremorCreatureSystem, 32ReaperSystem, 33FinaleSystem, 34CombatPitSystem, 35JackInTheBoxSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 39MovementDustSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 42CarriedThingAttachSystem, 44CollapseSystem, 45DoorHealthSystem, 46TrainingActionSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 50ObjectMovementSystem, 51HatcherySystem(lays: false, stepObjects: false), 52TrapSystem, 53CollapseSystem, 56CreatureRemovalSystem, 59ReaperRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 62FogOfWarSystem, 63WalkOverGoldSystem, 64TileWorkSystem, 65BridgeBurnSystem, 66RoomTickSystem, 68HeartDefenceSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 73HatedCompanySystem, 74WorkshopTimerSystem, 76RoomHealthSystem, 78ManaRemovalSystem, 79RatSpawnSystem, 80ManaSystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 90RescueSystem, 91PrisonerEatSystem, 92PrisonerWanderSystem, 93DungeonHeartSystem(frames: false), 95TremorSystem; through a hub: 54ActionPointTriggerSystem, 55EffectGeneratorSystem, 77PlayerTriggerSystem -
World (1): 95
TremorSystem -
RNG (54 + 2): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 34CombatPitSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 44CollapseSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 50ObjectMovementSystem, 51HatcherySystem(lays: false, stepObjects: false), 53CollapseSystem, 55EffectGeneratorSystem, 56CreatureRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 74WorkshopTimerSystem, 76RoomHealthSystem, 78ManaRemovalSystem, 79RatSpawnSystem, 81ImpSupplySystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 86ObjectReactionSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 90RescueSystem, 92PrisonerWanderSystem, 93DungeonHeartSystem(frames: false), 94NeutralAmbientEffectSystem, 95TremorSystem; through a hub: 54ActionPointTriggerSystem, 77PlayerTriggerSystem - Commands in (0): none
-
Events out (83 + 2): 1
HandSystem, 3SpecialSystem, 4TileTagSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 11CasinoLeverSystem, 13DoorSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 17FootprintSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 23CreatureExperienceSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 31TremorCreatureSystem, 32ReaperSystem, 33FinaleSystem, 34CombatPitSystem, 35JackInTheBoxSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 39MovementDustSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 43CarriedThingSoundSystem, 44CollapseSystem, 45DoorHealthSystem, 46TrainingActionSystem, 47ShotSystem, 48CollapseSystem, 49BoulderSystem, 50ObjectMovementSystem, 51HatcherySystem(lays: false, stepObjects: false), 52TrapSystem, 53CollapseSystem, 55EffectGeneratorSystem, 56CreatureRemovalSystem, 57TrapRemovalSystem, 58DoorRemovalSystem, 59ReaperRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 63WalkOverGoldSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 68HeartDefenceSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 73HatedCompanySystem, 74WorkshopTimerSystem, 75RoomBorderFlameSystem, 76RoomHealthSystem, 78ManaRemovalSystem, 79RatSpawnSystem, 80ManaSystem, 81ImpSupplySystem, 82RoomBuildWaveSystem, 83RoomSellWaveSystem, 84ResearchSystem, 86ObjectReactionSystem, 87CreatureHealthSystem, 88PrisonSystem, 89TortureSystem, 90RescueSystem, 91PrisonerEatSystem, 92PrisonerWanderSystem, 93DungeonHeartSystem(frames: false), 94NeutralAmbientEffectSystem, 95TremorSystem; through a hub: 54ActionPointTriggerSystem, 77PlayerTriggerSystem
| Hub | Rows that reach it | Methods it reaches | Rows |
|---|---|---|---|
TriggerExecutor |
27 | 498 | 1, 3, 8, 16, 18, 21, 27, 28, 29, 30, 37, 38, 40, 44, 47, 48, 49, 53, 54, 56, 77, 78, 82, 87, 88, 89, 93 |
WorldSteering.Refresh |
41 | 171 | 1, 3, 8, 14, 15, 16, 18, 20, 21, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 37, 38, 40, 41, 45, 47, 49, 50, 52, 55, 60, 61, 62, 68, 82, 87, 88, 90, 91, 92, 93, 95 |
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.
20 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 |
45 DoorHealthSystem → 46 TrainingActionSystem
|
free | |
53 CollapseSystem → 54 ActionPointTriggerSystem
|
free | |
54 ActionPointTriggerSystem → 55 EffectGeneratorSystem
|
free | |
56 CreatureRemovalSystem → 57 TrapRemovalSystem
|
free | |
57 TrapRemovalSystem → 58 DoorRemovalSystem
|
free | free |
58 DoorRemovalSystem → 59 ReaperRemovalSystem
|
free | free |
62 FogOfWarSystem → 63 WalkOverGoldSystem
|
free | |
66 RoomTickSystem → 77 PlayerTriggerSystem
|
free | |
67 StoreSweepSystem → 68 HeartDefenceSystem
|
free | |
69 HeartFrameStep → 70 CasinoSystem
|
free | free |
72 HatcheryLayStep → 73 HatedCompanySystem
|
free | free |
73 HatedCompanySystem → 74 WorkshopTimerSystem
|
free | free |
74 WorkshopTimerSystem → 75 RoomBorderFlameSystem
|
free | free |
75 RoomBorderFlameSystem → 76 RoomHealthSystem
|
free | free |
77 PlayerTriggerSystem → 78 ManaRemovalSystem
|
free | |
83 RoomSellWaveSystem → 84 ResearchSystem
|
free | free |
84 ResearchSystem → 85 ManufactureDecaySystem
|
free | free |
85 ManufactureDecaySystem → 86 ObjectReactionSystem
|
free | free |
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._countedClock |
Caches & scratch | 1, 19, 29, 33, 36, 37, 38 |
ApproachRules._scratch |
Caches & scratch | 29 |
AutoFurnitureRules.s_roomTiles |
Caches & scratch | 3, 8, 18, 21, 41, 64, 82, 95 |
AutoFurnitureRules.s_slots |
Caches & scratch | 3, 8, 18, 21, 41, 64, 82, 95 |
CallToArmsRules._routeScratch |
Caches & scratch | 60 |
FightRules._routeScratch |
Caches & scratch | 49, 52 |
FollowPathRules._scratch |
Caches & scratch | 40 |
RepelObstacleRules._scratch |
Caches & scratch | 40 |
RoomIndex.s_visited |
Caches & scratch | 1, 3, 5, 6, 7, 8, 9, 10, 14, 15, 16, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 37, 38, 40, 41, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 60, 61, 62, 64, 65, 66, 68, 69, 71, 73, 76, 77, 78, 79, 82, 83, 87, 88, 89, 90, 91, 92, 93, 95 |
RoomIndex.s_wanted |
Caches & scratch | 1, 3, 8, 14, 15, 16, 18, 20, 21, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36, 37, 38, 40, 41, 45, 47, 49, 50, 52, 55, 60, 61, 62, 68, 82, 87, 88, 90, 91, 92, 93, 95 |
SeparationBehaviour._scratch |
Caches & scratch | 40 |
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 |
60 |
CallToArmsSystem._flags |
60 |
CasinoSystem._piles |
70 |
CasinoSystem._runs |
70 |
CasinoSystem._settles |
70 |
CollapseSystem._due |
44, 48, 53 |
CombatSystem._sight |
21, 29 |
CombatSystem._sightWorld |
21, 29 |
CreatureAngerSystem._onTheSecond |
28 |
CreatureMovementSystem._sight |
40 |
CreatureMovementSystem._sightWorld |
40 |
FootprintSystem._corpseTiles |
17 |
GridPathfinder._cameFrom |
26, 28, 38 |
GridPathfinder._cost |
26, 28, 38 |
GridPathfinder._generation |
26, 28, 38 |
GridPathfinder._stamp |
26, 28, 38 |
GridPathfinder._width |
26, 28, 38 |
HandSystem._landing |
1 |
HatedCompanySystem._active |
73 |
HatedCompanySystem._delta |
73 |
HatedCompanySystem._holders |
73 |
HatedCompanySystem._rooms |
73 |
HeartDefenceSystem._dispatches |
68 |
HeartDefenceSystem._gathering |
68 |
HeartDefenceSystem._reporting |
68 |
HeartDefenceSystem._routeScratch |
68 |
HeroSystem._onOriginalTick |
37 |
ImpTaskSystem._route |
20, 41 |
LairSeeker._fallbackRoute |
26, 28, 38 |
LairSeeker._route |
26, 28, 38 |
ProfiledPathfinder.Profiler |
41 |
RoomBorderFlameSystem._births |
75 |
RoomBorderFlameSystem._next |
75 |
RoomHealthSystem._anyGain |
76 |
RoomHealthSystem._checked |
76 |
RoomTickSystem._rooms |
51, 66, 93 |
RoomTickSystem._world |
51, 66, 93 |
ShotSystem._work |
47 |
SteeringMover.CrowdWord |
40 |
SteeringMover.Heading |
40 |
SteeringMover.IsWorker |
40 |
SteeringMover.Profile |
40 |
SteeringMover.SizeClass |
40 |
SteeringMover.TurnRate |
40 |
StoreSweepSystem._pile |
67 |
StoreSweepSystem._sweepTurn |
67 |
TileHeap._key |
26, 28, 38 |
TileHeap._tile |
26, 28, 38 |
TrapSystem._rooms |
52 |
TrapSystem._sight |
52 |
TrapSystem._sightWorld |
52 |
WalkOverGoldSystem._chickens |
63 |
WalkOverGoldSystem._piles |
63 |
- A write through a collection, span or
reflocal 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 (
delegateCallsin 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: falseis 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.
Getting started
About
Systems
Overview
Generated
- Status Matrix
- Decisions by System
- Research by System
- Open Questions
- KB Coverage
- Simulation Read-Write Matrix
Research
Contributing