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

New scenario: Moonlit Night #77909

Merged
merged 4 commits into from
Nov 21, 2024
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
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" ]
ampersand55 marked this conversation as resolved.
Show resolved Hide resolved
}
]
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_nesw_manhole", "om_terrain_match_type": "PREFIX" },
{ "om_terrain": "playground", "om_terrain_match_type": "TYPE" },
{ "om_terrain": "park", "om_terrain_match_type": "TYPE" }
],
"flags": [ "ALLOW_OUTSIDE" ]
}
]
Loading