Skip to content

Framework Object & File Database

udkudk edited this page Jun 16, 2026 · 19 revisions

Table of Contents


This Wiki page was last updated for $$\textcolor{aqua}{Stellaris}$$ version v4.4.*


You can see The Name Convention for these Files and Objects in Framework Name Convention for Objects and Files wiki page.


Vanilla Overwrites, Engine Adjustments & Defs (OVERWRITE)

  • Paradox Target Directories: common/defines/ or direct filename targeting in structural folders
  • Rule Reminder: Modifying core system defines alters baseline values like calculations, ship commands, or path tracking limits globally. Defs adjustments load via FIOS rules; naming your override file with a top-priority alphabetical sorting token (e.g., !_DEBCF_defines.txt) ensures the parser applies your framework settings cleanly over default parameters.

Warning

Overwrites can't use our Naming Convention in Framework Name Convention for Objects and Files wiki page. Use the Vanilla Object/File name exactly.


Important

Entry Fields:

  • EXACT_FILE_DEFINE_ETC_NAME
    Target File / Folder: common/defines/ or targeted vanilla filename
    Override Mode: Variable Injection Engine Override Block
    Target Scope: Global Game Mechanics Core System Engine
    Persistence: Complete app runtime state memory registry footprint
    Details: Explicit variable resets that modify hardcoded rules, such as maximum fleet speed caps, background ticking thread thresholds, AI evaluation multipliers, or base pathing parameters.

Tip

Template For New Entries

* `EXACT_FILE_DEFINE_ETC_NAME`
   |  |  |
   | :--- | :--- |
   | Target File / Folder: | [Specify target directory path and the specific filename being modified] |
   | Override Mode: | [Define class: Native NDef override block adjustment / Structural file replacement] |
   | Target Scope: | [Specify impacted component context layer: e.g., NGameplay, NEconomy, NShip] |
   | Persistence: | Complete app runtime state memory registry footprint |
   | Details: | [Log precise default variables changed, modified values used, performance thread impact notes, and script dependency paths.] |

Architectural Layer: Omnipresent Runtime Hooks & Memory States

This foundational infrastructure holds global engine pointers, mathematical script constraints, and systemic memory registries accessible across all scopes.

Scripted Global Variable Constants (GLOBALVAR)

  • Paradox Target Directory: common/scripted_variables/
  • Rule Reminder: Loaded via FIOS rules. Must be prefixed with @ inside scripts. The trailing custom purpose string block must stay strictly lowercase and under 20 characters to preserve parsing memory footprints.

Important

Entry Fields:

  • DEBCF_GLOBALVAR_NOSCOPE_<purpose>
    File Path: common/scripted_variables/!_DEBCF_core_variables.txt
    Calling Reference Format: @DEBCF_GLOBALVAR_NOSCOPE_<purpose>
    Target Scope: Global script compilation layer
    Persistence: Static baseline compile register
    Details: Hardcoded float or integer constants evaluated globally during script loading routines to override game engine behaviors dynamically.

Tip

Template For New Entries

* `DEBCF_GLOBALVAR_NOSCOPE_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/scripted_variables/!_DEBCF_core_variables.txt` |
   | Calling Reference Format: | `@DEBCF_GLOBALVAR_NOSCOPE_<purpose>` |
   | Target Scope: | Global script compilation layer |
   | Persistence: | Static baseline compile register |
   | Details: | [Log the fixed mathematical float value, integer constant, or static mod check parameter defined for global file parsing usage.] |

Scripted Local Variable Macros (LOCALVAR)

  • Rule Reminder: Local macros are file-bound string block replacements parsed dynamically during scope setup routines.

Important

Entry Fields:

  • DEBCF_LOCALVAR_<SCOPE>_<purpose>
    File Path: Dynamic context path placement
    Calling Reference Format: @DEBCF_LOCALVAR_<SCOPE>_<purpose>
    Target Scope: Local system compilation block boundary
    Persistence: Volatile baseline script compilation layer
    Details: Macro replacements handled instantly by the parser logic rules to optimize complex scripted triggers or effects within a single document layout.

Tip

Template For New Entries

* `DEBCF_LOCALVAR_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | [Insert calling component file path context here] |
   | Calling Reference Format: | `@DEBCF_LOCALVAR_<SCOPE>_<purpose>` |
   | Target Scope: | Local system compilation block boundary |
   | Persistence: | Volatile baseline script compilation layer |
   | Details: | [Document the local macro string substitution logic, math overrides, or conditional inline case blocks bounded to this entry.] |

Dynamic Scope Saved Variables (VARIABLE)

  • Rule Reminder: Clear out runtime VARIABLE inputs systematically before execution leaves a scope block to protect stability. Keep purpose under 20 characters to respect the 64-character limit.

Important

Entry Fields:

  • DEBCF_VARIABLE_<SCOPE>_<purpose>
    File Path: Internal game save state memory registry
    Calling Reference Format: check_variable / set_variable / change_variable
    Target Scope: Contextual pointer scope block (e.g., country, planet, fleet)
    Persistence: Persistent runtime save game matrix
    Details: Numerical trackers used in background event checks or economic equations. Truncated layout mechanics apply if the total signature string spills past 64 characters.

Tip

Template For New Entries

* `DEBCF_VARIABLE_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | Internal game save state memory registry |
   | Calling Reference Format: | `check_variable` / `set_variable` / `change_variable` |
   | Target Scope: | [Specify target object block: country, planet, fleet, etc.] |
   | Persistence: | Persistent runtime save game matrix |
   | Details: | [Specify runtime persistence details, what scripts modify this value, and scope context rules needed to fetch this parameter accurately.] |

Galaxy Game-State Switches (GLOBALFLAG)

  • Rule Reminder: Global flags persist engine-wide. Overuse impacts memory lookup indexes; ensure unique naming formats to prevent naming collisions with other mods.

Important

Entry Fields:

  • DEBCF_GLOBALFLAG_<purpose>
    File Path: Global game state condition manager
    Calling Reference Format: set_global_flag / has_global_flag
    Target Scope: Root engine layer
    Persistence: Complete save data lifecycle profile
    Details: Boolean game state switches evaluating galactic events, crisis initialization setups, or framework backend diagnostic tracking boots engine-wide.

Tip

Template For New Entries

* `DEBCF_GLOBALFLAG_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | Global game state condition manager |
   | Calling Reference Format: | `set_global_flag` / `has_global_flag` |
   | Target Scope: | Root engine layer |
   | Persistence: | Complete save data lifecycle profile |
   | Details: | [Outline global runtime parameters, startup states, and subsystem compilation toggles mapped to this flag.] |

Scoped Entity Operational Flags (SCOPEFLAG)

  • Rule Reminder: Flags tied to specific entities clear automatically if the parent object is destroyed or annexed by script instructions.

Important

Entry Fields:

  • DEBCF_SCOPEFLAG_<SCOPE>_<purpose>
    File Path: Entity data structure allocation bounds
    Calling Reference Format: set_country_flag / set_planet_flag / has_fleet_flag
    Target Scope: Bound to the precise calling component scope context
    Persistence: Object runtime persistence loop lifespan
    Details: Binary data targets processing system permissions, AI evaluation adjustments, or quest block stages tracking on targeted game entities.

Tip

Template For New Entries

* `DEBCF_SCOPEFLAG_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | Entity data structure allocation bounds |
   | Calling Reference Format: | `set_<scope>_flag` / `has_<scope>_flag` |
   | Target Scope: | [Specify scope anchor target: country, planet, leader, fleet] |
   | Persistence: | Object runtime persistence loop lifespan |
   | Details: | [Detail boolean behavior, condition requirements, lifetime limits, and modification scopes.] |

Persistent Global Event Targets (GLOBALTARGET)

  • Rule Reminder: Target references remain valid until explicitly overridden or wiped out via background clean script loops.

Important

Entry Fields:

  • DEBCF_GLOBALTARGET_<purpose>
    File Path: Asynchronous engine global target cache
    Calling Reference Format: save_global_event_target_as / event_target:
    Target Scope: Root execution pointer bridge logic
    Persistence: Persistent runtime execution context memory
    Details: Saves real-time object coordinates pointing to explicit anomalies, systems, or countries to route logic cleanly across different event documents.

Tip

Template For New Entries

* `DEBCF_GLOBALTARGET_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | Asynchronous engine global target cache |
   | Calling Reference Format: | `save_global_event_target_as` / `event_target:` |
   | Target Scope: | Root execution pointer bridge logic |
   | Persistence: | Persistent runtime execution context memory |
   | Details: | [Document object target references managed by this variable to pass specific targets directly to distant events.] |

Volatile Scoped Event Targets (TEMPTARGET)

  • Rule Reminder: Wiping local targets before events or script triggers finish running prevents severe engine object leak loops.

Important

Entry Fields:

  • DEBCF_TEMPTARGET_<purpose>
    File Path: Active execution block volatile buffer registers
    Calling Reference Format: save_event_target_as / event_target:
    Target Scope: Local event context runtime bubble
    Persistence: Erased automatically when script processing block terminates
    Details: Fleet target filters, pop sorting setups, or sector checks cached briefly to execute complex multi-line conditions inside script files.

Tip

Template For New Entries

* `DEBCF_TEMPTARGET_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | Active execution block volatile buffer registers |
   | Calling Reference Format: | `save_event_target_as` / `event_target:` |
   | Target Scope: | Local event context runtime bubble |
   | Persistence: | Erased automatically when script processing block terminates |
   | Details: | [Detail brief usage patterns, sorting criteria, and immediate target validation scopes.] |

Architectural Layer: Core Logic & Scripting Engines

This layer houses the foundational execution files, triggers, macros, diagnostic outputs, and text compilation mechanics that process the calculations of the framework.

Asynchronous Logic Routines (EVENT)

  • Paradox Target Directory: events/
  • Rule Reminder: Every event file must declare an all-uppercase namespace matching its prefix.

Important

Entry Fields:

  • DEBCF_EVENT_<SCOPE>_<purpose>
    File Path: events/DEBCF_EVENT_<SCOPE>_<purpose>.txt
    Declared Namespace: DEBCF_EVENT_<SCOPE>
    Target Scope: Contextual focus pointer arrays
    Linked Hooks: common/on_actions/ pulses or immediate triggers
    Details: Controls game ticks, crisis story progression systems, or pop calculation matrices. Modulates empire structures via target modifications.

Tip

Template For New Entries

* `DEBCF_EVENT_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `events/DEBCF_EVENT_<SCOPE>_<purpose>.txt` |
   | Declared Namespace: | `DEBCF_EVENT_<SCOPE>` |
   | Target Scope: | [Specify scope block: country, planet, fleet, system, etc.] |
   | Linked Hooks: | [Specify on_action calling triggers or dependent event chains] |
   | Details: | [Provide a detailed description outlining why this event fires, what triggers it, and the performance footprint it introduces to the monthly game tick.] |

Engine Pulse & Lifecycle Hooks (ACTION)

  • Paradox Target Directory: common/on_actions/

Important

Entry Fields:

  • DEBCF_ACTION_<SCOPE>_<purpose>
    File Path: common/on_actions/DEBCF_ACTION_<SCOPE>_<purpose>.txt
    Vanilla Anchors: On-pulse matrices or condition overrides
    Execution Target: Injected array logic loops
    Overwrite Model: Appends safely without direct code adjustments
    Details: Extends base engine timeline cycles (monthly pulses, ship tracking events, combat loops) to inject framework configurations cleanly into processing pools.

Tip

Template For New Entries

* `DEBCF_ACTION_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/on_actions/DEBCF_ACTION_<SCOPE>_<purpose>.txt` |
   | Vanilla Anchors: | [Specify vanilla hook targets: e.g., on_monthly_pulse, on_entering_system] |
   | Execution Target: | [List calling events or scripted effects triggered by this hook] |
   | Overwrite Model: | [Safe append script inject layout / Full vanilla replacement loop] |
   | Details: | [Insert description of the engine hook being utilized, what event arrays it executes, and whether it overwrites or appends to vanilla core game loops.] |

Structural Snippet Replicators (INLINE)

  • Paradox Target Directory: common/inline_scripts/

Important

Entry Fields:

  • DEBCF_INLINE_<SCOPE>_<purpose>
    File Path: common/inline_scripts/DEBCF_INLINE_<SCOPE>_<purpose>.txt
    Parameter Inputs: Defined script variables passed via insertion codes
    Context Target: Inline parsing block replacement fields
    Overwrite Model: Dynamic compiler macro deployment
    Details: Standardizes math checks or blocker sweeping parameters, replacing copy-paste code segments to keep documents scannable.

Tip

Template For New Entries

* `DEBCF_INLINE_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/inline_scripts/DEBCF_INLINE_<SCOPE>_<purpose>.txt` |
   | Parameter Inputs: | [List parameters required by this snippet: e.g., COST_MULTIPLIER] |
   | Context Target: | [Specify valid compilation targets: country script block, planet script, etc.] |
   | Overwrite Model: | Dynamic compiler macro deployment |
   | Details: | [Detail the repetitive structural logic chunk contained inside this inline file. Note down explicit variable requirements needed before inserting this inline block into script files.] |

Parametric Command Blocks (SCEFFECT)

  • Paradox Target Directory: common/scripted_effects/
  • Rule Reminder: Every custom effect script manipulating economic balances or moving fleets must be wrapped in an explicit trigger validation layer to secure engine threads.

Important

Entry Fields:

  • DEBCF_SCEFFECT_<SCOPE>_<purpose>
    File Path: common/scripted_effects/DEBCF_SCEFFECT_<SCOPE>_<purpose>.txt
    Variable Dependencies: Intercepted parameters or active tracking integers
    Execution Scope: Enforced logic target expectations
    Overwrite Model: Safe non-destructive injection behavior
    Details: Reusable multi-line effect paths executing structural adjustments (e.g., resource modifiers, population reallocation) inside active event branches.

Tip

Template For New Entries

* `DEBCF_SCEFFECT_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/scripted_effects/DEBCF_SCEFFECT_<SCOPE>_<purpose>.txt` |
   | Variable Dependencies: | [List expected metrics passed or queried inside the script path] |
   | Execution Scope: | [Specify scope constraints: e.g., this = country, from = planet] |
   | Overwrite Model: | Safe non-destructive injection behavior |
   | Details: | [Provide a breakdown of the inputs required, the logic math applied, and validation targets to prevent unexpected null pointer crashes.] |

Conditional Engine Evaluators (SCTRIGGER)

  • Paradox Target Directory: common/scripted_triggers/
  • Rule Reminder: Triggers load using LIOS (Last In Only Served) rules. Duplicate file entries completely overwrite earlier definitions.

Important

Entry Fields:

  • DEBCF_SCTRIGGER_<SCOPE>_<purpose>
    File Path: common/scripted_triggers/DEBCF_SCTRIGGER_<SCOPE>_<purpose>.txt
    Boolean Outputs: True/False evaluation signatures
    Scope Alignment: Explicit compiler validation layers
    Overwrite Model: Full configuration overrides (LIOS framework)
    Details: Groups multiple logic conditions into single boolean checks. Speeds up technology tree validation rules or fleet design asset updates.

Tip

Template For New Entries

* `DEBCF_SCTRIGGER_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/scripted_triggers/DEBCF_SCTRIGGER_<SCOPE>_<purpose>.txt` |
   | Boolean Outputs: | True/False evaluation signatures |
   | Scope Alignment: | [Specify structural bounds needed to pass validation checks safely] |
   | Overwrite Model: | Full configuration overrides (LIOS framework) |
   | Details: | [Provide a complete technical structural breakdown of the checks performed and parameters evaluated.] |

Diagnostic Failure Output Codes (ERROR)

  • Rule Reminder: Explicitly called via the native log_error effect block mechanism. Helps debug state breaks safely across the engineering team.

Important

Entry Fields:

  • DEBCF_ERROR_<SCOPE>_<purpose>
    Calling Interface: Native log_error runtime parsing block
    Logging Context: Disk storage logs directory output entries
    Execution Target: Diagnostic engine telemetry loop
    Overwrite Model: Appends lines tracking script execution path breaks
    Details: Triggers unique identifier alerts if background queries loop on null pointer data traps while scanning starbase layout contexts.

Tip

Template For New Entries

* `DEBCF_ERROR_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | Calling Interface: | Native `log_error = "DEBCF_ERROR_<SCOPE>_<purpose> [State Details]"` |
   | Logging Context: | Disk storage logs directory output entries |
   | Execution Target: | Diagnostic engine telemetry loop |
   | Overwrite Model: | Appends lines tracking script execution path breaks |
   | Details: | [Log the fallback warning format, script break trap coordinates, or corrupted index registry information tied to this alert hook.] |

Architectural Layer: Graphic Assets & Interface Systems

This layer handles the visual representation, rendering setups, clickable canvas blocks, and multi-lingual translation arrays.

Low-Level Texture Mapping Indexes (GFX)

  • Paradox Target Directory: interface/ (.gfx maps)
  • Rule Reminder: Loaded via FIOS rules. Filenames and scripts must adhere to standard lowercase file extensions to pass strict cross-platform filesystem validation checks.

Important

Entry Fields:

  • DEBCF_GFX_<SCOPE>_<purpose>
    File Path: interface/DEBCF_assets.gfx
    Raw Media Target: .dds texture coordinates asset configurations
    UI Hook Interface: Sprite type dictionary assignments
    Extension Format: Lowercase validation bounds configurations
    Details: Maps sprite coordinates to standard user interface templates to display diagnostic status meters on system map overlays.

Tip

Template For New Entries

* `DEBCF_GFX_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `interface/DEBCF_assets.gfx` |
   | Raw Media Target: | [Specify raw media file destination pathing matrix: e.g., gfx/interface/icons/asset.dds] |
   | UI Hook Interface: | Sprite type dictionary assignments |
   | Extension Format: | Lowercase validation bounds configurations |
   | Details: | [Detail raw asset pathways, frame sub-divisions, and orientation rules used to pass to visual menus.] |

Sound Environment Matrices (SOUND)

  • Paradox Target Directory: sound/
  • Rule Reminder: Loaded via FIOS rules. File tracks must retain standard case precision inside scripts to pass Linux filesystem checks.

Important

Entry Fields:

  • DEBCF_SOUND_<SCOPE>_<purpose>
    File Path: sound/DEBCF_audio_registry.sfx
    Raw Media Target: Spatial attenuation .wav / .ogg master assets
    Track Allocation: Category mixing definitions thresholds
    Path Check Mode: Strict uppercase/lowercase filesystem tracking
    Details: Manages track playback volume loops and alert notifications when engine conditions cross warning levels.

Tip

Template For New Entries

* `DEBCF_SOUND_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `sound/DEBCF_audio_registry.sfx` |
   | Raw Media Target: | [Specify master audio track storage destination pathing: e.g., sound/alerts/file.wav] |
   | Track Allocation: | Category mixing definitions thresholds |
   | Path Check Mode: | Strict uppercase/lowercase filesystem tracking |
   | Details: | [Log sound registry IDs, track mixing parameters, volume thresholds, and attenuation falloff patterns.] |

Window Canvas Container Forms (GUI)

  • Paradox Target Directory: interface/
  • Rule Reminder: Interface configuration files load using FIOS rules. Duplicate visual components or variables loaded later are skipped by the parser.

Important

Entry Fields:

  • DEBCF_GUI_<SCOPE>_<purpose>
    File Path: interface/DEBCF_GUI_<SCOPE>_<purpose>.gui
    Anchor Parameters: Positional resolution tracking coordinates
    Texture Pointers: GFX element layout background assets
    Processing Logic: Structural UI display box formatting definitions
    Details: Defines interface boxes, positioning offsets, and screen configurations for responsive administrative layouts.

Tip

Template For New Entries

* `DEBCF_GUI_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `interface/DEBCF_GUI_<SCOPE>_<purpose>.gui` |
   | Anchor Parameters: | [Define base grid locations: e.g., center, top_right, X/Y offsets] |
   | Texture Pointers: | [Reference GFX components utilized by this sheet box container layer] |
   | Processing Logic: | Structural UI display box formatting definitions |
   | Details: | [Detail component coordinates, scaling rules for ultra-wide setups, and responsive design properties.] |

Clickable Interface Triggers (BUTTON)

  • Paradox Target Directory: interface/

Important

Entry Fields:

  • DEBCF_BUTTON_<SCOPE>_<purpose>
    File Path: interface/DEBCF_GUI_<SCOPE>_<purpose>.gui (Embedded target)
    Visual State: Cursor collision graphics tracking textures
    Trigger Commands: Event execution commands mapping scripts
    Sound Assignments: Dynamic click audio execution links
    Details: Builds functional regions on GUI windows to clear memory arrays or run specific framework commands manually.

Tip

Template For New Entries

* `DEBCF_BUTTON_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `interface/DEBCF_GUI_<SCOPE>_<purpose>.gui` (Embedded target) |
   | Visual State: | [Reference GFX maps configured for default, mouseover, and clicking states] |
   | Trigger Commands: | [List event call bindings or custom effect sequences fired by this area] |
   | Sound Assignments: | [List SFX index records tracking interaction signals] |
   | Details: | [Outline precise trigger box boundaries, cursor states, sound triggers, and calling script connections.] |

Direct Text Entry Strings (LOCKEY)

  • Paradox Target Directory: localisation/english/
  • Rule Reminder: Every file MUST use UTF-8 with BOM file encoding patterns to protect multi-language setups from breaking Linux execution pipelines. Alterations targeting base game text keys must reside in localisation/replace/english/ subfolders to activate the engine's LIOS structural replacement routine.

Important

Entry Fields:

  • DEBCF_LOCKEY_<SCOPE>_<purpose>
    File Path: localisation/english/DEBCF_l_english.yml
    Encoding Class: UTF-8 with BOM file structure constraints
    Namespace Suffix: Integrated text target expansions (_name / _desc)
    Engine Target: Human-readable game tooltip blocks
    Details: Pairs event logs, technology paths, or error messages with translation lines across active UI windows.

Tip

Template For New Entries

* `DEBCF_LOCKEY_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `localisation/english/DEBCF_l_english.yml` |
   | Encoding Class: | UTF-8 with BOM file structure constraints |
   | Namespace Suffix: | [List active standard suffix combinations: e.g., _name, _desc, _tooltip, _error] |
   | Engine Target: | Human-readable game tooltip blocks |
   | Details: | [Track raw text configurations and nested fallback formatting code entries inside localization maps.] |

Dynamic Script-Driven Translation Tables (SCRIPTEDLOC)

  • Paradox Target Directory: common/scripted_localisation/
  • Rule Reminder: Loaded via FIOS rules.

Important

Entry Fields:

  • DEBCF_SCRIPTEDLOC_<SCOPE>_<purpose>
    File Path: common/scripted_localisation/DEBCF_SCRIPTEDLOC_<SCOPE>_<purpose>.txt
    Trigger Routines: Component condition verification triggers
    Value Return Type: Context-specific localization entry references
    Overwrite Model: Engine layer parameter adjustments (FIOS format)
    Details: Changes pop prompts or dialog boxes dynamically by running trigger scripts on target leaders or planets.

Tip

Template For New Entries

* `DEBCF_SCRIPTEDLOC_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/scripted_localisation/DEBCF_SCRIPTEDLOC_<SCOPE>_<purpose>.txt` |
   | Trigger Routines: | [List internal conditional validation checkpoints evaluated for text switches] |
   | Value Return Type: | [Specify output keys returned: e.g., active localization entry names] |
   | Overwrite Model: | Engine layer parameter adjustments (FIOS format) |
   | Details: | [Detail logic arrays evaluating data conditions to output translated keywords on the fly based on current target status.] |

Architectural Layer: Core Economy Infrastructure & Space Colony Matrices

This layer houses the structural database entry types that define policies, build limits, dynamic resource pop consumption filters, and economic scale parameters.

Government Operating Policies (POLICY)

  • Paradox Target Directory: common/policies/
  • Rule Reminder: Safely handles multi-mod scaling non-destructively through standard Object Merging behaviors. Duplicate specific policy option components will overwrite structural arrays using index execution order rules.

Important

Entry Fields:

  • DEBCF_POLICY_<SCOPE>_<purpose>
    File Path: common/policies/DEBCF_POLICY_<SCOPE>_<purpose>.txt
    AI Weight Tier: Dynamic weight configurations scaling module selectors
    Modifier Context: Empire-wide modifier arrays and variable scaling limits
    Overwrite Model: Safe non-destructive injection layer
    Details: Manages administrative empire laws that dynamically toggle resource outputs, pop growth weights, and country-scope production metrics.

Tip

Template For New Entries

* `DEBCF_POLICY_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/policies/DEBCF_POLICY_<SCOPE>_<purpose>.txt` |
   | AI Weight Tier: | [Define base weight parameter thresholds: e.g., base = 1, modifier weights] |
   | Modifier Context: | [List country-scope modifiers injected upon state validation rules] |
   | Overwrite Model: | Safe non-destructive injection layer |
   | Details: | [Detail the policy options, prerequisites, valid activation condition blocks, and empire metrics changed.] |

Planetary Infrastructure Structures (BUILDING)

  • Paradox Target Directory: common/buildings/
  • Rule Reminder: Checked via background planet tile sweeps. Ensure custom building destruction modifiers pass dynamic trigger filters cleanly during system annex events to eliminate layout exceptions.

Important

Entry Fields:

  • DEBCF_BUILDING_<SCOPE>_<purpose>
    File Path: common/buildings/DEBCF_BUILDING_<SCOPE>_<purpose>.txt
    Economic Block: Upkeep inputs, resource creation rates, and cost data vectors
    Pop Job Spawns: Triggered labor type allocation slots
    Build Limit Type: Colony-wide boundary caps or system configuration constraints
    Details: Planet-side assembly configurations transforming base minerals or strategic resources into high-level framework metrics and defense parameters.

Tip

Template For New Entries

* `DEBCF_BUILDING_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/buildings/DEBCF_BUILDING_<SCOPE>_<purpose>.txt` |
   | Economic Block: | [List production costs, upkeeps, and direct modifier yields] |
   | Pop Job Spawns: | [Specify jobs generated: e.g., soldier = 2, clerk = 1] |
   | Build Limit Type: | [Define construction rule caps: planet execution maximums or capital requirements] |
   | Details: | [Log construction timelines, planetary requirement condition statements, and structural functionality updates.] |

Clone this wiki locally