Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overmap granularity audit: Industrial buildings #75704

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 21 additions & 10 deletions data/json/overmap/overmap_terrain/overmap_terrain_industrial.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "overmap_terrain",
"id": [ "public_works_NE", "public_works_NW", "public_works_SE" ],
"name": "public works",
"vision_levels": "city_building",
"vision_levels": "industrial_building",
"sym": "w",
"color": "light_gray",
"see_cost": "high",
Expand Down Expand Up @@ -38,7 +38,7 @@
"name": "serving area interface",
"sym": "0",
"color": "i_magenta",
"vision_levels": "isolated_building",
"vision_levels": "isolated_electronics",
"see_cost": "spaced_high"
},
{
Expand All @@ -56,7 +56,7 @@
"name": "small power substation",
"sym": "H",
"color": "light_cyan",
"vision_levels": "isolated_building",
"vision_levels": "isolated_electronics",
"see_cost": "spaced_high"
},
{
Expand All @@ -65,14 +65,14 @@
"name": "small power substation roof",
"sym": "H",
"color": "light_cyan",
"vision_levels": "isolated_building",
"vision_levels": "isolated_electronics",
"see_cost": "none"
},
{
"type": "overmap_terrain",
"id": [ "pwr_large_entrance", "pwr_large_2", "pwr_large_3", "pwr_large_4" ],
"name": "large power substation",
"vision_levels": "isolated_building",
"vision_levels": "isolated_electronics",
"sym": "H",
"color": "cyan",
"see_cost": "spaced_high"
Expand All @@ -91,6 +91,7 @@
"id": "warehouse",
"copy-from": "generic_city_building",
"name": "small warehouse",
"vision_levels": "warehouse",
"sym": "w",
"color": "light_blue"
},
Expand All @@ -99,6 +100,7 @@
"id": "warehouse_roof",
"copy-from": "generic_city_building",
"name": "small warehouse roof",
"vision_levels": "warehouse",
"sym": "w",
"color": "light_blue"
},
Expand All @@ -107,6 +109,7 @@
"id": [ "small_storage_units", "small_storage_units_1" ],
"copy-from": "generic_city_building",
"name": "small storage units",
"vision_levels": "warehouse",
"sym": "#",
"color": "i_yellow"
},
Expand All @@ -115,6 +118,7 @@
"id": [ "small_storage_units_roof", "small_storage_units_roof_1" ],
"copy-from": "generic_city_building",
"name": "small storage units roof",
"vision_levels": "warehouse",
"sym": "#",
"color": "i_yellow"
},
Expand All @@ -123,6 +127,7 @@
"id": [ "lumberyard_0_0", "lumberyard_0_1", "lumberyard_1_0", "lumberyard_1_1" ],
"copy-from": "generic_city_building",
"name": "lumberyard",
"vision_levels": "industrial_building",
"sym": "L",
"color": "i_green",
"spawns": { "group": "GROUP_WASP_FORAGER", "population": [ 1, 3 ], "chance": 10 },
Expand All @@ -133,14 +138,15 @@
"id": [ "lumberyard_0_0_roof", "lumberyard_0_1_roof", "lumberyard_1_0_roof", "lumberyard_1_1_roof" ],
"copy-from": "generic_city_building",
"name": "lumberyard",
"vision_levels": "industrial_building",
"sym": "L",
"color": "i_green"
},
{
"type": "overmap_terrain",
"id": [ "lumbermill_0_0", "lumbermill_0_1", "lumbermill_1_0", "lumbermill_1_1" ],
"copy-from": "generic_city_building_no_sidewalk",
"vision_levels": "isolated_building",
"vision_levels": "industrial_building",
"name": "lumbermill",
"sym": "L",
"color": "i_green",
Expand Down Expand Up @@ -171,6 +177,7 @@
"id": [ "construction_site", "house_vacant", "house_vacant1", "house_vacant2", "house_vacant3" ],
"name": "construction site",
"copy-from": "generic_city_building",
"vision_levels": "industrial_building",
"sym": "x",
"color": "i_light_gray",
"extend": { "flags": [ "SOURCE_CONSTRUCTION", "SOURCE_FABRICATION" ] }
Expand All @@ -180,6 +187,7 @@
"id": [ "abandonedwarehouse", "abandonedwarehouse_1", "abandonedwarehouse_2", "abandonedwarehouse_3", "abandonedwarehouse_4" ],
"copy-from": "generic_city_building",
"name": "abandoned warehouse",
"vision_levels": "warehouse",
"sym": "w",
"color": "brown"
},
Expand All @@ -194,6 +202,7 @@
],
"copy-from": "generic_city_building",
"name": "abandoned warehouse roof",
"vision_levels": "warehouse",
"sym": "w",
"color": "brown"
},
Expand All @@ -208,6 +217,7 @@
],
"copy-from": "generic_city_building",
"name": "storage units",
"vision_levels": "warehouse",
"sym": "#",
"color": "i_yellow"
},
Expand All @@ -222,6 +232,7 @@
],
"copy-from": "generic_city_building",
"name": "storage units roof",
"vision_levels": "warehouse",
"sym": "#",
"color": "i_yellow"
},
Expand Down Expand Up @@ -284,7 +295,7 @@
"steel_mill_4_3_3"
],
"copy-from": "generic_city_building_no_sidewalk",
"vision_levels": "large_building",
"vision_levels": "large_industrial_building",
"name": "steel mill",
"sym": "S",
"color": "dark_gray"
Expand Down Expand Up @@ -330,15 +341,15 @@
"name": "light industry",
"sym": "I",
"color": "light_blue",
"vision_levels": "isolated_building",
"vision_levels": "industrial_building",
"see_cost": "high",
"extras": "build",
"mondensity": 2
},
{
"type": "overmap_terrain",
"id": [ "mine_entrance", "mine_entrance_loading_zone" ],
"vision_levels": "isolated_building",
"vision_levels": "industrial_building",
"name": "mine entrance",
"sym": "M",
"color": "magenta",
Expand Down Expand Up @@ -457,7 +468,7 @@
"name": "light industry",
"sym": "I",
"color": "light_blue",
"vision_levels": "isolated_building",
"vision_levels": "industrial_building",
"see_cost": "high",
"extras": "build",
"mondensity": 2
Expand Down
40 changes: 40 additions & 0 deletions data/json/overmap/vision_levels.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,36 @@
{ "name": "camp", "sym": "+", "color": "light_gray", "looks_like": "campsite" }
]
},
{
"id": "isolated_electronics",
"//": "appliances, machineries visible outside",
"type": "oter_vision",
"levels": [
{ "name": "appliances", "sym": "&", "color": "light_gray" },
{ "name": "deployed appliances", "sym": "A", "color": "light_gray" },
{ "name": "deployed appliances", "sym": "A", "color": "light_gray" }
]
},
{
"id": "industrial_building",
"//": "an industrial building that is neither a warehouse, nor having appliances installed",
"type": "oter_vision",
"levels": [
{ "name": "building", "sym": "^", "color": "light_gray" },
{ "name": "industrial building", "sym": "i", "color": "light_gray" },
{ "name": "industrial building", "sym": "i", "color": "light_gray" }
]
},
{
"id": "warehouse",
"//": "a warehouse or similar",
"type": "oter_vision",
"levels": [
{ "name": "building", "sym": "^", "color": "light_gray" },
{ "name": "warehouse", "sym": "w", "color": "light_gray" },
{ "name": "warehouse", "sym": "w", "color": "light_gray" }
]
},
{
"id": "island",
"//": "any island",
Expand Down Expand Up @@ -170,6 +200,16 @@
{ "name": "large building", "color": "i_light_gray", "sym": "+" }
]
},
{
"id": "large_industrial_building",
"//": "a large industrial building (at least 2x2 overmap tiles)",
"type": "oter_vision",
"levels": [
{ "name": "large industrial building", "color": "i_white", "sym": "^" },
{ "name": "large industrial building", "color": "i_white", "sym": "^" },
{ "name": "large industrial building", "color": "i_white", "sym": "^" }
]
},
{
"id": "large_structure",
"//": [
Expand Down
Loading