Enhanced Trade

If you liked this item, please rate it up on Steam Workshop page.

Author: Droseran

Last revision: 2 Apr, 2025 at 18:35 UTC (1)

File size: 11.53 KB

On Steam Workshop

Description:

Elves bring tree fruits and grown wood objects to trade, so obviously they are fine with utilizing plants as long as the plants are not harmed in the process. So why don’t they bring berries and ground fruits to trade? Well, with this mod, now they do! Once the elven diplomats arrive, you can also let them know what you would pay very highly for if they should happen to bring it next year. When combined with Advanced Agriculture or Remove Plant Alignment, elves from savage areas can now bring sliver barb, sun berry, and vine whip in trade.

Dwarven traders now pick fruits and plants they find on their journey and offer those for trade as well.

Human merchants are now always willing to listen to what their customers want, if the price is right. (Previously, human caravans did not always have a merchant agreement. This should fix that.)

!!WARNING!!: Due to the default fortress seed cap, seeds in your fortress stockpiles and farm plots may be deleted when merchants arrive with seeds. This is not due to this mod, but the mechanics of vanilla Dwarf Fortress. This is how it works:

Each species has a specific seed cap in vanilla of 200. Once this limit is reached, new seeds of that species cannot be produced by brewing, eating, or milling. However, you will still keep any seeds you have of that species, and you can go over this limit if you buy more of these seeds from merchants.

Your fortress has a total seed (all species) of 3,000. When this cap is reached, seeds are deleted starting from the oldest first, regardless of species or storage location. This includes seeds planted in farm plots. Seeds in merchant caravans also count towards this fortress limit as soon as they enter the map. If you are at or near the fortress cap of 3,000 seeds, and a merchant brings 300 seeds to offer, 300 of your already collected seeds will disappear, because your seeds are older than the seeds the merchant is bringing.

Some math: There are 157 species with seeds in vanilla Dwarf Fortress. The species seed cap is 200. The fortress seed cap is 3,000. You can safely farm only 15 (3,000/200) species of plants with the default settings. Furthermore, there is no safety cap for merchants, so if a merchant brings 200 seeds (of any type), you could potentially lose all of your seeds for one type of plant (including ones planted in farm plots).

To fix this, navigate to your Dwarf Fortress install folder (typically C:Program Files (x86)SteamsteamappscommonDwarf Fortress), go into the prefs folder, and find these lines:

[SPECIFIC_SEED_CAP:200]
[FORTRESS_SEED_CAP:3000]

Change the specific seed cap to something lower. The more varieties of plants you farm, the lower you can safely keep this and still produce enough food.

Change the fortress seed cap to something higher. I recommend [number of types of seeds in your game (vanilla is 157)] times [your chosen specific seed cap] + [buffer for merchant caravans (I’m not sure how many they can bring maximum)].

The settings I use are:
[SPECIFIC_SEED_CAP:30]
[FORTRESS_SEED_CAP:7000]

This effectively makes the fortress seed cap ignored by the game, allowing specific seed cap to be the determination of the maximum number of seeds you can store. I don’t want to worry about losing the ability to grow entire species because of merchants showing up with extra seeds.

This isn’t something that can be altered by a mod, or I would upload one to fix it.

Check out my other Dwarf Fortress mods: My Dwarf Fortress Workshop

If you enjoy my mods, consider sending me a donation on Ko-fi[ko-fi.com].
My mods will always be freely available, but donations allow me to have time and energy to work on them and provide support.

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.