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.
492 source files, 96 rows, 3294 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.
| # | 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 | ||||||||||
| 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 | W | 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 | W | W | W | W | W | W | Rw | 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 | TrainingActionSystem |
W | R | R | W | R | W | R | W | ||||||
| 46 | ShotSystem |
W | W | W | W | W | W | W | Rw | W | W | R | W | W | |
| 47 | CollapseSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 48 | BoulderSystem |
W | W | W | Rw | W | W | W | Rw | W | W | R | W | W | |
| 49 | ObjectMovementSystem |
W | R | R | R | W | R | R | Rw | W | R | W | W | ||
| 50 | HatcherySystem(lays: false, stepObjects: false) |
W | R | W | R | W | R | W | W | ||||||
| 51 | TrapSystem |
W | W | W | R | W | W | W | R | W | W | R | W | ||
| 52 | CollapseSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 53 | DoorHealthSystem |
R | R | W | r | r | W | R | Rw | W | R | 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 | Rw | W | W | W | W | w | Rw | w | W | R | W | W | |
| 65 | BridgeBurnSystem |
W | R | W | 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 | ↳ CombatPitRoomStep
|
R | R | W | W | R | R | R | R | W | W | ||||
| 76 | ↳ RoomBorderFlameSystem
|
W | R | R | W | ||||||||||
| 77 | ↳ RoomHealthSystem
|
W | R | W | W | W | R | W | R | W | W | ||||
| PlayerFrame | |||||||||||||||
| 78 | PlayerTriggerSystem |
w | w | w | w | w | r | w | w | w | w | r | w | w | |
| 79 | ManaRemovalSystem |
W | W | W | W | W | r | W | w | W | W | R | W | W | |
| 80 | RatSpawnSystem |
W | R | R | W | W | R | W | W | ||||||
| 81 | ManaSystem |
W | W | W | W | R | W | R | W | W | R | W | |||
| 82 | ImpSupplySystem |
W | R | W | W | R | R | W | W | ||||||
| 83 | RoomBuildWaveSystem |
W | Rw | W | W | W | R | W | Rw | W | W | R | W | W | |
| 84 | RoomSellWaveSystem |
W | R | W | W | W | R | W | R | W | W | ||||
| 85 | ResearchSystem |
W | R | W | |||||||||||
| 86 | ManufactureDecaySystem |
W | R | ||||||||||||
| Needs | |||||||||||||||
| 87 | ObjectReactionSystem |
W | R | ||||||||||||
| 88 | CreatureHealthSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 89 | PrisonSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 90 | TortureSystem |
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 |
The rows that write each column, in tick order; those after "through a hub" write it only there.
-
Tiles (56 + 3): 1
HandSystem, 3SpecialSystem, 4TileTagSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 13DoorSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 26CreatureSleepSystem, 27PaydaySystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 33FinaleSystem, 35JackInTheBoxSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 42CarriedThingAttachSystem, 44CollapseSystem, 45TrainingActionSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 49ObjectMovementSystem, 50HatcherySystem(lays: false, stepObjects: false), 51TrapSystem, 52CollapseSystem, 56CreatureRemovalSystem, 58DoorRemovalSystem, 62FogOfWarSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 77RoomHealthSystem, 79ManaRemovalSystem, 80RatSpawnSystem, 81ManaSystem, 82ImpSupplySystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 28CreatureAngerSystem, 54ActionPointTriggerSystem, 78PlayerTriggerSystem -
Creatures (25 + 9): 1
HandSystem, 3SpecialSystem, 16PossessionSystem, 18CreatureUpdateSystem, 28CreatureAngerSystem, 30CreatureStatusSystem.RecoveryStep, 37HeroSystem, 38CreatureJobSystem, 41ImpTaskSystem, 44CollapseSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 51TrapSystem, 52CollapseSystem, 56CreatureRemovalSystem, 59ReaperRemovalSystem, 71PortalSystem, 79ManaRemovalSystem, 81ManaSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 8AutoFurnitureSystem, 21CombatSystem, 27PaydaySystem, 29CombatSystem.StateHandlers, 40CreatureMovementSystem, 54ActionPointTriggerSystem, 64TileWorkSystem, 78PlayerTriggerSystem, 83RoomBuildWaveSystem -
Players (55 + 4): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 12AllianceSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 33FinaleSystem, 34CombatPitSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 41ImpTaskSystem, 44CollapseSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 51TrapSystem, 52CollapseSystem, 53DoorHealthSystem, 56CreatureRemovalSystem, 58DoorRemovalSystem, 60CallToArmsSystem, 64TileWorkSystem, 65BridgeBurnSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 73HatedCompanySystem, 75CombatPitRoomStep, 77RoomHealthSystem, 79ManaRemovalSystem, 81ManaSystem, 82ImpSupplySystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 85ResearchSystem, 86ManufactureDecaySystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 92PrisonerEatSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 8AutoFurnitureSystem, 40CreatureMovementSystem, 54ActionPointTriggerSystem, 78PlayerTriggerSystem -
Rooms (38 + 7): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 9TempleSacrificeSystem, 10GraveyardSystem, 16PossessionSystem, 18CreatureUpdateSystem, 21CombatSystem, 27PaydaySystem, 30CreatureStatusSystem.RecoveryStep, 37HeroSystem, 38CreatureJobSystem, 41ImpTaskSystem, 44CollapseSystem, 46ShotSystem, 47CollapseSystem, 52CollapseSystem, 56CreatureRemovalSystem, 64TileWorkSystem, 65BridgeBurnSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 74WorkshopTimerSystem, 75CombatPitRoomStep, 76RoomBorderFlameSystem, 77RoomHealthSystem, 79ManaRemovalSystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 8AutoFurnitureSystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 40CreatureMovementSystem, 48BoulderSystem, 54ActionPointTriggerSystem, 78PlayerTriggerSystem -
Objects & shots (55 + 4): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 8AutoFurnitureSystem, 11CasinoLeverSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 33FinaleSystem, 35JackInTheBoxSystem, 37HeroSystem, 38CreatureJobSystem, 41ImpTaskSystem, 42CarriedThingAttachSystem, 44CollapseSystem, 45TrainingActionSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 49ObjectMovementSystem, 50HatcherySystem(lays: false, stepObjects: false), 51TrapSystem, 52CollapseSystem, 55EffectGeneratorSystem, 56CreatureRemovalSystem, 60CallToArmsSystem, 63WalkOverGoldSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 70CasinoSystem, 72HatcheryLayStep, 77RoomHealthSystem, 79ManaRemovalSystem, 80RatSpawnSystem, 81ManaSystem, 82ImpSupplySystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 87ObjectReactionSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 92PrisonerEatSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 27PaydaySystem, 40CreatureMovementSystem, 54ActionPointTriggerSystem, 78PlayerTriggerSystem -
Doors & traps (15): 4
TileTagSystem, 7BlueprintSystem, 13DoorSystem, 18CreatureUpdateSystem, 21CombatSystem, 29CombatSystem.StateHandlers, 33FinaleSystem, 41ImpTaskSystem, 46ShotSystem, 48BoulderSystem, 51TrapSystem, 53DoorHealthSystem, 57TrapRemovalSystem, 58DoorRemovalSystem, 64TileWorkSystem -
Heroes (44 + 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, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 51TrapSystem, 52CollapseSystem, 56CreatureRemovalSystem, 59ReaperRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 68HeartDefenceSystem, 79ManaRemovalSystem, 81ManaSystem, 83RoomBuildWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 92PrisonerEatSystem, 93PrisonerWanderSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 54ActionPointTriggerSystem, 64TileWorkSystem, 78PlayerTriggerSystem -
Level script (0 + 29): none; through a hub: 1
HandSystem, 3SpecialSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 21CombatSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 44CollapseSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 52CollapseSystem, 54ActionPointTriggerSystem, 56CreatureRemovalSystem, 64TileWorkSystem, 78PlayerTriggerSystem, 79ManaRemovalSystem, 83RoomBuildWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 94DungeonHeartSystem(frames: false) -
Navigation (47 + 10): 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, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 51TrapSystem, 52CollapseSystem, 56CreatureRemovalSystem, 58DoorRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 68HeartDefenceSystem, 79ManaRemovalSystem, 81ManaSystem, 83RoomBuildWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 92PrisonerEatSystem, 93PrisonerWanderSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 13DoorSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 49ObjectMovementSystem, 53DoorHealthSystem, 54ActionPointTriggerSystem, 55EffectGeneratorSystem, 62FogOfWarSystem, 64TileWorkSystem, 78PlayerTriggerSystem -
Caches & scratch (78 + 3): 1
HandSystem, 2RescuePrioritySystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 9TempleSacrificeSystem, 10GraveyardSystem, 13DoorSystem, 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, 45TrainingActionSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 49ObjectMovementSystem, 50HatcherySystem(lays: false, stepObjects: false), 51TrapSystem, 52CollapseSystem, 53DoorHealthSystem, 56CreatureRemovalSystem, 59ReaperRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 62FogOfWarSystem, 63WalkOverGoldSystem, 64TileWorkSystem, 65BridgeBurnSystem, 66RoomTickSystem, 68HeartDefenceSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 73HatedCompanySystem, 74WorkshopTimerSystem, 77RoomHealthSystem, 79ManaRemovalSystem, 80RatSpawnSystem, 81ManaSystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 92PrisonerEatSystem, 93PrisonerWanderSystem, 94DungeonHeartSystem(frames: false), 96TremorSystem; through a hub: 54ActionPointTriggerSystem, 55EffectGeneratorSystem, 78PlayerTriggerSystem -
World (1): 96
TremorSystem -
RNG (55 + 2): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 25CreatureEatSystem, 26CreatureSleepSystem, 27PaydaySystem, 28CreatureAngerSystem, 29CombatSystem.StateHandlers, 30CreatureStatusSystem.RecoveryStep, 34CombatPitSystem, 36CasinoJackpotSystem, 37HeroSystem, 38CreatureJobSystem, 40CreatureMovementSystem, 41ImpTaskSystem, 44CollapseSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 49ObjectMovementSystem, 50HatcherySystem(lays: false, stepObjects: false), 52CollapseSystem, 55EffectGeneratorSystem, 56CreatureRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 74WorkshopTimerSystem, 75CombatPitRoomStep, 77RoomHealthSystem, 79ManaRemovalSystem, 80RatSpawnSystem, 82ImpSupplySystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 93PrisonerWanderSystem, 94DungeonHeartSystem(frames: false), 95NeutralAmbientEffectSystem, 96TremorSystem; through a hub: 54ActionPointTriggerSystem, 78PlayerTriggerSystem - 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, 45TrainingActionSystem, 46ShotSystem, 47CollapseSystem, 48BoulderSystem, 49ObjectMovementSystem, 50HatcherySystem(lays: false, stepObjects: false), 51TrapSystem, 52CollapseSystem, 53DoorHealthSystem, 55EffectGeneratorSystem, 56CreatureRemovalSystem, 57TrapRemovalSystem, 58DoorRemovalSystem, 59ReaperRemovalSystem, 60CallToArmsSystem, 61ChickenSystem, 63WalkOverGoldSystem, 64TileWorkSystem, 65BridgeBurnSystem, 67StoreSweepSystem, 68HeartDefenceSystem, 69HeartFrameStep, 70CasinoSystem, 71PortalSystem, 72HatcheryLayStep, 73HatedCompanySystem, 74WorkshopTimerSystem, 75CombatPitRoomStep, 76RoomBorderFlameSystem, 77RoomHealthSystem, 79ManaRemovalSystem, 80RatSpawnSystem, 81ManaSystem, 82ImpSupplySystem, 83RoomBuildWaveSystem, 84RoomSellWaveSystem, 85ResearchSystem, 88CreatureHealthSystem, 89PrisonSystem, 90TortureSystem, 91RescueSystem, 92PrisonerEatSystem, 93PrisonerWanderSystem, 94DungeonHeartSystem(frames: false), 95NeutralAmbientEffectSystem, 96TremorSystem; through a hub: 54ActionPointTriggerSystem, 78PlayerTriggerSystem
| Hub | Rows that reach it | Methods it reaches | Rows |
|---|---|---|---|
TriggerExecutor |
29 | 538 | 1, 3, 8, 16, 18, 21, 27, 28, 29, 30, 37, 38, 40, 41, 44, 46, 47, 48, 52, 54, 56, 64, 78, 79, 83, 88, 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, 37, 38, 40, 41, 46, 48, 49, 51, 53, 55, 60, 61, 62, 68, 83, 88, 89, 91, 92, 93, 94, 96 |
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 |
53 DoorHealthSystem → 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 → 78 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 |
75 CombatPitRoomStep → 76 RoomBorderFlameSystem
|
free | free |
76 RoomBorderFlameSystem → 77 RoomHealthSystem
|
free | free |
78 PlayerTriggerSystem → 79 ManaRemovalSystem
|
free | |
84 RoomSellWaveSystem → 85 ResearchSystem
|
free | free |
85 ResearchSystem → 86 ManufactureDecaySystem
|
free | free |
86 ManufactureDecaySystem → 87 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.s_countedClock |
Caches & scratch | 1, 19, 29, 33, 36, 37, 38 |
ApproachRules.s_scratch |
Caches & scratch | 29 |
AutoFurnitureRules.s_roomTiles |
Caches & scratch | 3, 8, 18, 21, 41, 64, 83, 94, 96 |
AutoFurnitureRules.s_slots |
Caches & scratch | 3, 8, 18, 21, 41, 64, 83, 94, 96 |
CallToArmsRules.s_routeScratch |
Caches & scratch | 60 |
FightRules.s_routeScratch |
Caches & scratch | 48, 51 |
FollowPathRules.s_scratch |
Caches & scratch | 40 |
RepelObstacleRules.s_scratch |
Caches & scratch | 40 |
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, 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, 77, 78, 79, 80, 83, 84, 88, 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, 37, 38, 40, 41, 46, 48, 49, 51, 53, 55, 60, 61, 62, 68, 83, 88, 89, 91, 92, 93, 94, 96 |
SeparationBehaviour.s_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 |
48 |
BoulderSystem._destroyed |
48 |
BoulderSystem._sight |
48 |
BoulderSystem._sightWorld |
48 |
CallToArmsSystem._creatures |
60 |
CallToArmsSystem._flags |
60 |
CasinoSystem._piles |
70 |
CasinoSystem._runs |
70 |
CasinoSystem._settles |
70 |
CollapseSystem._due |
44, 47, 52 |
CombatSystem._sight |
21, 29 |
CombatSystem._sightWorld |
21, 29 |
CreatureAngerSystem._onTheSecond |
28 |
CreatureMovementSystem._sight |
40 |
CreatureMovementSystem._sightWorld |
40 |
DoorSystem._sight |
13 |
DoorSystem._sightWorld |
13 |
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.s_routeScratch |
68 |
HeroSystem._onOriginalTick |
37 |
ImpTaskSystem._route |
20, 41 |
LairSeeker._fallbackRoute |
26, 28, 38 |
LairSeeker._route |
26, 28, 38 |
ProfiledPathfinder.Profiler |
41 |
RoomBorderFlameSystem._births |
76 |
RoomBorderFlameSystem._next |
76 |
RoomHealthSystem._anyGain |
77 |
RoomHealthSystem._checked |
77 |
RoomTickSystem._rooms |
50, 66, 94 |
RoomTickSystem._world |
50, 66, 94 |
ShotSystem._work |
46 |
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 |
51 |
TrapSystem._sight |
51 |
TrapSystem._sightWorld |
51 |
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