Skip to content

Commit

Permalink
Vanilla indian city_types
Browse files Browse the repository at this point in the history
  • Loading branch information
Danarca committed Jan 13, 2025
1 parent c910b14 commit 2747461
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 0 deletions.
92 changes: 92 additions & 0 deletions gfx/map/city_data/city_types/indian_city.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
indian_city = {
# graphical_culture = "indian"
city_type = city
center_building_mesh = "indian_city_centerpiece_mesh"
building_skyscraper = {"indian_city_skyscraper_mesh"}
center_building_size = { 2 2 }

trigger = {
any_scope_state = {
OR = {
region = sr:region_bombay
region = sr:region_bengal
region = sr:region_madras
region = sr:region_central_india
region = sr:region_punjab
}
}
}

weight = 1

min_residential_buildings = 4
max_residential_buildings = 150
max_residence_points = 200

rich_building_meshes = {
"indian_urban_residential_rich_01_mesh"
"indian_urban_residential_rich_02_mesh"
"indian_urban_residential_rich_03_mesh"
}
rich_building_offsets = {
position = 0.05 #in grid-space units. 1.0 means the mesh can be placed anywhere inside its allotted cell
rotation = 5.0 #in degrees
}
mid_building_meshes = {
"indian_urban_residential_mid_01_mesh"
"indian_urban_residential_mid_02_mesh"
"indian_urban_residential_mid_03_mesh"
}
mid_building_offsets = {
position = 0.1
rotation = 15.0
}
poor_building_meshes = {
"indian_urban_residential_poor_01_mesh"
"indian_urban_residential_poor_02_mesh"
"indian_urban_residential_poor_03_mesh"
"indian_urban_residential_poor_04_mesh"
}
poor_building_offsets = {
position = 0.1
rotation = 45.0
}
building_offsets = { #offsets for regular buildings
position = 0.0
rotation = 15.0
}

building_urban_center = {}

building_arts_academy = {"indian_city_academy_mesh"}
building_barracks = {"indian_city_barracks_mesh"}
building_financial_district = {"indian_city_financialdistrict_mesh"}
building_company_headquarter = {"indian_companyhq_01_mesh"}
building_government_administration = {"indian_city_govadmin_mesh"}
building_trade_center = {"indian_city_tradecenter_mesh"}
building_university = {"indian_city_university_mesh"}

building_construction_sector = {"indian_factory_construction_01_mesh"}
building_food_industry = {"indian_factory_food_01_mesh"}
building_paper_mills = {"indian_factory_papermill_01_mesh"}
building_textile_mills = {"indian_factory_textilemill_01_mesh"}
building_furniture_manufacturies= {"indian_factory_furniture_01_mesh"}
building_glassworks = {"indian_factory_glass_01_mesh"}
building_tooling_workshops = {"indian_factory_tools_01_mesh"}
building_steel_mills = {"indian_factory_steel_01_mesh"}
building_arms_industry = {"indian_factory_arms_01_mesh"}
building_artillery_foundries = {"indian_factory_arms_01_mesh"}
building_war_machine_industry = {"indian_factory_warmachine_01_mesh"}
building_munition_plants = {"indian_factory_munition_01_mesh"}
building_motor_industry = {"indian_factory_tech_01_mesh"}
building_electrics_industry = {"indian_factory_tech_01_mesh"}
building_chemical_plants = {"indian_factory_chemical_01_mesh"}
building_synthetics_plants = {"indian_factory_chemical_01_mesh"}
building_power_plant = {"indian_factory_powerplant_01_mesh"}
building_explosives_factory = {"indian_factory_chemical_01_mesh"}

building_suez_canal = {"canal_suezcanal_01_mesh"}
building_panama_canal = {"canal_panamacanal_01_mesh"}
building_eiffel_tower = {"wonder_eiffel_tower_01_mesh"}
building_victoria_terminus = {"wonder_chhatrapati_shivaji_terminus_mesh"}
}
81 changes: 81 additions & 0 deletions gfx/map/city_data/city_types/indian_mine.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
indian_mine = {
# graphical_culture = "indian"
city_type = mine
center_building_mesh = "indian_mining_centerpiece_01_mesh"
center_building_size = { 3 3 }

trigger = {
any_scope_state = {
OR = {
region = sr:region_bombay
region = sr:region_bengal
region = sr:region_madras
region = sr:region_central_india
region = sr:region_punjab
}
}
}

weight = 1

min_residential_buildings = 4
max_residential_buildings = 150
max_residence_points = 200

rich_building_meshes = {
"indian_rural_residential_rich_01_mesh"
"indian_rural_residential_rich_02_mesh"
"indian_rural_residential_rich_03_mesh"
}
rich_building_offsets = {
position = 0.1 #in grid-space units. 1.0 means the mesh can be placed anywhere inside its allotted cell
rotation = 45.0 #in degrees
}
mid_building_meshes = {
"indian_rural_residential_mid_01_mesh"
"indian_rural_residential_mid_02_mesh"
"indian_rural_residential_mid_03_mesh"
}
mid_building_offsets = {
position = 0.1
rotation = 90.0
}
poor_building_meshes = {
"indian_rural_residential_poor_01_mesh"
"indian_rural_residential_poor_02_mesh"
"indian_rural_residential_poor_03_mesh"
}
poor_building_offsets = {
position = 0.1
rotation = 180.0
}
building_offsets = { #offsets for regular buildings
position = 0.0
rotation = 35.0
}

building_coal_mine = {
"indian_mining_coal_01_mesh"
}
building_sulfur_mine = {
"indian_mining_sulfur_01_mesh"
}

building_iron_mine = {
"indian_mining_iron_01_mesh"
}
building_lead_mine = {
"indian_mining_lead_01_mesh"
}

building_oil_rig = {
"generic_mining_oil_01_mesh"
}
building_gold_mine = {
"indian_mining_gold_01_mesh"
}
building_gold_fields = {
"indian_mining_gold_01_mesh"
}

}

0 comments on commit 2747461

Please sign in to comment.