Create Building Subject
Action

Create Building Subject

create_building_subject

This will create a new Subject in one of our provinces.

Allow
Actor
Target
Select the Region
Actor
CapitalRegion: NotRoot
Target
Select the Subject Type (Subject Type)
Subject can be created by
  • Country: Actor
  • Where: Target region
Target
Select the Ruler (Character)
Exact conditions

  • If
    • Target region exists
    • Ruler exists
    ThenActor
    Ordered owned foreign building (up to 1, highest building_level first)where
    LocationRegion: Target region
    Location
    Create building country in location: Region: Target region · Ruler: Ruler · Subject Type: Subject type · Overlord: Actor
    Add truce with
    • Target: Actor
    • Mutual: yes
    Else if
    Target region exists
    ThenActor
    Ordered owned foreign building (up to 1, highest building_level first)where
    LocationRegion: Target region
    Location
    Create building country in location: Region: Target region · Ruler: Ruler · Subject Type: Subject type · Overlord: Actor
  • If
    Then
    • New building subject
      • Set variable
      • If
        At least one of
        • Has variable list: Nottrade_company_regions
        • None of
          • Is target in variable list
            • Name: trade_company_regions
            • Target: Target region
        ThenAdd to variable list
        • Name: trade_company_regions
        • Target: Target region
    • Actor
      • If
        The same conditions as above
        ThenAdd to variable list
        • Name: trade_company_regions
        • Target: Target region
      • Add to variable list
        • Name: trade_company_subjects
        • Target: New building subject
Exact script

Requires 2

Subject Types
Modifier Types
Scripting 5

Grants 1

Uses 2

Mentions 1

Mentioned in 1

type = owncountry
allow = {
scope:actor = {
or = {
is_subject = no
subject_type = {
allow_subject_creation = yes
}
}
NOT = {
}
}
}

© 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice