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.
435 source files, 88 rows, 2950 methods reached, 138 state types.
Legend. W written, R read and not written. Upper case is the core view, which stops at the hubs (TriggerExecutor and WorldSteering.Refresh); lower case is what a row reaches only through a hub, so Rw is read by the row itself and written only through a hub. A step (↳) runs inside its container once per creature or room, in the order shown. Rooms holds the state a room keeps from tick to tick; reading RoomInstance, the room as its tiles describe it, counts as reading Rooms, while rebuilding it is a write of Caches & scratch.
| # | System | Tiles | Creatures | Players | Rooms | Objects & shots | Doors & traps | Heroes | Level script | Navigation | Caches & scratch | World | RNG | Commands in | Events out |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Commands | |||||||||||||||
| 1 | HandSystem |
W | W | W | W | W | R | W | Rw | W | W | R | W | R | W |
| 2 | RescuePrioritySystem |
W | R | R | |||||||||||
| 3 | SpecialSystem |
W | W | W | R | W | W | R | W | R | W | ||||
| RoomLifecycle | |||||||||||||||
| 4 | TileTagSystem |
W | W | R | R | W | |||||||||
| 5 | RoomSellSystem |
W | W | W | W | W | R | W | R | W | R | W | |||
| 6 | RoomBuildSystem |
W | W | W | W | W | R | W | W | R | W | R | W | ||
| 7 | BlueprintSystem |
W | W | W | R | R | W | W | W | R | R | W | |||
| 8 | AutoFurnitureSystem |
W | W | W | Rw | W | r | W | w | W | W | R | W | W | |
| 9 | TempleSacrificeSystem |
R | W | W | R | ||||||||||
| 10 | GraveyardSystem |
R | W | W | R | ||||||||||
| 11 | CasinoLeverSystem |
W | R | R | W | ||||||||||
| KeeperActions | |||||||||||||||
| 12 | AllianceSystem |
W | R | ||||||||||||
| 13 | DoorSystem |
R | R | R | R | W | W | R | R | W | |||||
| 14 | KeeperSpellSystem |
W | W | W | R | W | r | R | Rw | W | R | R | W | ||
| 15 | CreateImpCastSystem |
W | R | W | R | W | r | Rw | W | R | R | W | |||
| 16 | PossessionSystem |
W | W | W | Rw | W | R | W | Rw | W | W | R | W | R | W |
| ThingPass | |||||||||||||||
| 17 | FootprintSystem |
R | W | R | R | W | |||||||||
| 18 | CreatureUpdateSystem |
w | Rw | w | w | w | r | w | w | w | W | r | w | w | |
| 19 | ↳ CreatureStatusSystem
|
R | W | W | R | W | R | W | W | R | W | W | |||
| 20 | ↳ ImpTaskSystem.WorkerPrelude
|
W | W | R | R | W | R | W | W | W | R | W | |||
| 21 | ↳ CombatSystem
|
W | W | W | W | W | W | W | Rw | W | W | R | W | W | |
| 22 | ↳ CreatureExperienceSystem
|
W | R | W | |||||||||||
| 23 | ↳ TravelArrivalSystem
|
W | W | ||||||||||||
| 24 | ↳ CreatureEatSystem
|
R | W | W | R | W | r | W | R | W | W | R | W | ||
| 25 | ↳ CreatureSleepSystem
|
W | W | W | R | W | r | W | R | W | W | R | W | W | |
| 26 | ↳ PaydaySystem
|
W | W | W | W | R | r | W | R | W | W | R | W | W | |
| 27 | ↳ CreatureAngerSystem
|
Rw | W | W | Rw | W | r | W | Rw | W | W | R | W | W | |
| 28 | ↳ CombatSystem.StateHandlers
|
W | W | W | Rw | W | W | W | Rw | W | W | R | W | W | |
| 29 | ↳ TremorCreatureSystem
|
W | W | W | R | W | |||||||||
| 30 | ↳ ReaperSystem
|
W | R | W | |||||||||||
| 31 | ↳ FinaleSystem
|
W | W | W | R | W | W | R | W | W | R | W | |||
| 32 | ↳ CombatPitSystem
|
R | W | W | R | r | r | W | R | W | W | R | W | W | |
| 33 | ↳ JackInTheBoxSystem
|
W | W | R | R | W | r | W | R | W | W | R | W | ||
| 34 | ↳ CasinoJackpotSystem
|
W | W | W | R | r | r | W | R | W | W | R | W | W | |
| 35 | ↳ HeroSystem
|
W | W | Rw | W | W | r | W | Rw | W | W | R | W | W | |
| 36 | ↳ CreatureJobSystem
|
W | W | W | W | W | R | W | Rw | W | W | R | W | W | |
| 37 | ↳ MovementDustSystem
|
R | W | R | R | W | |||||||||
| 38 | ↳ CreatureMovementSystem
|
W | W | Rw | Rw | Rw | R | W | w | W | W | R | W | W | |
| 39 | ↳ ImpTaskSystem
|
W | W | W | W | W | W | W | R | W | W | R | W | W | |
| 40 | ↳ CarriedThingSoundSystem
|
R | R | R | W | ||||||||||
| 41 | DoorHealthSystem |
R | W | r | r | W | Rw | w | R | W | |||||
| 42 | TrainingActionSystem |
W | W | R | W | R | W | R | W | ||||||
| 43 | ShotSystem |
W | W | W | Rw | W | W | w | Rw | W | W | R | W | W | |
| 44 | BoulderSystem |
W | W | W | Rw | W | W | w | Rw | W | W | R | W | W | |
| 45 | ObjectMovementSystem |
W | R | R | R | W | R | R | Rw | W | R | W | W | ||
| 46 | HatcherySystem(lays: false) |
W | R | W | W | R | W | W | |||||||
| 47 | TrapSystem |
W | W | W | R | W | W | W | R | W | W | R | W | ||
| 48 | ActionPointTriggerSystem |
w | w | w | w | w | r | w | w | w | w | r | w | w | |
| 49 | EffectGeneratorSystem |
r | r | r | W | r | R | Rw | w | R | W | W | |||
| 50 | TrapRemovalSystem |
R | R | W | W | R | W | ||||||||
| 51 | DoorRemovalSystem |
W | W | W | W | R | W | ||||||||
| 52 | ReaperRemovalSystem |
W | R | W | R | W | |||||||||
| 53 | CallToArmsSystem |
R | W | W | R | W | r | W | R | W | W | R | W | R | W |
| 54 | ChickenSystem |
R | W | R | R | r | r | W | W | W | R | W | W | ||
| 55 | FogOfWarSystem |
W | R | r | R | r | R | Rw | W | R | |||||
| 56 | WalkOverGoldSystem |
R | W | R | W | R | W | ||||||||
| Work | |||||||||||||||
| 57 | TileWorkSystem |
W | W | W | W | W | W | R | W | R | W | W | |||
| 58 | BridgeBurnSystem |
W | W | W | W | W | R | W | W | ||||||
| RoomTicks | |||||||||||||||
| 59 | RoomTickSystem |
R | R | W | R | ||||||||||
| 60 | ↳ StoreSweepSystem
|
W | R | W | R | R | W | W | |||||||
| 61 | ↳ HeartDefenceSystem
|
R | W | R | R | r | r | W | W | W | R | W | |||
| 62 | ↳ HeartFrameStep
|
R | W | W | R | W | R | W | |||||||
| 63 | ↳ CasinoSystem
|
W | W | W | W | W | R | R | W | W | |||||
| 64 | ↳ PortalSystem
|
W | W | W | W | R | R | W | R | W | W | ||||
| 65 | ↳ HatcheryLayStep
|
W | W | W | R | W | W | ||||||||
| 66 | ↳ HatedCompanySystem
|
R | W | W | R | R | W | R | W | ||||||
| 67 | ↳ WorkshopTimerSystem
|
R | W | R | R | R | W | W | |||||||
| 68 | ↳ RoomBorderFlameSystem
|
W | R | R | W | ||||||||||
| 69 | ↳ RoomHealthSystem
|
W | W | W | W | W | R | W | R | W | W | ||||
| PlayerFrame | |||||||||||||||
| 70 | PlayerTriggerSystem |
w | w | w | w | w | r | w | w | w | w | r | w | w | |
| 71 | ManaRemovalSystem |
W | W | W | W | W | r | W | w | W | w | R | W | W | |
| 72 | RatSpawnSystem |
W | R | R | W | W | R | W | W | ||||||
| 73 | ManaSystem |
W | W | W | R | W | R | W | R | W | R | W | |||
| 74 | ImpSupplySystem |
W | R | W | R | W | W | R | W | W | |||||
| 75 | RoomBuildWaveSystem |
W | W | W | W | W | R | W | Rw | W | W | R | W | W | |
| 76 | RoomSellWaveSystem |
W | W | W | W | W | R | W | R | W | W | ||||
| 77 | ResearchSystem |
W | R | W | |||||||||||
| 78 | ManufactureDecaySystem |
W | R | ||||||||||||
| Needs | |||||||||||||||
| 79 | ObjectReactionSystem |
R | R | W | W | R | W | W | |||||||
| 80 | CreatureHealthSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 81 | PrisonSystem |
W | W | W | W | W | r | W | Rw | W | W | R | W | W | |
| 82 | TortureSystem |
W | W | W | R | R | R | W | W | R | W | W | |||
| 83 | RescueSystem |
R | W | W | W | r | r | W | R | W | W | R | W | W | |
| 84 | PrisonerEatSystem |
R | W | W | R | W | r | W | R | W | W | R | W | ||
| 85 | PrisonerWanderSystem |
R | W | R | R | r | r | W | W | W | R | W | W | ||
| Verdict | |||||||||||||||
| 86 | DungeonHeartSystem(frames: false) |
W | W | W | W | W | r | W | Rw | W | W | R | w | W | |
| 87 | NeutralAmbientEffectSystem |
R | R | R | R | W | W | ||||||||
| 88 | TremorSystem |
W | W | R | W | W | R | W | W | W | W | W | W |
The rows that write each column, in tick order; those after "through a hub" write it only there.
-
Tiles (48 + 4): 1
HandSystem, 3SpecialSystem, 4TileTagSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 25CreatureSleepSystem, 26PaydaySystem, 28CombatSystem.StateHandlers, 31FinaleSystem, 33JackInTheBoxSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 42TrainingActionSystem, 43ShotSystem, 44BoulderSystem, 45ObjectMovementSystem, 46HatcherySystem(lays: false), 47TrapSystem, 51DoorRemovalSystem, 55FogOfWarSystem, 57TileWorkSystem, 58BridgeBurnSystem, 60StoreSweepSystem, 63CasinoSystem, 64PortalSystem, 65HatcheryLayStep, 69RoomHealthSystem, 71ManaRemovalSystem, 72RatSpawnSystem, 73ManaSystem, 74ImpSupplySystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 18CreatureUpdateSystem, 27CreatureAngerSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem -
Creatures (58 + 3): 1
HandSystem, 2RescuePrioritySystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 14KeeperSpellSystem, 16PossessionSystem, 17FootprintSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 22CreatureExperienceSystem, 23TravelArrivalSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 29TremorCreatureSystem, 30ReaperSystem, 31FinaleSystem, 32CombatPitSystem, 33JackInTheBoxSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 37MovementDustSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 42TrainingActionSystem, 43ShotSystem, 44BoulderSystem, 47TrapSystem, 52ReaperRemovalSystem, 53CallToArmsSystem, 54ChickenSystem, 56WalkOverGoldSystem, 57TileWorkSystem, 58BridgeBurnSystem, 61HeartDefenceSystem, 63CasinoSystem, 64PortalSystem, 66HatedCompanySystem, 69RoomHealthSystem, 71ManaRemovalSystem, 73ManaSystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 83RescueSystem, 84PrisonerEatSystem, 85PrisonerWanderSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 18CreatureUpdateSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem -
Players (47 + 5): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 12AllianceSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 19CreatureStatusSystem, 21CombatSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 31FinaleSystem, 32CombatPitSystem, 34CasinoJackpotSystem, 36CreatureJobSystem, 39ImpTaskSystem, 41DoorHealthSystem, 43ShotSystem, 44BoulderSystem, 47TrapSystem, 51DoorRemovalSystem, 53CallToArmsSystem, 57TileWorkSystem, 62HeartFrameStep, 63CasinoSystem, 64PortalSystem, 66HatedCompanySystem, 69RoomHealthSystem, 71ManaRemovalSystem, 73ManaSystem, 74ImpSupplySystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 77ResearchSystem, 78ManufactureDecaySystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 83RescueSystem, 84PrisonerEatSystem, 86DungeonHeartSystem(frames: false); through a hub: 18CreatureUpdateSystem, 35HeroSystem, 38CreatureMovementSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem -
Rooms (27 + 10): 1
HandSystem, 5RoomSellSystem, 6RoomBuildSystem, 9TempleSacrificeSystem, 10GraveyardSystem, 21CombatSystem, 26PaydaySystem, 35HeroSystem, 36CreatureJobSystem, 39ImpTaskSystem, 57TileWorkSystem, 58BridgeBurnSystem, 62HeartFrameStep, 63CasinoSystem, 64PortalSystem, 65HatcheryLayStep, 67WorkshopTimerSystem, 68RoomBorderFlameSystem, 69RoomHealthSystem, 71ManaRemovalSystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 80CreatureHealthSystem, 81PrisonSystem, 83RescueSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 38CreatureMovementSystem, 43ShotSystem, 44BoulderSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem -
Objects & shots (47 + 4): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 8AutoFurnitureSystem, 11CasinoLeverSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 31FinaleSystem, 33JackInTheBoxSystem, 35HeroSystem, 36CreatureJobSystem, 39ImpTaskSystem, 42TrainingActionSystem, 43ShotSystem, 44BoulderSystem, 45ObjectMovementSystem, 46HatcherySystem(lays: false), 47TrapSystem, 49EffectGeneratorSystem, 53CallToArmsSystem, 56WalkOverGoldSystem, 57TileWorkSystem, 58BridgeBurnSystem, 60StoreSweepSystem, 63CasinoSystem, 65HatcheryLayStep, 69RoomHealthSystem, 71ManaRemovalSystem, 72RatSpawnSystem, 73ManaSystem, 74ImpSupplySystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 79ObjectReactionSystem, 80CreatureHealthSystem, 81PrisonSystem, 84PrisonerEatSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 18CreatureUpdateSystem, 38CreatureMovementSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem -
Doors & traps (14): 4
TileTagSystem, 7BlueprintSystem, 13DoorSystem, 21CombatSystem, 28CombatSystem.StateHandlers, 31FinaleSystem, 39ImpTaskSystem, 41DoorHealthSystem, 43ShotSystem, 44BoulderSystem, 47TrapSystem, 50TrapRemovalSystem, 51DoorRemovalSystem, 57TileWorkSystem -
Heroes (34 + 5): 1
HandSystem, 8AutoFurnitureSystem, 16PossessionSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 29TremorCreatureSystem, 32CombatPitSystem, 33JackInTheBoxSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 47TrapSystem, 52ReaperRemovalSystem, 53CallToArmsSystem, 54ChickenSystem, 61HeartDefenceSystem, 71ManaRemovalSystem, 73ManaSystem, 75RoomBuildWaveSystem, 80CreatureHealthSystem, 81PrisonSystem, 83RescueSystem, 84PrisonerEatSystem, 85PrisonerWanderSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 18CreatureUpdateSystem, 43ShotSystem, 44BoulderSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem -
Level script (0 + 19): none; through a hub: 1
HandSystem, 8AutoFurnitureSystem, 16PossessionSystem, 18CreatureUpdateSystem, 21CombatSystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 35HeroSystem, 36CreatureJobSystem, 38CreatureMovementSystem, 43ShotSystem, 44BoulderSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem, 71ManaRemovalSystem, 75RoomBuildWaveSystem, 80CreatureHealthSystem, 81PrisonSystem, 86DungeonHeartSystem(frames: false) -
Navigation (40 + 9): 1
HandSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 16PossessionSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 23TravelArrivalSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 31FinaleSystem, 32CombatPitSystem, 33JackInTheBoxSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 43ShotSystem, 44BoulderSystem, 47TrapSystem, 51DoorRemovalSystem, 53CallToArmsSystem, 54ChickenSystem, 61HeartDefenceSystem, 71ManaRemovalSystem, 73ManaSystem, 75RoomBuildWaveSystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 83RescueSystem, 84PrisonerEatSystem, 85PrisonerWanderSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 14KeeperSpellSystem, 15CreateImpCastSystem, 18CreatureUpdateSystem, 41DoorHealthSystem, 45ObjectMovementSystem, 48ActionPointTriggerSystem, 49EffectGeneratorSystem, 55FogOfWarSystem, 70PlayerTriggerSystem -
Caches & scratch (61 + 5): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 9TempleSacrificeSystem, 10GraveyardSystem, 13DoorSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 18CreatureUpdateSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 29TremorCreatureSystem, 31FinaleSystem, 32CombatPitSystem, 33JackInTheBoxSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 42TrainingActionSystem, 43ShotSystem, 44BoulderSystem, 45ObjectMovementSystem, 46HatcherySystem(lays: false), 47TrapSystem, 50TrapRemovalSystem, 53CallToArmsSystem, 54ChickenSystem, 55FogOfWarSystem, 57TileWorkSystem, 58BridgeBurnSystem, 59RoomTickSystem, 61HeartDefenceSystem, 62HeartFrameStep, 64PortalSystem, 66HatedCompanySystem, 69RoomHealthSystem, 72RatSpawnSystem, 74ImpSupplySystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 79ObjectReactionSystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 83RescueSystem, 84PrisonerEatSystem, 85PrisonerWanderSystem, 86DungeonHeartSystem(frames: false), 88TremorSystem; through a hub: 41DoorHealthSystem, 48ActionPointTriggerSystem, 49EffectGeneratorSystem, 70PlayerTriggerSystem, 71ManaRemovalSystem -
World (1): 88
TremorSystem -
RNG (46 + 4): 1
HandSystem, 3SpecialSystem, 5RoomSellSystem, 6RoomBuildSystem, 8AutoFurnitureSystem, 16PossessionSystem, 19CreatureStatusSystem, 21CombatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 32CombatPitSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 43ShotSystem, 44BoulderSystem, 45ObjectMovementSystem, 46HatcherySystem(lays: false), 49EffectGeneratorSystem, 53CallToArmsSystem, 54ChickenSystem, 57TileWorkSystem, 58BridgeBurnSystem, 60StoreSweepSystem, 63CasinoSystem, 64PortalSystem, 65HatcheryLayStep, 67WorkshopTimerSystem, 69RoomHealthSystem, 71ManaRemovalSystem, 72RatSpawnSystem, 74ImpSupplySystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 79ObjectReactionSystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 83RescueSystem, 85PrisonerWanderSystem, 87NeutralAmbientEffectSystem, 88TremorSystem; through a hub: 18CreatureUpdateSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem, 86DungeonHeartSystem(frames: false) - Commands in (0): none
-
Events out (77 + 3): 1
HandSystem, 3SpecialSystem, 4TileTagSystem, 5RoomSellSystem, 6RoomBuildSystem, 7BlueprintSystem, 8AutoFurnitureSystem, 11CasinoLeverSystem, 13DoorSystem, 14KeeperSpellSystem, 15CreateImpCastSystem, 16PossessionSystem, 17FootprintSystem, 19CreatureStatusSystem, 20ImpTaskSystem.WorkerPrelude, 21CombatSystem, 22CreatureExperienceSystem, 24CreatureEatSystem, 25CreatureSleepSystem, 26PaydaySystem, 27CreatureAngerSystem, 28CombatSystem.StateHandlers, 29TremorCreatureSystem, 30ReaperSystem, 31FinaleSystem, 32CombatPitSystem, 33JackInTheBoxSystem, 34CasinoJackpotSystem, 35HeroSystem, 36CreatureJobSystem, 37MovementDustSystem, 38CreatureMovementSystem, 39ImpTaskSystem, 40CarriedThingSoundSystem, 41DoorHealthSystem, 42TrainingActionSystem, 43ShotSystem, 44BoulderSystem, 45ObjectMovementSystem, 46HatcherySystem(lays: false), 47TrapSystem, 49EffectGeneratorSystem, 50TrapRemovalSystem, 51DoorRemovalSystem, 52ReaperRemovalSystem, 53CallToArmsSystem, 54ChickenSystem, 56WalkOverGoldSystem, 57TileWorkSystem, 58BridgeBurnSystem, 60StoreSweepSystem, 61HeartDefenceSystem, 62HeartFrameStep, 63CasinoSystem, 64PortalSystem, 65HatcheryLayStep, 66HatedCompanySystem, 67WorkshopTimerSystem, 68RoomBorderFlameSystem, 69RoomHealthSystem, 71ManaRemovalSystem, 72RatSpawnSystem, 73ManaSystem, 74ImpSupplySystem, 75RoomBuildWaveSystem, 76RoomSellWaveSystem, 77ResearchSystem, 79ObjectReactionSystem, 80CreatureHealthSystem, 81PrisonSystem, 82TortureSystem, 83RescueSystem, 84PrisonerEatSystem, 85PrisonerWanderSystem, 86DungeonHeartSystem(frames: false), 87NeutralAmbientEffectSystem, 88TremorSystem; through a hub: 18CreatureUpdateSystem, 48ActionPointTriggerSystem, 70PlayerTriggerSystem
| Hub | Rows that reach it | Methods it reaches | Rows |
|---|---|---|---|
TriggerExecutor |
19 | 413 | 1, 8, 16, 18, 21, 27, 28, 35, 36, 38, 43, 44, 48, 70, 71, 75, 80, 81, 86 |
WorldSteering.Refresh |
34 | 159 | 14, 15, 16, 20, 21, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 38, 39, 41, 43, 44, 45, 47, 49, 53, 54, 55, 61, 81, 83, 84, 85, 86, 88 |
Consecutive systems, or consecutive steps of one container, where neither writes a field the other reads or writes; a container counts with all its steps. As far as data goes, their order is free; the order may still be DK2's.
21 pairs in the core view, 13 when the hubs are counted.
| Rows | Core | Through hubs |
|---|---|---|
3 SpecialSystem → 4 TileTagSystem
|
free | free |
10 GraveyardSystem → 11 CasinoLeverSystem
|
free | free |
11 CasinoLeverSystem → 12 AllianceSystem
|
free | free |
41 DoorHealthSystem → 42 TrainingActionSystem
|
free | |
47 TrapSystem → 48 ActionPointTriggerSystem
|
free | |
48 ActionPointTriggerSystem → 49 EffectGeneratorSystem
|
free | |
49 EffectGeneratorSystem → 50 TrapRemovalSystem
|
free | |
50 TrapRemovalSystem → 51 DoorRemovalSystem
|
free | free |
51 DoorRemovalSystem → 52 ReaperRemovalSystem
|
free | free |
55 FogOfWarSystem → 56 WalkOverGoldSystem
|
free | |
59 RoomTickSystem → 70 PlayerTriggerSystem
|
free | |
60 StoreSweepSystem → 61 HeartDefenceSystem
|
free | |
62 HeartFrameStep → 63 CasinoSystem
|
free | free |
65 HatcheryLayStep → 66 HatedCompanySystem
|
free | free |
66 HatedCompanySystem → 67 WorkshopTimerSystem
|
free | free |
67 WorkshopTimerSystem → 68 RoomBorderFlameSystem
|
free | free |
68 RoomBorderFlameSystem → 69 RoomHealthSystem
|
free | free |
70 PlayerTriggerSystem → 71 ManaRemovalSystem
|
free | |
76 RoomSellWaveSystem → 77 ResearchSystem
|
free | free |
77 ResearchSystem → 78 ManufactureDecaySystem
|
free | free |
78 ManufactureDecaySystem → 79 ObjectReactionSystem
|
free | free |
Static fields count as state only when something writes them; each is shared by every world on its thread ([ThreadStatic]) or in the process, not held per world.
| Field | Column | Written by rows |
|---|---|---|
ApproachRules._scratch |
Caches & scratch | 28 |
CallToArmsRules._routeScratch |
Caches & scratch | 53 |
FightRules._routeScratch |
Caches & scratch | 44, 47 |
FollowPathRules._scratch |
Caches & scratch | 38 |
RepelObstacleRules._scratch |
Caches & scratch | 38 |
RoomIndex.s_visited |
Caches & scratch | 1, 3, 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 18, 19, 20, 21, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 53, 54, 55, 57, 58, 59, 61, 62, 64, 66, 69, 70, 71, 72, 74, 75, 76, 79, 80, 81, 82, 83, 84, 85, 86, 88 |
RoomIndex.s_wanted |
Caches & scratch | 14, 15, 16, 20, 21, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 38, 39, 41, 43, 44, 45, 47, 49, 53, 54, 55, 61, 81, 83, 84, 85, 86, 88 |
SeparationBehaviour._scratch |
Caches & scratch | 38 |
Written fields of a system class, or of an object only a system holds. They are outside the matrix: scratch, caches or per-tick flags that should not carry state from one system to another.
| Field | Written by rows |
|---|---|
BoulderSystem._boulders |
44 |
BoulderSystem._destroyed |
44 |
BoulderSystem._sight |
44 |
BoulderSystem._sightWorld |
44 |
CallToArmsSystem._creatures |
53 |
CallToArmsSystem._flags |
53 |
CasinoSystem._piles |
63 |
CasinoSystem._runs |
63 |
CasinoSystem._settles |
63 |
CombatSystem._sight |
21, 28 |
CombatSystem._sightWorld |
21, 28 |
CreatureAngerSystem._onTheSecond |
27 |
CreatureMovementSystem._sight |
38 |
CreatureMovementSystem._sightWorld |
38 |
FootprintSystem._corpseTiles |
17 |
GridPathfinder._cameFrom |
25, 27, 36 |
GridPathfinder._cost |
25, 27, 36 |
GridPathfinder._generation |
25, 27, 36 |
GridPathfinder._stamp |
25, 27, 36 |
GridPathfinder._width |
25, 27, 36 |
HatedCompanySystem._active |
66 |
HatedCompanySystem._delta |
66 |
HatedCompanySystem._holders |
66 |
HatedCompanySystem._rooms |
66 |
HeartDefenceSystem._dispatches |
61 |
HeartDefenceSystem._gathering |
61 |
HeartDefenceSystem._reporting |
61 |
HeartSites._sites |
16, 21, 28, 38 |
HeroSystem._onOriginalTick |
35 |
ImpTaskSystem._route |
20, 39 |
LairSeeker._fallbackRoute |
25, 27, 36 |
LairSeeker._route |
25, 27, 36 |
ProfiledPathfinder.Profiler |
39 |
RoomBorderFlameSystem._births |
68 |
RoomBorderFlameSystem._next |
68 |
RoomHealthSystem._anyGain |
69 |
RoomHealthSystem._checked |
69 |
RoomTickSystem._rooms |
46, 59, 86 |
RoomTickSystem._world |
46, 59, 86 |
ShotSystem._work |
43 |
StoreSweepSystem._pile |
60 |
StoreSweepSystem._sweepTurn |
60 |
TileHeap._key |
25, 27, 36 |
TileHeap._tile |
25, 27, 36 |
TrapSystem._rooms |
47 |
TrapSystem._sight |
47 |
TrapSystem._sightWorld |
47 |
WalkOverGoldSystem._piles |
56 |
WorldSight._doorTiles |
16, 21, 28, 36, 38, 44, 47, 55, 88 |
WorldSight._doorsVersion |
16, 21, 28, 36, 38, 44, 47, 55, 88 |
- 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