# # District Documentation # district_name = { # base_buildtime = 480 # Number of days required to construct the district # expansion_planner = yes # Default: no. If the district should be shown in the expansion planner. # default_starting_district = yes # If the district is the default starting district for planets. Defaults to no. If used, this should be removed from district_city # is_uncapped = { # Trigger conditions for if the district can is uncapped on the planet. If this trigger is empty it will be uncapped, and if it is not empty then the max and add modifiers are generated for the type # } # inherits_capped_modifiers_from = district_generator # If the district reuses the capped modifiers for another district. Defaults to unused. # icon = district_mining # Icon to display for the district, required if no district icon matches the district name. # overlay_icon = GFX_district_consumer_goods # A sprite that is displayed in the top right corner of the district icon, expected sprite size is 32×32. # gridbox = district_arcology_mixed_industry # If defined AFTER the icon (or no icon is provided) overrides the gridbox associated with the icon. # district_background = district_ring_world_industrial # If defined AFTER the icon (or no icon is provided) overrides the district background associated with the icon. # custom_gui = planet_district_entry_width_N # N = 1/2/3. Default empty. Defines the width of the district in the UI. # district_width = int # Default 1. Ensures that dummy districts are spawned to ensure district spacing is correct. # has_primary_zone = yes/no # Default yes. Determine whether the first zone slot of the district should be displayed like the city_government slot or if all zones should be displayed in the gridbox # zone_slots = { # List of zone slots that belong to this district. # } # can_demolish = no # Boolean if the district can be manually destroyed or not. Default yes. # show_on_uncolonized = { # Trigger conditions for if the district should show on uncolonized planets. # } # potential = { # Trigger conditions for if the district can exist on the planet. # } # allow = { # Trigger conditions for if the district can be constructed on the planet. # } # destroy_trigger = { # Trigger conditions for if the district will be destroyed (more likely converted, see below). # } # on_queued = { # Effect executed when the district is queued. Planet-scope. # } # on_unqueued = { # Effect executed when the district is unqueued. Planet-scope. # } # on_built = { # Effect executed when the district is built. Planet-scope. # } # on_destroy = { # Effect executed when the district is destroyed. Planet-scope. # } # abort_effect = { # Effect executed when the district constructed is aborted. Planet-scope. # } # conversion_ratio = 1 # Conversion ratio for district conversion # convert_to = { # List of alternative districts that this district converts to if the potential is invalid. District will convert to the first valid district in the list. # } # expansion_planner_type = district_mining # District type with which the available district information is combined in the expansion planner. # resources = { # Economic resources block for the district. # category = planet_districts # cost = { # } # upkeep = { # } # produces = { # } # } # planet_modifier = { # Planet-scope modifier provided by the district. # } # triggered_planet_modifier = { # Planet-scope triggered modifier provided by the district. # potential = { # } # } # triggered_planet_pop_group_modifier_for_all = { # planet scope for the trigger # applied to pop groups on planet # modifier values divided in proportion to size between pop groups on that planet # use the trigger only to enable or disable the modifier entirely # } # triggered_planet_pop_group_modifier_for_species = { # pop_group scope # applied to pop groups on planet of that species # modifier values divided in proportion to size between pop groups of that species # trigger can be used for different species, but is performance heavy # } # prerequisites = { # Technology requirements for this district. # } # show_tech_unlock_if = { # Country-scope trigger conditions for if the district should be shown in the technology card for the required technology. # } # desc = { # Loc string to display in the district tooltip. # text = # } # triggered_desc = { # Triggered loc string to display in the district tooltip. Planet-scope trigger # trigger = { # } # text = # } # triggered_name = { # Triggered district name flavorization for the district. Planet-scope trigger. # } # triggered_flavor_desc = { # Triggered district flavor text flavorization for the district. Planet-scope trigger. # } # Undocumentated Parameters: # icon_frame # is_essential # max_for_deposits_on_planet # min_for_deposits_on_planet # exempt_from_ai_planet_specialization # ai_resource_production # ai_weight # ai_estimate_without_unemployment # additional_ai_weight # ai_weight_coefficient # }