feat(aswid): running water covers rivers and lakes; sway on boats
Open water now means any water: swimming in it, or flying over a metre or more of it, sea, river or lake. Standing on anything solid stays safe, so docks, bridges and wading do not count. On a boat there is still no burn or drain, but the camera keeps swaying. 'Ocean Only' restores the sea-only behaviour, and the settings say Open Water instead of Open Sea. Also rewrites the README's per-boss Aswid section from the code: it listed stats, unlocks and an aura that no longer exist.
This commit is contained in:
parent
a00db24ebd
commit
c76341af0d
12 changed files with 85 additions and 57 deletions
|
|
@ -58,10 +58,11 @@ namespace RacesOfValheim
|
|||
|
||||
// ─── Running Water ─────────────────────────────────────────────────────
|
||||
// Lore says a vampire cannot cross running water unaided (Dagaz's report). Swimming costs
|
||||
// more, and the open sea burns, swimming or flying; standing on a boat is being carried,
|
||||
// which the lore allows. The camera sway is a per-player comfort choice and stays local
|
||||
// more, and open water - sea, river or lake - burns, swimming or flying over it; a boat
|
||||
// carries you, which the lore allows, though the camera still sways on board. The camera sway is a per-player comfort choice and stays local
|
||||
// (ConfigSync's "camera sway" key part).
|
||||
public static ConfigEntry<bool> RunningWaterEnabled;
|
||||
public static ConfigEntry<bool> WaterOceanOnly;
|
||||
public static ConfigEntry<float> SwimStaminaMultiplier;
|
||||
public static ConfigEntry<float> SeaHealthLossPerSecond;
|
||||
public static ConfigEntry<float> SeaStaminaDrainPerSecond;
|
||||
|
|
@ -222,17 +223,19 @@ namespace RacesOfValheim
|
|||
|
||||
const string water = "Aswid - Running Water";
|
||||
RunningWaterEnabled = config.Bind(water, "Running Water", true,
|
||||
new ConfigDescription("Swimming costs more stamina, and the open sea (the Ocean biome, over deep water) hurts you while you swim or fly over it. Standing on or steering a boat protects you.", null));
|
||||
new ConfigDescription("Swimming costs more stamina, and open water - the sea, rivers, lakes - hurts you while you swim in it or fly over it. Standing on, steering or sitting in a boat protects you. Wading, docks and bridges are safe.", null));
|
||||
WaterOceanOnly = config.Bind(water, "Ocean Only", false,
|
||||
new ConfigDescription("Limits the burn, the drain and the camera sway to the Ocean biome, leaving rivers and lakes alone. The swim stamina cost applies everywhere either way.", null));
|
||||
SwimStaminaMultiplier = config.Bind(water, "Swim Stamina Multiplier", 2f,
|
||||
new ConfigDescription("Multiplies the stamina swimming costs, anywhere. At 0 stamina the game's own drowning starts. Around 5 and up, swimming any distance is no longer possible.", new AcceptableValueRange<float>(1f, 10f)));
|
||||
SeaHealthLossPerSecond = config.Bind(water, "Open Sea Health Loss Per Second", 1f,
|
||||
new ConfigDescription("Health the open sea burns away each second.", new AcceptableValueRange<float>(0f, 20f)));
|
||||
SeaStaminaDrainPerSecond = config.Bind(water, "Open Sea Stamina Drain Per Second", 2f,
|
||||
new ConfigDescription("Stamina the open sea drains each second, on top of what swimming or flying costs.", new AcceptableValueRange<float>(0f, 30f)));
|
||||
SeaHealthFloor = config.Bind(water, "Open Sea Health Floor", 0.1f,
|
||||
new ConfigDescription("The sea's burn stops at this fraction of your max health. Drowning, once your stamina runs out, has no floor.", new AcceptableValueRange<float>(0f, 1f)));
|
||||
SeaHealthLossPerSecond = config.Bind(water, "Open Water Health Loss Per Second", 1f,
|
||||
new ConfigDescription("Health open water burns away each second.", new AcceptableValueRange<float>(0f, 20f)));
|
||||
SeaStaminaDrainPerSecond = config.Bind(water, "Open Water Stamina Drain Per Second", 2f,
|
||||
new ConfigDescription("Stamina open water drains each second, on top of what swimming or flying costs.", new AcceptableValueRange<float>(0f, 30f)));
|
||||
SeaHealthFloor = config.Bind(water, "Open Water Health Floor", 0.1f,
|
||||
new ConfigDescription("The water's burn stops at this fraction of your max health. Drowning, once your stamina runs out, has no floor.", new AcceptableValueRange<float>(0f, 1f)));
|
||||
SeaCameraSway = config.Bind(water, "Camera Sway", true,
|
||||
new ConfigDescription("The camera rolls gently while the open sea is hurting you, as if seasick. Local: each player chooses for themselves.", null));
|
||||
new ConfigDescription("The camera rolls gently while you are out on the water, on a boat too, as if seasick. Local: each player chooses for themselves.", null));
|
||||
SeaCameraSwayStrength = config.Bind(water, "Camera Sway Strength", 1f,
|
||||
new ConfigDescription("How far the camera rolls. 1 is about 4 degrees. Local.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue