Skip to content

Commit eec267e

Browse files
authored
[Sky Island] Mod compatibility (CleverRaven#84996)
* add ddotd region and scenario overrides * Add innawood region and scenario overrides * Marking MA and skyisland incompatible. The pregenerated map does not work with sky island. * External option to set the sky island default region * No longer need to rewrite default region * Add missing blacklist flag to classic zombies * Add desert region settings * Backrooms incompatible until able to spawn missions/exits in the backrooms
1 parent 20a5343 commit eec267e

File tree

7 files changed

+98
-5
lines changed

7 files changed

+98
-5
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"type": "SCENARIO_BLACKLIST",
4+
"subtype": "whitelist",
5+
"//": "need to re-override this for this mod",
6+
"scenarios": [ "scenario_warper" ]
7+
}
8+
]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"type": "SCENARIO_BLACKLIST",
4+
"subtype": "whitelist",
5+
"//": "need to re-override this for this mod",
6+
"scenarios": [ "scenario_warper" ]
7+
}
8+
]

data/mods/Sky_Island/modinfo.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@
88
"description": "An attempt at an entirely new way to play CDDA, inspired by games like Escape from Tarkov and Dark and Darker. Begin on a floating island in the sky and warp down to random spots on the earth below to conduct expeditions for items you need. Permadeath is gone - you will return to the island on death but lose any items you had on you. Build up your stockpile, carry out missions for unique rewards, customize your home island, unlock upgrades, and be prudent about what you take on any given outing. Be aware that 'PLAY NOW' will NOT work, you MUST make a custom character.",
99
"category": "total_conversion",
1010
"dependencies": [ "dda" ],
11+
"conflicts": [ "backrooms", "MA" ],
1112
"version": "0.4.0",
1213
"loading_images": [ "skyisland1.png" ]
14+
},
15+
{
16+
"type": "EXTERNAL_OPTION",
17+
"name": "DEFAULT_REGION",
18+
"stype": "string_input",
19+
"value": "default_skyisland"
1320
}
1421
]

data/mods/Sky_Island/region_settings.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@
77
"//1": "Can be used in the future for other islands to find in the home dimension?"
88
},
99
{
10-
"//": "This HAS to be in the same file and above the default settings override to ensure it copies the default region before its overwritten",
1110
"type": "region_settings",
1211
"id": "dimension_sky_island_region",
1312
"copy-from": "default",
1413
"feature_flag_settings": { "extend": { "blacklist": [ "SKY_ISLAND" ] } }
1514
},
1615
{
17-
"//": "This HAS to be in the same file and below the above object",
1816
"type": "region_settings",
19-
"id": "default",
20-
"copy-from": "default",
17+
"id": "default_skyisland",
2118
"rivers": null,
2219
"lakes": null,
2320
"ocean": null,
@@ -30,6 +27,7 @@
3027
"map_extras": "no_map_extras",
3128
"place_roads": false,
3229
"place_specials": true,
30+
"weather": "default",
3331
"default_oter": [
3432
"open_air",
3533
"open_air",
@@ -53,6 +51,18 @@
5351
"open_air",
5452
"open_air"
5553
],
56-
"feature_flag_settings": { "whitelist": [ "SKY_ISLAND" ], "blacklist": [ ] }
54+
"feature_flag_settings": { "whitelist": [ "SKY_ISLAND" ], "blacklist": [ ] },
55+
"//": "These dont matter but are required",
56+
"default_groundcover": [ ],
57+
"terrain_furniture": "default",
58+
"urbanity_increase": [ 0, 10, 5, 0 ],
59+
"connections": {
60+
"intra_city_road_connection": "local_road",
61+
"inter_city_road_connection": "local_road",
62+
"trail_connection": "forest_trail",
63+
"sewer_connection": "sewer_tunnel",
64+
"subway_connection": "subway_tunnel",
65+
"rail_connection": "local_railroad"
66+
}
5767
}
5868
]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
"type": "region_settings",
4+
"id": "dimension_sky_island_region",
5+
"copy-from": "dimension_sky_island_region",
6+
"urbanity_increase": [ -1, 0, 0, -1 ],
7+
"feature_flag_settings": { "whitelist": [ "CLASSIC" ], "extend": { "blacklist": [ "SKY_ISLAND" ] } }
8+
}
9+
]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"type": "region_settings",
4+
"id": "dimension_sky_island_region",
5+
"copy-from": "dimension_sky_island_region",
6+
"ocean": null,
7+
"highways": null,
8+
"default_oter": [
9+
"open_air",
10+
"open_air",
11+
"open_air",
12+
"open_air",
13+
"open_air",
14+
"open_air",
15+
"open_air",
16+
"open_air",
17+
"open_air",
18+
"open_air",
19+
"field",
20+
"sandstone",
21+
"sandstone",
22+
"empty_rock",
23+
"empty_rock",
24+
"deep_rock",
25+
"deep_rock",
26+
"deep_rock",
27+
"deep_rock",
28+
"deep_rock",
29+
"deep_rock"
30+
],
31+
"default_groundcover": [ [ "t_region_groundcover", 1 ] ],
32+
"feature_flag_settings": {
33+
"blacklist": [ "WASP", "BEE", "ANT", "FUNGAL", "TRIFFID", "FARM", "EXTRADIMENSIONAL", "SKY_ISLAND" ],
34+
"whitelist": [ ]
35+
}
36+
}
37+
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"type": "region_settings",
4+
"id": "dimension_sky_island_region",
5+
"copy-from": "dimension_sky_island_region",
6+
"cities": null,
7+
"highways": null,
8+
"place_roads": false,
9+
"feature_flag_settings": {
10+
"blacklist": [ "LAB", "MAN_MADE", "MILITARY", "URBAN", "FARM", "EXODII", "EXTRADIMENSIONAL", "SKY_ISLAND" ],
11+
"whitelist": [ ]
12+
}
13+
}
14+
]

0 commit comments

Comments
 (0)