# shuangfas/dontsuspectme architecture

> Architecture diagram of the GitHub repository shuangfas/dontsuspectme, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shuangfas/dontsuspectme
- Repository: https://github.com/shuangfas/dontsuspectme

## Overview

This repository is a Hearts of Iron IV mod, suggested by its game-specific content directories and descriptor. Its apparent product workflow is scripted gameplay and events presented through the game’s interface, graphics, sound, and localization. The tree also shows national focuses, decisions, technology, units, history, and AI content. The README provides no feature or runtime-flow documentation, and no source excerpts were supplied, so relationships between these components cannot be verified and are omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Scripted gameplay"]
  node_ai["AI strategy"]
  node_decisions["Decisions<br/>[DSM_missions.txt]"]
  node_suspicion_decision["Suspicion decision<br/>[DontSuspectMe.txt]"]
  node_modifiers["Dynamic modifiers"]
  node_ideas["Ideas<br/>[DSM_ideas.txt]"]
  node_modifier_defs["Modifier definitions<br/>[DSM_modifiers.txt]"]
  node_focus_aryan["Aryan War focus"]
  node_focus_revolt["Popular revolt focus"]
  node_focus_atw["ATW focus"]
  node_on_actions["On-actions<br/>[DSM_actions.txt]"]
  node_scripted_effects["Scripted effects"]
  node_super_event_effects["Super-event effects"]
  node_atw_effects["ATW effects"]
  node_triggers["Scripted triggers"]
  node_missions["Technologies"]
end

subgraph group_narrative["Events and story"]
  node_events["ATW events<br/>[TFR_events_ATW.txt]"]
  node_event_dsm["DSM events"]
  node_event_news["News events"]
end

subgraph group_presentation["Presentation and text"]
  node_scripted_localisation["Scripted localization"]
  node_super_event_gui["Super-event GUI logic"]
  node_super_event_layout["Super-event layout"]
  node_super_event_graphics["Super-event graphics"]
  node_goals_graphics["Goal graphics<br/>[DSM_goals.gfx]"]
  node_event_graphics["Event graphics<br/>[dsm_event.gfx]"]
  node_sound_asset["Sound assets<br/>[DSM_sound.asset]"]
  node_super_event_sound["Super-event audio"]
  node_localisation["Simplified Chinese text"]
  node_equipment_localisation["Equipment text"]
  node_replace_localisation["Replacement text"]
end

subgraph group_world["World content"]
  node_airframes["X-plane airframes"]
  node_bay_history["Bay of Pigs units"]
  node_ss_history["Schutzstaffel units"]
end

click node_ai "https://github.com/shuangfas/dontsuspectme/blob/main/common/ai_strategy/DSM_ai_strategy.txt"
click node_decisions "https://github.com/shuangfas/dontsuspectme/blob/main/common/decisions/DSM_missions.txt"
click node_suspicion_decision "https://github.com/shuangfas/dontsuspectme/blob/main/common/decisions/DontSuspectMe.txt"
click node_modifiers "https://github.com/shuangfas/dontsuspectme/blob/main/common/dynamic_modifiers/DSM_dynamic_modifiers.txt"
click node_ideas "https://github.com/shuangfas/dontsuspectme/blob/main/common/ideas/DSM_ideas.txt"
click node_modifier_defs "https://github.com/shuangfas/dontsuspectme/blob/main/common/modifier_definitions/DSM_modifiers.txt"
click node_focus_aryan "https://github.com/shuangfas/dontsuspectme/blob/main/common/national_focus/DSM_aryan_war_focus.txt"
click node_focus_revolt "https://github.com/shuangfas/dontsuspectme/blob/main/common/national_focus/DSM_national_focus_popular_revolt.txt"
click node_focus_atw "https://github.com/shuangfas/dontsuspectme/blob/main/common/national_focus/TFR_national_focus_ATW.txt"
click node_on_actions "https://github.com/shuangfas/dontsuspectme/blob/main/common/on_actions/DSM_actions.txt"
click node_scripted_effects "https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_effects/DSM_scripted_effects.txt"
click node_super_event_effects "https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_effects/DSM_super_event_effects.txt"
click node_atw_effects "https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_effects/TFR_scripted_effects_ATW.txt"
click node_triggers "https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_triggers/DSM_scripted_triggers.txt"
click node_missions "https://github.com/shuangfas/dontsuspectme/blob/main/common/technologies/DSM_technologies.txt"
click node_events "https://github.com/shuangfas/dontsuspectme/blob/main/events/TFR_events_ATW.txt"
click node_event_dsm "https://github.com/shuangfas/dontsuspectme/blob/main/events/TFR_event_ATW_DSM.txt"
click node_event_news "https://github.com/shuangfas/dontsuspectme/blob/main/events/TFR_event_ATW_DSM_news.txt"
click node_scripted_localisation "https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_localisation/DSM_scripted_localisation.txt"
click node_super_event_gui "https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_guis/DSM_super_event_gui.txt"
click node_super_event_layout "https://github.com/shuangfas/dontsuspectme/blob/main/interface/DSM_super_event.gui"
click node_super_event_graphics "https://github.com/shuangfas/dontsuspectme/blob/main/interface/DSM_super_event.gfx"
click node_goals_graphics "https://github.com/shuangfas/dontsuspectme/blob/main/interface/DSM_goals.gfx"
click node_event_graphics "https://github.com/shuangfas/dontsuspectme/blob/main/interface/dsm_event.gfx"
click node_sound_asset "https://github.com/shuangfas/dontsuspectme/blob/main/sound/DSM_sound.asset"
click node_super_event_sound "https://github.com/shuangfas/dontsuspectme/blob/main/sound/super_event/DSM_world_aryan_liberation_war.wav"
click node_localisation "https://github.com/shuangfas/dontsuspectme/blob/main/localisation/simp_chinese/DSM_l_simp_chinese.yml"
click node_equipment_localisation "https://github.com/shuangfas/dontsuspectme/blob/main/localisation/simp_chinese/replace/DSM_replace_equipment_air_l_simp_chinese.yml"
click node_replace_localisation "https://github.com/shuangfas/dontsuspectme/blob/main/localisation/simp_chinese/replace/DSM_replace_l_simp_chinese.yml"
click node_airframes "https://github.com/shuangfas/dontsuspectme/blob/main/common/units/equipment/x_plane_airframes.txt"
click node_bay_history "https://github.com/shuangfas/dontsuspectme/blob/main/history/units/DSM_revenge_for_bay_of_pigs.txt"
click node_ss_history "https://github.com/shuangfas/dontsuspectme/blob/main/history/units/DSM_schutzstaffel.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ai,node_decisions,node_suspicion_decision,node_modifiers,node_ideas,node_modifier_defs,node_focus_aryan,node_focus_revolt,node_focus_atw,node_on_actions,node_scripted_effects,node_super_event_effects,node_atw_effects,node_triggers,node_missions toneBlue
class node_events,node_event_dsm,node_event_news toneAmber
class node_scripted_localisation,node_super_event_gui,node_super_event_layout,node_super_event_graphics,node_goals_graphics,node_event_graphics,node_sound_asset,node_super_event_sound,node_localisation,node_equipment_localisation,node_replace_localisation toneMint
class node_airframes,node_bay_history,node_ss_history toneRose
```

## Components

### Scripted gameplay

- [AI strategy](https://github.com/shuangfas/dontsuspectme/blob/main/common/ai_strategy/DSM_ai_strategy.txt): `common/ai_strategy/DSM_ai_strategy.txt`
- [Decisions](https://github.com/shuangfas/dontsuspectme/blob/main/common/decisions/DSM_missions.txt): `common/decisions/DSM_missions.txt`
- [Suspicion decision](https://github.com/shuangfas/dontsuspectme/blob/main/common/decisions/DontSuspectMe.txt): `common/decisions/DontSuspectMe.txt`
- [Dynamic modifiers](https://github.com/shuangfas/dontsuspectme/blob/main/common/dynamic_modifiers/DSM_dynamic_modifiers.txt): `common/dynamic_modifiers/DSM_dynamic_modifiers.txt`
- [Ideas](https://github.com/shuangfas/dontsuspectme/blob/main/common/ideas/DSM_ideas.txt): `common/ideas/DSM_ideas.txt`
- [Modifier definitions](https://github.com/shuangfas/dontsuspectme/blob/main/common/modifier_definitions/DSM_modifiers.txt): `common/modifier_definitions/DSM_modifiers.txt`
- [Aryan War focus](https://github.com/shuangfas/dontsuspectme/blob/main/common/national_focus/DSM_aryan_war_focus.txt): `common/national_focus/DSM_aryan_war_focus.txt`
- [Popular revolt focus](https://github.com/shuangfas/dontsuspectme/blob/main/common/national_focus/DSM_national_focus_popular_revolt.txt): `common/national_focus/DSM_national_focus_popular_revolt.txt`
- [ATW focus](https://github.com/shuangfas/dontsuspectme/blob/main/common/national_focus/TFR_national_focus_ATW.txt): `common/national_focus/TFR_national_focus_ATW.txt`
- [On-actions](https://github.com/shuangfas/dontsuspectme/blob/main/common/on_actions/DSM_actions.txt): `common/on_actions/DSM_actions.txt`
- [Scripted effects](https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_effects/DSM_scripted_effects.txt): `common/scripted_effects/DSM_scripted_effects.txt`
- [Super-event effects](https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_effects/DSM_super_event_effects.txt): `common/scripted_effects/DSM_super_event_effects.txt`
- [ATW effects](https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_effects/TFR_scripted_effects_ATW.txt): `common/scripted_effects/TFR_scripted_effects_ATW.txt`
- [Scripted triggers](https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_triggers/DSM_scripted_triggers.txt): `common/scripted_triggers/DSM_scripted_triggers.txt`
- [Technologies](https://github.com/shuangfas/dontsuspectme/blob/main/common/technologies/DSM_technologies.txt): `common/technologies/DSM_technologies.txt`

### Events and story

- [ATW events](https://github.com/shuangfas/dontsuspectme/blob/main/events/TFR_events_ATW.txt): `events/TFR_events_ATW.txt`
- [DSM events](https://github.com/shuangfas/dontsuspectme/blob/main/events/TFR_event_ATW_DSM.txt): `events/TFR_event_ATW_DSM.txt`
- [News events](https://github.com/shuangfas/dontsuspectme/blob/main/events/TFR_event_ATW_DSM_news.txt): `events/TFR_event_ATW_DSM_news.txt`

### Presentation and text

- [Scripted localization](https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_localisation/DSM_scripted_localisation.txt): `common/scripted_localisation/DSM_scripted_localisation.txt`
- [Super-event GUI logic](https://github.com/shuangfas/dontsuspectme/blob/main/common/scripted_guis/DSM_super_event_gui.txt): `common/scripted_guis/DSM_super_event_gui.txt`
- [Super-event layout](https://github.com/shuangfas/dontsuspectme/blob/main/interface/DSM_super_event.gui): `interface/DSM_super_event.gui`
- [Super-event graphics](https://github.com/shuangfas/dontsuspectme/blob/main/interface/DSM_super_event.gfx): `interface/DSM_super_event.gfx`
- [Goal graphics](https://github.com/shuangfas/dontsuspectme/blob/main/interface/DSM_goals.gfx): `interface/DSM_goals.gfx`
- [Event graphics](https://github.com/shuangfas/dontsuspectme/blob/main/interface/dsm_event.gfx): `interface/dsm_event.gfx`
- [Sound assets](https://github.com/shuangfas/dontsuspectme/blob/main/sound/DSM_sound.asset): `sound/DSM_sound.asset`
- [Super-event audio](https://github.com/shuangfas/dontsuspectme/blob/main/sound/super_event/DSM_world_aryan_liberation_war.wav): `sound/super_event/DSM_world_aryan_liberation_war.wav`
- [Simplified Chinese text](https://github.com/shuangfas/dontsuspectme/blob/main/localisation/simp_chinese/DSM_l_simp_chinese.yml): `localisation/simp_chinese/DSM_l_simp_chinese.yml`
- [Equipment text](https://github.com/shuangfas/dontsuspectme/blob/main/localisation/simp_chinese/replace/DSM_replace_equipment_air_l_simp_chinese.yml): `localisation/simp_chinese/replace/DSM_replace_equipment_air_l_simp_chinese.yml`
- [Replacement text](https://github.com/shuangfas/dontsuspectme/blob/main/localisation/simp_chinese/replace/DSM_replace_l_simp_chinese.yml): `localisation/simp_chinese/replace/DSM_replace_l_simp_chinese.yml`

### World content

- [X-plane airframes](https://github.com/shuangfas/dontsuspectme/blob/main/common/units/equipment/x_plane_airframes.txt): `common/units/equipment/x_plane_airframes.txt`
- [Bay of Pigs units](https://github.com/shuangfas/dontsuspectme/blob/main/history/units/DSM_revenge_for_bay_of_pigs.txt): `history/units/DSM_revenge_for_bay_of_pigs.txt`
- [Schutzstaffel units](https://github.com/shuangfas/dontsuspectme/blob/main/history/units/DSM_schutzstaffel.txt): `history/units/DSM_schutzstaffel.txt`
