DistantWorlds.Types.Government - DW2MC/DW2ModLoader GitHub Wiki

Definition object

This describes an empire government.

Content definition root context

Available instructions: state, add, template, remove, remove-all, update, update-all

Add / Update Template

Government:
  - add: # or - update:
      $GovernmentId: MyNewLoremIpsumGov
      Name: Lorem ipsum
      Description: >- # https://yaml-multiline.info/
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
        Proin vehicula porta justo, eu lacinia erat condimentum et.
        Suspendisse semper ut lectus in efficitur.

        Ut interdum lacus sed est ornare elementum vehicula maximus sapien.
        Donec sed ipsum tortor.
      LeaderTitle: Lorem Ipsum
      CabinetTitle: ''
      EconomicFactors:
        IncomeFactors:
        - 1 # Undefined, i.e. Unused
        - 1 # ColonyTax
        - 1 # ResourceTrading
        - 1 # Fuel
        - 1 # Information
        - 1 # Tribute
        - 1 # Raiding
        - 1 # Missions
        - 0 # ColonyCrime
        - 1 # Tourism
        - 1 # ShipBuilding
        - 1 # Discoveries
        - 1 # TradeBonuses
        - 1 # PrivateColonyRevenue
        ExpenseFactors:
        - 1 # Undefined, i.e. Unused
        - 1 # ColonyDevelopment
        - 1 # Research
        - 1 # ShipMaintenance
        - 1 # TroopMaintenance
        - 1 # FacilityMaintenance
        - 1 # Ships
        - 1 # TroopRecruitment
        - 1 # Facilities
        - 1 # ResourceTrading
        - 1 # Fuel
        - 1 # Information
        - 1 # Tribute
        - 1 # Missions
        - 1 # EnemyRaids
      LeaderReplacementLikelihood: 1
      LeaderReplacementDisruption: 1
      LeaderReplacementBoost: 1
      LeaderReplacementCharacterPool:
      - Undefined
      LeaderReplacementTypicalManner: Undefined
      Stability: 1.1
      ConcernForOwnReputation: 1.3
      ImportanceOfOthersReputations: 1.5
      UsesCabinet: true
      CabinetFactorNavalChief: 0
      CabinetFactorGroundForcesChief: 0
      CabinetFactorIntelligenceDirector: 0
      CabinetFactorHeadDiplomat: 0
      CabinetFactorScienceAdministrator: 0
      CabinetFactorTradeIndustryAdministrator: 0
      UseBaseForCapital: false
      CanColonize: true
      RequiresColoniesToExist: true
      CanRaid: false
      AllowControlMiningShips: false
      EmpireNameAdjectives:
      - Lorem
      - Ipsum
      EmpireNameNouns:
      - Lorem
      - Ipsum
      Biases:
      - { Index: 0, Factor: 0.6 }
      - { Index: 1, Factor: 0.2 }
      - { Index: 2, Factor: 0.4 }
      - { Index: 3, Factor: -0.3 }
      - { Index: 4, Factor: -0.2 }
      - { Index: 5, Factor: -0.6 }
      - { Index: 6, Factor: -0.1 }
      - { Index: 7, Factor: -0.4 }
      - { Index: 8, Factor: -0.7 }
      - { Index: 9, Factor: 0.8 }
      Bonuses:
      - Type: ColonyPopulationGrowthRate
        Amount: 0.05
        AppliesTo: Empire
        FilterId: 0
        DiscoveryLevel: 0
        Description: ''
        Sources:
          - Lorem
          - Ipsum
        SourceAmounts:
          - 1
          - 2
      - Type: WarWearinessReduction
        Amount: -0.1
        AppliesTo: Empire
        FilterId: 0
        DiscoveryLevel: 0
        Description: ''
        Sources: []
        SourceAmounts: []
      ImageFilename: ''