Skip to content

Commit 722c276

Browse files
GWToolbox Botclaude
andcommitted
feat(weather): drop sandstorm from arid, disable it by default
Sandstorm now only appears automatically in Desertous climates (Crystal Desert / Desolation / Istan); Arid regions (Kourna / Vabbi) get light rain only. Sandstorm is also disabled by default like Fog, since it obscures vision and is invasive to gameplay. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 6378d87 commit 722c276

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

GWToolboxdll/Modules/WeatherModule.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ namespace {
213213
v[5].cloud = {-400.f, 60.f, 0x38C8B080u, 10, 500.f, 700.f, 600.f}; // Sandstorm: tan, ground-level, fast, tight (Wind sets the heading)
214214
v[6].cloud = {0.f, 1000.f, 0x2ED0D8E0u, 3, 800.f, 0.f, 1500.f}; // Blizzard: faint white fog under the snow
215215
v[4].enabled = false; // Fog: quite invasive to gameplay (obscures vision), so off by default
216+
v[5].enabled = false; // Sandstorm: same - invasive to gameplay, so off by default
216217
return v;
217218
}
218219
std::vector<WeatherCondition> conditions = DefaultConditions();
@@ -226,7 +227,7 @@ namespace {
226227
return {
227228
p(Climate::Temperate, {{"Light Rain", 0.1f}, {"Heavy Rain", 0.05f}, {"Fog", 0.02f}}),
228229
p(Climate::Tropical, {{"Heavy Rain", 0.2f}, {"Light Rain", 0.1f}, {"Fog", 0.05f}}),
229-
p(Climate::Arid, {{"Light Rain", 0.1f}, {"Sandstorm", 0.05f}}),
230+
p(Climate::Arid, {{"Light Rain", 0.1f}}),
230231
p(Climate::Desertous, {{"Light Rain", 0.05f}, {"Sandstorm", 0.15f}}),
231232
p(Climate::Mountainous, {{"Snow", 0.4f}, {"Blizzard", 0.15f}}),
232233
p(Climate::Volcanic, {{"Ashfall", 0.4f}, {"Fog", 0.05f}}),

0 commit comments

Comments
 (0)