Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
6 years ago
Downloads
6.1K
Size
16KB
ADDatHost Valheim hosting
€1

Sell That!

This mod enables configuration for the traders (Haldor) available wares, as well as what he will buy.

See the Valheim wiki to get a list of item names which can be used.

All changes are done at run-time. Any changes to trader will go back to default if the mod is uninstalled, or the configurations disabled.

Features

  • Remove all existing items
  • Add any new item, with custom price and amount.
  • List of existing items, for easy modification
  • Order items how you want them.
  • Set items that Haldor will buy, at the value of your choice.

Manual Installation:

  1. Install the BepInExPack Valheim
  2. Download the latest zip
  3. Extract it in the <GameDirectory>\Bepinex\plugins\ folder.

Configuration

General

'sell_that.cfg'

[General]

## Kill switch for disabling all mod features.
# Setting type: Boolean
EnableMod = true

## When enabled, all existing items for sales gets removed before adding configured. 
## The easiest way to change any of the existing items, is by setting this to true, and adding all the defaults to the configuration in 'sell_that.selling.cfg'
# Setting type: Boolean
ClearAllExisting = true

[Debug]

## Enable debug logging.
# Setting type: Boolean
EnableDebug = false

## When Trader starts, his items will be logged in a file on disk next to the mod dll.
# Setting type: Boolean
DumpDefaultTraderItemsToFile = false

Trader Wares

'sell_that.selling.cfg'

Trader items are configured by creating a section as follows:

[<Some-Unique-Section-Name>]
ItemName = <ItemPrefabName>
Order = <int> //Tries to insert based in traders list based on this. If -1 (or other negative number), it will be added somewhere at the end.
Price = <int> //Price of the item
StackSize = <int> //Number of items to get pr buy
Enabled = <bool> //Can be disabled without deletion.

The file comes pre-defined with all existing trader wares.

Multiple entries of the same item can be done by simply choosing a different section name

Example

[Iron Scrap One]
ItemName = IronScrap
Order = 0
Price = 100
StackSize = 1
Enabled = true

[Iron Scrap Two]
ItemName = IronScrap
Order = 1
Price = 500
StackSize = 5
Enabled = true

Trader Buying

'sell_that.buying.cfg'

Trader will buy items that are configured by creating a section as follows:

[<Some-Unique-Section-Name>]
ItemName = <ItemPrefabName>
Value = <int>

Example

[Wood One]
ItemName = Stone
Price = 20

[Stone Selling]
ItemName = Wood
Price = 10

Changelog

  • v1.1.0
    • Haldor now has a buying list
  • v1.0.0
    • Initial release
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro