You are viewing a potentially older version of this package. View all versions.
OdinPlus-TravelingHaldor-1.0.0 icon

TravelingHaldor

Bring a dynamic and immersive trading experience to Valheim with Traveling Haldor

Date uploaded a year ago
Version 1.0.0
Download link OdinPlus-TravelingHaldor-1.0.0.zip
Downloads 107
Dependency string OdinPlus-TravelingHaldor-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

Traveling Haldor

Welcome to the Traveling Haldor Mod! This mod brings a dynamic and immersive trading experience to your Valheim adventure by introducing a roaming trader, Haldor, who appears in different biomes and regions with customizable behavior and inventory.

Features

  • Dynamic Trader Spawning

    • Haldor spawns at random intervals and locations within specified biomes and regions.
    • Customize the spawn distance from the player.
  • Customizable Trader Behavior

    • Set custom greetings, goodbyes, and trade dialogues to personalize Haldor's interactions.
    • Configurable event interval, chance, and duration for Haldor's appearances.
  • Biome and Region Specific Spawning

    • Control where Haldor can spawn using combined biome and region settings.
    • Ensure Haldor only appears in specified biomes or regions like Meadows, Swamp, BlackForest, etc.
  • Global Key Requirement for Events

    • Add a global key requirement to trigger the trader event, ensuring Haldor only appears after specific milestones are met.
    • Default Value: defeated_gdking
    • Acceptable Values:
      • defeated_bonemass
      • defeated_gdking
      • defeated_goblinking
      • defeated_dragon
      • defeated_eikthyr
      • defeated_queen
      • defeated_fader
      • defeated_serpent
      • KilledTroll
      • killed_surtling
      • KilledBat
  • Day/Night Specific Spawning

    • Control when Haldor can spawn using day/night settings.
    • Acceptable Values: Always, Day, Night
  • Trader Inventory Customization

    • Define the items Haldor sells, including amount, cost, and required global keys.
    • Update trader inventory and dialogues dynamically.

Configuration Options

  • Event Settings

    • Event Interval (Days): How often (in in-game days) Traveling Haldor appears.
    • Event Chance: Chance (0-1) of the event occurring when the interval is reached.
    • Event Duration (Seconds): How long Haldor stays in one place.
    • Global Key Requirement: Global key required to trigger the event. Default value is defeated_gdking. Acceptable values: defeated_bonemass, defeated_gdking, defeated_goblinking, defeated_dragon, defeated_eikthyr, defeated_queen, defeated_fader, defeated_serpent, KilledTroll, killed_surtling, KilledBat.
    • Specific Spawn Time: Specify when Haldor can spawn. Acceptable values: Always, Day, Night.
  • Trader Settings

    • TradeItems: List of items Haldor sells. Format: PrefabName,Amount,Cost,RequiredGlobalKey.
  • Custom Dialogues

    • Greetings: Custom greetings for the trader. Separate multiple greetings with ;.
    • Goodbyes: Custom goodbyes for the trader. Separate multiple goodbyes with ;.
    • TradeDialogues: Custom trade dialogues for the trader. Separate multiple dialogues with ;.
  • Location Settings

    • Enable Location Variability: Enable or disable trader location variability.
    • Spawn Regions: Possible spawn regions for the trader. Separate multiple regions with ;.
    • Spawn Biome: Biome where Traveling Haldor can spawn. Acceptable values: None, Meadows, Swamp, Mountain, BlackForest, Plains, AshLands, DeepNorth, Ocean, Mistlands, All.
  • Spawn Distance

    • Spawn Distance (Meters): Distance from the player at which the trader spawns.

Installation

  1. Download the Traveling Haldor Mod from the provided link.
  2. Extract the contents to your Valheim BepInEx\plugins folder.
  3. Customize the configuration file located in BepInEx\config\org.bepinex.plugins.travelinghaldor.cfg to suit your preferences.
  4. Enjoy the dynamic and immersive trading experience with Traveling Haldor!

For Questions or Comments find Gravebear in the Odin Plus Team on Discord:

Visit my buymeacoffee for a free Admin craft Shark Hat and Tuna Sword!

Special Thanks to Blaxxun for all her help with recipes and managers.

CHANGELOG

#Version 1.1.7 - Brought to you by Gravebear

  • Fixed issue that may cause duplicate map pins

#Version 1.1.6 - Brought to you by Gravebear

  • Updated Refrences

#Version 1.1.5 - Brought to you by Gravebear

  • Updated Refrences

#Version 1.1.4 - Brought to you by Gravebear

  • Updated Refrences

#Version 1.1.3 - Brought to you by Gravebear

  • Updated Refrences

#Version 1.1.2 - Brought to you by Gravebear

  • Updated Refrences

#Version 1.1.1 - Brought to you by Gravebear

  • New Config Options for "Delay Spawning", "Player Global Keys" and "Max Haldors"
  • Duplicate Detection: Checks for nearby instances (within 5 units) and destroys duplicates
  • Persistent Spawn Time: Stored in ZDO using GetFloat/SetFloat for compatibility
  • Robust Cleanup System: Works on both client and server scenarios
  • Multi-layer Despawn System: Force flag + timer + cleanup manager
  • RPC Communication: Client-server coordination for cleanup

#Version 1.1.0 - Brought to you by Gravebear

  • Fixed double znet view errors

#Version 1.0.9 - Brought to you by Gravebear

  • Fixed material shader of traveling haldor

#Version 1.0.8 - Brought to you by Gravebear

  • Updated References for latest version of Valheim.

#Version 1.0.7 - Brought to you by Rusty

  • Performance improvements
  • Removed Max Haldor spawn setting.

#Version 1.0.6 - Brought to you by Gravebear and Rusty

  • Fixed config sync for global spawn setting on Servers.

#Version 1.0.5 - Brought to you by Gravebear and Rusty

  • Added config option for "Traveling Haldor" icon - Default is false, set to true for icons.
  • Updated material shaders for Traveling Haldor.
  • Fixed auto-pickup on Traveling Haldor Token.
  • Changed Traveling Haldor Token icon to share trader icon.

#Version 1.0.4 - Brought to you by Gravebear and Rusty

  • Code optimized and corrected by Rusty.
  • Updated Configuration Options.
  • Added option to prevent despawn of TravelingHaldor if trapped by player builds.
  • Added "Traveling Haldor Token" that can be used to spawn a Traveling Haldor.
  • Fixed HoverText placement.
  • Fixed interaction text.

#Version 1.0.3 -

  • Added command to remove any spawned "Traveling Haldor" Clear_Traveling_Haldor
  • Added config option for Max Amount of Traveling Haldors that can be spawned within a world.
  • Added additional checks for duplicate spawns when spawning Traveling Haldor.

#Version 1.0.2 -

  • Added support for EL quests.

#Version 1.0.1 -

  • Updated config settings and mod page

#Version 1.0.0 -

  • Release the Kraken!