Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersand55 committed Nov 16, 2024
1 parent 22cdb84 commit 45d494f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/json/effects_on_condition/scenario_specific_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,5 +308,11 @@
"update_mapgen_id": "SCENARIO_SMOKE",
"method": "json",
"object": { "place_fields": [ { "field": "fd_smoke", "x": [ 3, 20 ], "y": [ 3, 20 ], "intensity": [ 1, 3 ], "repeat": 60 } ] }
},
{
"type": "effect_on_condition",
"id": "EOC_scenario_clear_weather",
"eoc_type": "SCENARIO_SPECIFIC",
"effect": [ { "math": [ "weather('humidity')", "=", "0" ] }, { "math": [ "weather('pressure')", "=", "1050" ] }, "next_weather" ]
}
]
15 changes: 15 additions & 0 deletions data/json/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -1353,5 +1353,20 @@
"requirement": "achievement_kill_10_monsters",
"map_extra": "mx_laststand",
"flags": [ "CITY_START", "LONE_START" ]
},
{
"type": "scenario",
"id": "a_moonlit_night_start",
"name": "A Moonlight Night",
"points": 0,
"description": "You've been holed up in your basement ever since the Cataclysm happened a little over a week ago, but now you've run out of food and have been forced to go on a supply run on this fateful moonlit night. You see zombies all around you, but thankfully, most of them can't seem to see as well in moonlight as you do.",
"start_name": "In the Middle of Town",
"start_of_cataclysm": { "hour": 0, "day": 61, "season": "spring", "year": 1 },
"start_of_game": { "hour": 23, "day": 72, "season": "spring", "year": 1 },
"allowed_locs": [ "sloc_town_in_the_open" ],
"eoc": [ "EOC_scenario_clear_weather" ],
"requirement": "achievement_survive_one_day",
"flags": [ "CITY_START", "LONE_START", "SUR_START" ],
"surround_groups": [ [ "GROUP_BLACK_ROAD", 70.0 ] ]
}
]
11 changes: 11 additions & 0 deletions data/json/start_locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -825,5 +825,16 @@
"name": "Intersection",
"terrain": [ { "om_terrain": "road_nesw_manhole", "om_terrain_match_type": "PREFIX" } ],
"flags": [ "ALLOW_OUTSIDE" ]
},
{
"type": "start_location",
"id": "sloc_town_in_the_open",
"name": "Town, in the open",
"terrain": [
{ "om_terrain": "road", "om_terrain_match_type": "TYPE" },
{ "om_terrain": "playground", "om_terrain_match_type": "TYPE" },
{ "om_terrain": "park", "om_terrain_match_type": "TYPE" }
],
"flags": [ "ALLOW_OUTSIDE" ]
}
]

0 comments on commit 45d494f

Please sign in to comment.