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