Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
5 changes: 5 additions & 0 deletions data/mods/Xedra_Evolved/eocs/scenario_specific.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,10 @@
{ "math": [ "u_werewolf_give_xp_value = 1" ] },
{ "math": [ "u_werewolf_give_xp_updater_value = 1" ] }
]
},
{
"type": "effect_on_condition",
"id": "scenario_xe_permanent_ominous_fog",
"effect": [ { "math": [ "xe_weather_ominous_fog_scenario = 1" ] } ]
}
]
50 changes: 50 additions & 0 deletions data/mods/Xedra_Evolved/scenario.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,55 @@
"allowed_locs": [ "sloc_hermit_shack", "sloc_cabin", "sloc_forest", "sloc_field" ],
"professions": [ "xedra_bloodthorne_druid_profession" ],
"flags": [ "LONE_START" ]
},
{
"type": "scenario",
"id": "xe_ominous_for_permanent",
"name": "Challenge - The Fog",
"points": 0,
"description": "The Cataclysm was bad enough, but ever since then the weather has been…wrong. An endless fog, interrupted only by the occasional remnant portal storm, shrouding the world in an obscuring blanket. You managed to live through the Cataclysm, somehow, but you're not sure how you'll survive this.",
"start_name": "Somewhere",
"allowed_locs": [
"sloc_hermit_shack",
"sloc_cabin",
"sloc_shelter_safe",
"sloc_farm_survivalist",
"sloc_shelter_vandal",
"sloc_house",
"sloc_house_boarded",
"sloc_school",
"sloc_grocery_store",
"sloc_garage",
"sloc_furniture_store",
"sloc_library",
"sloc_bookstore",
"sloc_zoo_cafeteria",
"sloc_golfcourse_mid_course",
"sloc_golfcourse_clubhouse",
"sloc_church",
"sloc_cemetery",
"sloc_fire_station",
"sloc_police",
"sloc_town_hall",
"sloc_pharm",
"sloc_hardware",
"sloc_dojo",
"sloc_gym",
"sloc_clothes",
"sloc_restaurant",
"sloc_bar",
"sloc_electronics",
"sloc_arcade",
"sloc_animalshelter",
"sloc_laundromat",
"sloc_stripclub",
"sloc_sexshop",
"sloc_candyshop",
"sloc_bikeshop",
"sloc_petstore"
],
"requirement": "achievement_survive_28_days",
"eoc": [ "scenario_xe_permanent_ominous_fog" ],
"flags": [ "LONE_START" ]
}
]
9 changes: 8 additions & 1 deletion data/mods/Xedra_Evolved/weather_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@
"type": "effect_on_condition",
"id": "EOC_XE_OMINOUS_FOG_WEATHER",
"recurrence": [ "14 days", "28 days" ],
"condition": { "and": [ { "current_dimension": "default" }, { "x_in_y_chance": { "x": 1, "y": 5 } } ] },
"condition": {
"and": [
{ "math": [ "xe_weather_ominous_fog_scenario != 1" ] },
{ "current_dimension": "default" },
{ "x_in_y_chance": { "x": 1, "y": 5 } }
]
},
"deactivate_condition": { "math": [ "xe_weather_ominous_fog_scenario == 1" ] },
"global": true,
"effect": { "run_eocs": "EOC_XE_CAUSE_OMINOUS_FOG_WEATHER_WARNING" }
},
Expand Down
4 changes: 3 additions & 1 deletion data/mods/Xedra_Evolved/weather_type.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@
"rains": false,
"sound_category": "silent",
"priority": 121,
"condition": { "math": [ "xe_weather_ominous_fog_active == 1" ] },
"condition": {
"or": [ { "math": [ "xe_weather_ominous_fog_scenario == 1" ] }, { "math": [ "xe_weather_ominous_fog_active == 1" ] } ]
},
"passive_effects": [
{
"effect_id": "effect_xe_weather_ominous_fog_monster_buff",
Expand Down
Loading