Skip to content

Commit

Permalink
Add RISK_EXTREME flag, audit RISK_HIGH and RISK_LOW
Browse files Browse the repository at this point in the history
  • Loading branch information
RenechCDDA committed May 25, 2024
1 parent de4ec39 commit e50a978
Show file tree
Hide file tree
Showing 31 changed files with 110 additions and 100 deletions.
5 changes: 5 additions & 0 deletions data/json/npcs/destination_locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@
"id": "source_of_people",
"flags": [ "SOURCE_PEOPLE" ]
},
{
"type": "overmap_location",
"id": "risk_extreme",
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_location",
"id": "risk_high",
Expand Down
2 changes: 1 addition & 1 deletion data/json/overmap/overmap_special/specials.json
Original file line number Diff line number Diff line change
Expand Up @@ -7135,7 +7135,7 @@
"connections": [ { "point": [ 3, 3, 0 ], "terrain": "road", "connection": "local_road", "from": [ 3, 2, 0 ] } ],
"city_distance": [ 0, 20 ],
"occurrences": [ 5, 100 ],
"flags": [ "GLOBALLY_UNIQUE", "RISK_HIGH", "GENERIC_LOOT", "MAN_MADE" ]
"flags": [ "GLOBALLY_UNIQUE", "RISK_EXTREME", "GENERIC_LOOT", "MAN_MADE" ]
},
{
"type": "overmap_special",
Expand Down
13 changes: 7 additions & 6 deletions data/json/overmap/overmap_terrain/overmap_terrain.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"sym": "^",
"see_cost": 5,
"extras": "build",
"mondensity": 2
"mondensity": 2,
"flags": [ "RISK_HIGH", "GENERIC_LOOT" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -711,7 +712,7 @@
"sym": "O",
"color": "white",
"see_cost": 5,
"flags": [ "RISK_LOW", "SOURCE_SAFETY", "SOURCE_FOOD" ]
"flags": [ "SOURCE_SAFETY", "SOURCE_FOOD" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -874,7 +875,7 @@
"sym": "#",
"color": "brown",
"see_cost": 5,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -883,7 +884,7 @@
"sym": "%",
"color": "dark_gray",
"see_cost": 5,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -955,7 +956,7 @@
"sym": "S",
"color": "white",
"see_cost": 3,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -1015,7 +1016,7 @@
"sym": "8",
"color": "yellow",
"see_cost": 3,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"name": "rural building",
"sym": "#",
"color": "i_brown",
"delete": { "flags": [ "RISK_HIGH" ] },
"extend": { "flags": [ "SOURCE_FOOD", "SOURCE_SAFETY", "RISK_LOW", "SOURCE_FARMING" ] }
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"color": "red",
"see_cost": 5,
"spawns": { "group": "GROUP_AIRCRAFT_CARRIER", "population": [ 20, 40 ], "chance": 100 },
"flags": [ "RISK_HIGH", "LAKE" ]
"flags": [ "RISK_EXTREME", "LAKE" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -179,6 +179,6 @@
"color": "red",
"see_cost": 5,
"spawns": { "group": "GROUP_AIRCRAFT_CARRIER_TECHNICIANS", "population": [ 20, 35 ], "chance": 100 },
"flags": [ "RISK_HIGH", "LAKE" ]
"flags": [ "RISK_EXTREME", "LAKE" ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sym": "%",
"color": "brown",
"see_cost": 2,
"flags": [ "KNOWN_DOWN", "RISK_HIGH", "REQUIRES_PREDECESSOR" ]
"flags": [ "KNOWN_DOWN", "RISK_EXTREME", "REQUIRES_PREDECESSOR" ]
},
{
"type": "overmap_terrain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@
"spawns": { "group": "GROUP_VANILLA", "population": [ 10, 20 ], "chance": 100 },
"flags": [
"SIDEWALK",
"RISK_HIGH",
"RISK_EXTREME",
"SOURCE_FOOD",
"SOURCE_DRINK",
"SOURCE_GUN",
Expand Down
6 changes: 3 additions & 3 deletions data/json/overmap/overmap_terrain/overmap_terrain_fungal.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"color": "yellow",
"see_cost": 3,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -17,7 +17,7 @@
"color": "light_gray",
"see_cost": 2,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -27,6 +27,6 @@
"color": "cyan",
"see_cost": 5,
"extras": "marloss",
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
}
]
40 changes: 20 additions & 20 deletions data/json/overmap/overmap_terrain/overmap_terrain_lab.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"color": "light_blue",
"spawns": { "group": "GROUP_LAB", "population": [ 0, 5 ], "chance": 20 },
"see_cost": 5,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -17,7 +17,7 @@
"color": "blue",
"see_cost": 5,
"spawns": { "group": "GROUP_LAB", "population": [ 0, 5 ], "chance": 20 },
"flags": [ "KNOWN_DOWN", "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "KNOWN_DOWN", "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -27,7 +27,7 @@
"color": "light_blue",
"spawns": { "group": "GROUP_LAB", "population": [ 0, 8 ], "chance": 30 },
"see_cost": 5,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -56,7 +56,7 @@
"color": "light_blue",
"spawns": { "group": "GROUP_LAB", "population": [ 0, 5 ], "chance": 20 },
"see_cost": 5,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -86,7 +86,7 @@
"color": "light_blue",
"spawns": { "group": "GROUP_LAB", "population": [ 0, 5 ], "chance": 20 },
"see_cost": 5,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -126,7 +126,7 @@
"color": "light_blue",
"see_cost": 5,
"spawns": { "group": "GROUP_LAB", "population": [ 0, 5 ], "chance": 20 },
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -172,7 +172,7 @@
"see_cost": 5,
"extras": "subway",
"spawns": { "group": "GROUP_LAB", "population": [ 0, 5 ], "chance": 20 },
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -190,7 +190,7 @@
"sym": "F",
"color": "green",
"see_cost": 3,
"flags": [ "NO_ROTATE", "RISK_HIGH" ]
"flags": [ "NO_ROTATE", "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -208,7 +208,7 @@
"sym": "L",
"color": "cyan",
"see_cost": 5,
"flags": [ "RISK_HIGH" ],
"flags": [ "RISK_EXTREME" ],
"spawns": { "group": "GROUP_CENTRAL_LAB", "population": [ 0, 5 ], "chance": 20 }
},
{
Expand Down Expand Up @@ -359,7 +359,7 @@
"extras": "research_facility_interior",
"see_cost": 5,
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand Down Expand Up @@ -516,7 +516,7 @@
"sym": "L",
"color": "light_blue",
"see_cost": 5,
"flags": [ "RISK_HIGH", "SOURCE_CHEMISTRY", "SOURCE_MEDICINE" ]
"flags": [ "RISK_EXTREME", "SOURCE_CHEMISTRY", "SOURCE_MEDICINE" ]
},
{
"type": "overmap_terrain",
Expand All @@ -525,7 +525,7 @@
"sym": "X",
"color": "white",
"see_cost": 5,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -543,7 +543,7 @@
"color": "yellow",
"see_cost": 5,
"spawns": { "group": "GROUP_VANILLA", "population": [ 1, 4 ], "chance": 30 },
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -568,7 +568,7 @@
"color": "white",
"see_cost": 5,
"spawns": { "group": "GROUP_VANILLA", "population": [ 3, 15 ], "chance": 70 },
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -592,7 +592,7 @@
"sym": "R",
"color": "green",
"see_cost": 5,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -617,7 +617,7 @@
"color": "light_gray",
"see_cost": 5,
"spawns": { "group": "GROUP_VANILLA", "population": [ 5, 15 ], "chance": 30 },
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -626,7 +626,7 @@
"sym": "F",
"color": "light_gray",
"see_cost": 5,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -636,7 +636,7 @@
"color": "red",
"see_cost": 5,
"spawns": { "group": "GROUP_LAB_HOSPITAL", "population": [ 7, 15 ], "chance": 100 },
"flags": [ "RISK_HIGH", "SOURCE_CHEMISTRY", "SOURCE_MEDICINE" ]
"flags": [ "RISK_EXTREME", "SOURCE_CHEMISTRY", "SOURCE_MEDICINE" ]
},
{
"type": "overmap_terrain",
Expand All @@ -645,7 +645,7 @@
"sym": "M",
"color": "red",
"see_cost": 5,
"flags": [ "RISK_HIGH", "SOURCE_CHEMISTRY", "SOURCE_MEDICINE" ]
"flags": [ "RISK_EXTREME", "SOURCE_CHEMISTRY", "SOURCE_MEDICINE" ]
},
{
"type": "overmap_terrain",
Expand All @@ -655,6 +655,6 @@
"color": "cyan",
"see_cost": 5,
"spawns": { "group": "GROUP_LAB_MAINTENANCE", "population": [ 5, 10 ], "chance": 100 },
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sym": "M",
"see_cost": 5,
"mondensity": 2,
"flags": [ "SIDEWALK", "RISK_HIGH", "SOURCE_FOOD", "SOURCE_DRINK", "SOURCE_MEDICINE", "SOURCE_FABRICATION" ]
"flags": [ "SIDEWALK", "RISK_EXTREME", "SOURCE_FOOD", "SOURCE_DRINK", "SOURCE_MEDICINE", "SOURCE_FABRICATION" ]
},
{
"type": "overmap_terrain",
Expand Down
12 changes: 6 additions & 6 deletions data/json/overmap/overmap_terrain/overmap_terrain_mi-go.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"sym": "<",
"color": "dark_gray",
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -15,7 +15,7 @@
"sym": ">",
"color": "light_gray",
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -24,7 +24,7 @@
"sym": ">",
"color": "light_gray",
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -33,7 +33,7 @@
"sym": "_",
"color": "light_gray",
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -51,7 +51,7 @@
"sym": ">",
"color": "light_gray",
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
},
{
"type": "overmap_terrain",
Expand All @@ -60,6 +60,6 @@
"sym": "=",
"color": "dark_gray",
"mondensity": 2,
"flags": [ "RISK_HIGH" ]
"flags": [ "RISK_EXTREME" ]
}
]
Loading

0 comments on commit e50a978

Please sign in to comment.