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