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

add special entry for modular lab #50241

Merged
merged 4 commits into from
Jul 26, 2021
Merged
Show file tree
Hide file tree
Changes from 2 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
111 changes: 111 additions & 0 deletions data/json/mapgen/lab/lab_modular/lab_roof.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
[
{
"method": "json",
"om_terrain": [ "lab_security_z0N_roof" ],
"type": "mapgen",
"weight": 200,
"object": {
"fill_ter": "t_flat_roof",
"rows": [
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
"........................"
],
"palettes": [ "roof_palette" ]
}
},
{
"method": "json",
"om_terrain": [ "full_basic_lab_roof" ],
"type": "mapgen",
"//": "generic roof that fills the entire OMT",
"weight": 200,
"object": {
"fill_ter": "t_flat_roof",
"rows": [
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................",
"........................"
],
"palettes": [ "roof_palette" ]
}
},
{
"method": "json",
"om_terrain": [ "lab_security_z0S_roof" ],
"type": "mapgen",
"weight": 200,
"object": {
"fill_ter": "t_flat_roof",
"rows": [
"........................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................",
" ......................"
],
"palettes": [ "roof_palette" ]
}
}
]
133 changes: 133 additions & 0 deletions data/json/overmap/overmap_special/lab_modular/lab_mutagen_6_floor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
[
{
"type": "overmap_special",
"id": "lab_mutagen_6_level",
"//": "6 floor lab",
"locations": [ "land" ],
"overmaps": [
{ "point": [ 1, -2, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 0, -2, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 0, 2, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 1, 2, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 0, -1, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 1, -1, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 0, 0, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 1, 0, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 0, 1, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ 1, 1, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ -1, -1, 1 ], "overmap": "lab_security_z0N_roof_north" },
{ "point": [ -1, 0, 1 ], "overmap": "full_basic_lab_roof_north" },
{ "point": [ -1, 1, 1 ], "overmap": "lab_security_z0S_roof_north" },
{ "point": [ 1, -2, 0 ], "overmap": "lab_res_8_SWU_ground_south", "locations": [ "land" ] },
{ "point": [ 0, -2, 0 ], "overmap": "lab_res_8_SEU_ground_south", "locations": [ "land" ] },
{ "point": [ 0, 2, 0 ], "overmap": "lab_res_8_SWD_ground_north", "locations": [ "land" ] },
{ "point": [ 1, 2, 0 ], "overmap": "lab_res_8_SED_ground_north", "locations": [ "land" ] },
{ "point": [ 0, 2, -1 ], "overmap": "lab_2x1_CORE_-1W_north" },
{ "point": [ 1, 2, -1 ], "overmap": "lab_2x1_CORE_-1E_north" },
{ "point": [ 1, -2, -1 ], "overmap": "lab_2x1_CORE_-1W_south" },
{ "point": [ 0, -2, -1 ], "overmap": "lab_2x1_CORE_-1E_south" },
{ "point": [ 1, -1, -2 ], "overmap": "lab_res_8_NW_south" },
{ "point": [ 1, -2, -2 ], "overmap": "lab_res_8_SW_south" },
{ "point": [ 0, -2, -2 ], "overmap": "lab_res_8_SE_south" },
{ "point": [ 0, -1, -2 ], "overmap": "lab_res_8_NE_south" },
{ "point": [ 1, -1, -3 ], "overmap": "lab_res_8_NWD_south" },
{ "point": [ 0, -1, -3 ], "overmap": "lab_res_8_NED_south" },
{ "point": [ 1, -2, -3 ], "overmap": "lab_res_8_SWD_south" },
{ "point": [ 0, -2, -3 ], "overmap": "lab_res_8_SED_south" },
{ "point": [ 1, -1, -4 ], "overmap": "lab_2x2_cargo_NW_south" },
{ "point": [ 0, -1, -4 ], "overmap": "lab_2x2_cargo_NE_south" },
{ "point": [ 1, -2, -4 ], "overmap": "lab_2x2_cargo_SW_south" },
{ "point": [ 0, -2, -4 ], "overmap": "lab_2x2_cargo_SE_south" },
{ "point": [ 1, -1, -5 ], "overmap": "lab_2x2_MUT_tier_1_NW_south" },
{ "point": [ 0, -1, -5 ], "overmap": "lab_2x2_MUT_tier_1_NE_south" },
{ "point": [ 1, -2, -5 ], "overmap": "lab_2x2_MUT_tier_1_SW_south" },
{ "point": [ 0, -2, -5 ], "overmap": "lab_2x2_MUT_tier_1_SE_south" },
{ "point": [ 1, -1, -6 ], "overmap": "lab_2x2_MUT_tier_2_NW_final_flr_south" },
{ "point": [ 0, -1, -6 ], "overmap": "lab_2x2_MUT_tier_2_NE_south" },
{ "point": [ 1, -2, -6 ], "overmap": "lab_2x2_MUT_tier_2_SW_south" },
{ "point": [ 0, -2, -6 ], "overmap": "lab_2x2_MUT_tier_2_SE_south" },
{ "point": [ 0, 0, -2 ], "overmap": "lab_CORE_2x1_1UP_north" },
{ "point": [ 1, 0, -2 ], "overmap": "lab_CORE_2x1_2UP_north" },
{ "point": [ 2, -1, -2 ], "overmap": "lab_1x1x2_RES_8_apartments_upper_south" },
{ "point": [ 2, 0, -2 ], "overmap": "lab_health_z-2_A_north" },
{ "point": [ 2, 1, -2 ], "overmap": "lab_1x1_RES_8_bedrooms_maintenance_north" },
{ "point": [ -1, 2, -2 ], "overmap": "lab_maintenance_z-2&3_A_north" },
{ "point": [ 2, 2, -2 ], "overmap": "lab_maintenance_z-2&3_B_north" },
{ "point": [ -1, 2, -3 ], "overmap": "lab_maintenance_z-2&3_A_north" },
{ "point": [ 2, 2, -3 ], "overmap": "lab_maintenance_z-2&3_B_north" },
{ "point": [ 3, 0, -2 ], "overmap": "lab_health_z-2_B_north" },
{ "point": [ 0, 0, -3 ], "overmap": "lab_CORE_2x1_1DN_north" },
{ "point": [ 0, -1, 0 ], "overmap": "lab_CORE_2x1_NED_ground_north" },
{ "point": [ 1, -1, 0 ], "overmap": "lab_CORE_2x1_NWD_ground_north" },
{ "point": [ 0, 0, 0 ], "overmap": "lab_CORE_2x1_WC_ground_north" },
{ "point": [ 1, 0, 0 ], "overmap": "lab_CORE_2x1_EC_ground_north" },
{ "point": [ 0, 1, 0 ], "overmap": "lab_CORE_2x1_SED_ground_north" },
{ "point": [ 1, 1, 0 ], "overmap": "lab_CORE_2x1_SWD_ground_north" },
{ "point": [ -2, -2, 0 ], "overmap": "lab_surface_parking_blockE1_west" },
{ "point": [ -3, -2, 0 ], "overmap": "lab_surface_parking_blockE0_west" },
{ "point": [ -2, -1, 0 ], "overmap": "lab_surface_parking_blockD1_west" },
{ "point": [ -3, -1, 0 ], "overmap": "lab_surface_parking_blockD0_west" },
{ "point": [ -1, -2, 0 ], "overmap": "lab_surface_parking_blockE2_west" },
{ "point": [ -1, -1, 0 ], "overmap": "lab_security_z0N_north" },
{ "point": [ -1, 0, 0 ], "overmap": "lab_security_z0_north" },
{ "point": [ -1, 1, 0 ], "overmap": "lab_security_z0S_north" },
{ "point": [ -1, 2, 0 ], "overmap": "lab_surface_parking_blockA2_west" },
{ "point": [ -2, 0, 0 ], "overmap": "lab_surface_parking_blockC1_west" },
{ "point": [ -3, 0, 0 ], "overmap": "lab_surface_parking_blockC0_west" },
{ "point": [ -2, 1, 0 ], "overmap": "lab_surface_parking_blockB1_west" },
{ "point": [ -3, 1, 0 ], "overmap": "lab_surface_parking_blockB0_west" },
{ "point": [ -2, 2, 0 ], "overmap": "lab_surface_parking_blockA1_west" },
{ "point": [ -3, 2, 0 ], "overmap": "lab_surface_parking_blockA0_west" },
{ "point": [ -1, 0, -1 ], "overmap": "lab_security_z-1_north" },
{ "point": [ -1, 1, -2 ], "overmap": "lab_1x1_RES_8_bedrooms_security_north" },
{ "point": [ -1, 0, -2 ], "overmap": "lab_security_z-2_north" },
{ "point": [ -1, -2, -3 ], "overmap": "lab_maintenance_z-2&3_B_south" },
{ "point": [ -1, -2, -2 ], "overmap": "lab_maintenance_z-2&3_B_south" },
{ "point": [ -1, -1, -2 ], "overmap": "lab_1x1_RES_8_bedrooms_security_south" },
{ "point": [ -1, 1, -3 ], "overmap": "lab_1x1_RES_8_commons_north" },
{ "point": [ -1, 0, -3 ], "overmap": "lab_security_z-3_north" },
{ "point": [ -1, -1, -3 ], "overmap": "lab_1x1_RES_8_commons_south" },
{ "point": [ -1, 0, -4 ], "overmap": "lab_security_z-4_north" },
{ "point": [ -1, 0, -5 ], "overmap": "lab_security_z-5_north" },
{ "point": [ -1, 0, -6 ], "overmap": "lab_security_z-6_final_flr_north" },
{ "point": [ 1, 0, -3 ], "overmap": "lab_CORE_2x1_2DN_north" },
{ "point": [ 2, -2, -3 ], "overmap": "lab_maintenance_z-2&3_A_south" },
{ "point": [ 2, -2, -2 ], "overmap": "lab_maintenance_z-2&3_A_south" },
{ "point": [ 2, -1, -3 ], "overmap": "lab_1x1x2_RES_8_apartments_lower_south" },
{ "point": [ 2, 0, -3 ], "overmap": "lab_health_z-3_A_north" },
{ "point": [ 2, 1, -3 ], "overmap": "lab_1x1_RES_8_commons_north" },
{ "point": [ 3, 0, -3 ], "overmap": "lab_health_z-3_B_north" },
{ "point": [ 0, 1, -2 ], "overmap": "lab_res_8_NW_north" },
{ "point": [ 1, 1, -2 ], "overmap": "lab_res_8_NE_north" },
{ "point": [ 0, 2, -2 ], "overmap": "lab_res_8_SW_north" },
{ "point": [ 1, 2, -2 ], "overmap": "lab_res_8_SE_north" },
{ "point": [ 0, 1, -3 ], "overmap": "lab_res_8_NWD_north" },
{ "point": [ 1, 1, -3 ], "overmap": "lab_res_8_NED_north" },
{ "point": [ 0, 2, -3 ], "overmap": "lab_res_8_SWD_north" },
{ "point": [ 1, 2, -3 ], "overmap": "lab_res_8_SED_north" },
{ "point": [ 0, 1, -4 ], "overmap": "lab_2x2_cargo_NW_north" },
{ "point": [ 1, 1, -4 ], "overmap": "lab_2x2_cargo_NE_north" },
{ "point": [ 0, 2, -4 ], "overmap": "lab_2x2_cargo_SW_north" },
{ "point": [ 1, 2, -4 ], "overmap": "lab_2x2_cargo_SE_north" },
{ "point": [ 0, 0, -4 ], "overmap": "underground_lab_cargo_stationB_east" },
{ "point": [ 1, 0, -4 ], "overmap": "underground_lab_cargo_stationA_east" },
{ "point": [ 2, 0, -4 ], "overmap": "microlab_sub_connector_east" },
{ "point": [ 0, 0, -5 ], "overmap": "underground_lab_central_-5W_east" },
{ "point": [ 1, 0, -5 ], "overmap": "underground_lab_central_-5E_east" },
{ "point": [ 0, 0, -6 ], "overmap": "underground_lab_central_-6W_east" },
{ "point": [ 1, 0, -6 ], "overmap": "underground_lab_central_-6E_east" },
{ "point": [ 0, 1, -5 ], "overmap": "lab_2x2_MUT_tier_1_NW_north" },
{ "point": [ 1, 1, -5 ], "overmap": "lab_2x2_MUT_tier_1_NE_north" },
{ "point": [ 0, 2, -5 ], "overmap": "lab_2x2_MUT_tier_1_SW_north" },
{ "point": [ 1, 2, -5 ], "overmap": "lab_2x2_MUT_tier_1_SE_north" },
{ "point": [ 0, 1, -6 ], "overmap": "lab_2x2_MUT_tier_2_NW_final_flr_north" },
{ "point": [ 1, 1, -6 ], "overmap": "lab_2x2_MUT_tier_2_NE_north" },
{ "point": [ 0, 2, -6 ], "overmap": "lab_2x2_MUT_tier_2_SW_north" },
{ "point": [ 1, 2, -6 ], "overmap": "lab_2x2_MUT_tier_2_SE_north" }
],
"connections": [ { "point": [ -4, 0, 0 ], "connection": "local_road", "terrain": "road", "existing": false } ],
"city_distance": [ 3, -1 ],
"city_sizes": [ 1, 16 ],
"occurrences": [ 0, 0 ]
}
]
16 changes: 16 additions & 0 deletions data/json/overmap/overmap_terrain/overmap_terrain_lab.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,22 @@
"spawns": { "group": "GROUP_VANILLA", "population": [ 5, 15 ], "chance": 30 },
"flags": [ "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": [
"lab_security_z0",
"lab_security_z0N",
"lab_security_z0S",
"full_basic_lab_roof",
"lab_security_z0S_roof",
"lab_security_z0N_roof"
],
"name": "Trans-Coast Logistics Roof",
"sym": "F",
"color": "light_gray",
"see_cost": 5,
"flags": [ "RISK_HIGH" ]
},
{
"type": "overmap_terrain",
"id": [ "lab_health_z-2_A", "lab_health_z-3_A", "lab_health_z-2_B", "lab_health_z-3_B" ],
Expand Down