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