You are viewing a potentially older version of this package. View all versions.
shudnal-ProtectiveWards-1.2.0 icon

ProtectiveWards

Configurable protection and modifiers in active ward area. Creatures, rain, raids, plants, fall damage, ship, resources drains, smelting speed and active offerings.

Date uploaded a month ago
Version 1.2.0
Download link shudnal-ProtectiveWards-1.2.0.zip
Downloads 929
Dependency string shudnal-ProtectiveWards-1.2.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Protective Wards

logo

Configurable protection and modifiers in active ward area. Creatures, rain, raids, plants, fall damage, ship, resources drains, smelting speed and active offerings. Protect what you values, your time.

Description

  • Need to protect your base from various dangers?
  • Want to peacefully sit in front of a fire without being interrupted by raids?
  • Tired of your ships being constantly damaged in docks?
  • Worry about weather damage?
  • Lost all your skills to fall damage while constructing?
  • Don't like your pets being killed by raids?
  • Want to feel more confident while you are within the walls of your fortress?
  • Ever thought of your stations to be more effective?
  • Exhausted of your hammer constant repairing?
  • Concerning about your food and fuel running out too fast?
  • Burnt out on keeping your base repaired?
  • Want to have fun with offering some items?
  • Fed of back and forth traveling to the Sacrificial Stones to change your forsaken power?
  • Can't find Haldor or Hildir?
  • Or maybe treasures just burn in your pockets and merchants are far off?

Make Ward your guard. Inside of an active and warm field of protective ward some miracles happen.

Features

Everything mentioned below works only inside of an active ward range.

And yes the configuration is locked if you play on a server.

Customization

Customization works for distinct wards. To change settings of a ward you should be its creator, disable the ward and then press LeftShift + E to apply current mod settings to that ward. Toggling a ward doesn't change its settings.

You can customize:

  • range (markers, bubble and demister range is changes accordingly)
  • emission color (that yellow light on default ward model and also flare and light)
  • circle area marker style (colors, size, amount, speed)
  • ward bubble (color and other shader properties, experiment with it to get best effects)

You can also disable the flash and always see the area marker (shared for all wards).

Multipliers

  • control how much damage will be taken by
    • players
    • enemies
    • tamed
    • structures (and ships)
    • falling
  • speed up your turret fire rate
  • control the smelting speed of stations
    • smelting (kiln, furnace, windmill and so on)
    • cooking (that also means faster burn)
    • fermenting
    • sap collecting
  • control your expences
    • food drain with time
    • stamina drain on actions
    • skills drain on death
    • fireplace fuel drain (including bathtub, torches and braziers)
    • hammer durability drain (for builders with love)

Full protecion

  • protect boars and hens from enemies and fire (for your damage tamed modifier works)
  • protect structures from rain damage
  • protect your ship from water damage, or any damage, your choice
  • protect your plants from any damage (to harvest barley and flax just switch off the ward)
  • protect your fireplaces from stepping on them
  • protect yourself from the raids (if you are sitting next to an active fire on the all kind of chair but not the floor)
  • protect players from traps

Passive repair

You can activate the ward to start passive repair process of all pieces in all connected areas. Ward will repair one piece every 10 seconds until all pieces are healthy. Then the process will stop.

Passive door auto closing

All doors will be closed after specified time of the last door interaction

Active offerings

Offer the certain item to ward to have some handy effect.

  • surtling core to instantly repair everything
  • black core to augment all structures (double the hp, ships included)
  • food to start 3 min passive healing in all connected areas. Players and tamed. Better food means better heal. Helpful if you are being raided
  • mead to share the effect to all players in connected areas
  • thunderstone to call the Thor's wrath upon your enemies
  • trophy to instantly kill all enemies of that speccy
  • Ymir flesh to instantly grow every healthy plant
  • eitr x5 to instantly grow every plant regardless the requirements (empty space or biome)
  • dragon egg to activate Moder power on all players in all connected areas
  • several items to call a taxi to the different locations

Detailed information about what item causes what effect appears on ward hover after certain amount of time to not spam regular vision.

Taxi

You can offer:

  • boss trophy to travel to Sacrificial Stones (initial spawn point) (trophy will NOT be consumed)
  • coins to travel to the Haldor. x2000 if you didn't find him yet and x500 otherwise (coins will be consumed)
  • any of Hildir's chest to travel to the Hildir (chest will NOT be consumed)
  • Fuling totem to travel to Hildir (totem will be consumed)

That will call a Valkyrie to move you to your desired destination.

After landing you will have 2 minutes to do what you wanna do.

Then you will be moved back to initial point.

If you are

  • sleeping
  • in dungeon
  • sitting
  • attached to a ship
  • riding
  • teleporting
  • using your hammer

then the taxi will wait until you stop

You can end the flight early by pressing your binded Alternative + Use buttons (L.Shift + E by default).

You will be granted Slow Fall until you touched the ground.

Restrictions

  • you can't be encumbered
  • you should be teleportable
  • target point should be far than 300 away
  • you can't start next travel if the taxi awaits you to return to start point

Localization

Some messages and captions uses well fit vanilla lines. The rest is localized.

To add your own localization create a file with the name ProtectiveWards.LanguageName.yml or ProtectiveWards.LanguageName.json anywhere inside of the Bepinex folder. For example, to add a French translation you could create a ProtectiveWards.French.yml file inside of the config folder and add French translations there.

Localization file will be loaded on the next game launch or on the next language change.

You can send me a file with your localization at GitHub or Nexus so I can add it to mod's bundle.

Language list.

English localization example is located in English.json file next to plugin dll.

Installation (manual)

extract ProtectiveWards.dll file to your BepInEx\Plugins\ folder

Compatibility

  • The mod should be compatible with anything I know as its patches designed to be noninvasive. But other mods may break the mod's functionality.

Configurating

The best way to handle configs is Configuration Manager.

Or Official BepInEx Configuration Manager.

Mirrors

Nexus

CHANGELOG

1.2.3

  • bog witch

1.2.2

  • taxi error fixed

1.2.1

  • hover text spamming error fixed

1.2.0

  • apply ward settings by pressing LeftShift + E on disabled ward (if you are ward creator). Toggling ward doesn't change its settings.
  • change ward emission color (ward specific)
  • change various area marker values (ward specific)
  • code refinements and refactoring (more room for errors btw)
  • localization support for custom captions
  • more detailed description of item offerings will appear after certain amount of time spent looking at ward

1.1.19

  • added fader trophy to trophy list to travel to sacrificial stones
  • ward range can be set to distinct ward and persist
  • fixed water surface rendering inside ward bubble effect
  • more bubble effect variables exposed to configure visuals further

1.1.18

  • fixed taxi offering for multiplayer

1.1.17

  • added offering item hotkey in hover menu

1.1.16

  • PTB 0.218.17 compatibility
  • consumable item and coins amount to travel to Traders made configurable
  • hover text will not be visible if player has no ward access
  • offerings and repair effects will not be available if player has no ward access
  • ServerSync updated to 1.17

1.1.14

  • Ashlands

1.1.13

  • patch 0.217.46

1.1.12

  • option to show the bubble like trader's one
  • option to enable demister in ward range

1.1.10

  • patch 0.217.22, server sync fix

1.1.9

  • patch 0.217.22

1.1.8

  • option to grant permittance to everyone

1.1.7

  • taxi flight won't start until you are encumbered or not teleportable
  • egg offering restricted to Moder kill

1.1.6

  • teleportable chest check fix

1.1.5

  • taxi offerings

1.1.4

  • option to enable spawn in ward area

1.1.3

  • bosses excluded from multipliers effects
  • dragon egg offering
  • hideable offering list

1.1.2

  • auto closing doors
  • instant plant growth offerings

1.1.1

  • passive effect fix
  • options enabled by default

1.1.0

  • activatable passive repair
  • active offering effects
  • more multipliers
  • more protections

1.0.4

  • fixed fireplace protection bug

1.0.3

  • boars and hens also protected from fire and smoke

1.0.2

  • fixed implementation of raid protection to support both PTR and stable game version

1.0.1

  • fixed exception in log when interacting with a ward

1.0.0

  • Initial release