Bay 12 Games Forum

Dwarf Fortress => DF Dwarf Mode Discussion => Topic started by: Hortun on December 22, 2022, 05:54:10 pm

Title: Steam: Trading bins in your favor and rounding mechanics
Post by: Hortun on December 22, 2022, 05:54:10 pm
Background

Hi everyone. I haven't played DF since ~2010 ish and have been playing the new Steam edition.

I noticed a fairly easy way to significantly improve trades involving bins of goods. I searched the forum and wiki, and maybe I used bad keywords or overlooked it, but I didn't see this documented anywhere, so I figured I'd mention it here. Please let me know if you have more information.

Also:




Observations / Steps to reproduce


Note in the example screenshots above, we were able to purchase the bin in two trades; one trade at 150 ☼, then one for 50 ☼. Compared to selecting the whole bin, we save 800 ☼, or 80%.



Notes

I tested this in DF steam edition, v50.03. If folks want my save file, lmk and I can upload it; I manually saved before and after trading.

I'm speculating that:



Also note that trader skills increase per trade by 50 regardless of the trade size. Depending on your patience, many trades of small quantities could help level up your trader's skills and yield better trade values. (not tested, going off this wiki section: https://dwarffortresswiki.org/index.php/Trading#Miscellaneous_trading_advice)

Please let me know if you have additional info regarding rounding mechanics, or if I should add this to any particular place in the wiki! Or likewise, if I should report this as a bug or exploit.
Title: Re: Steam: Trading bins in your favor and rounding mechanics
Post by: Afghani84 on December 23, 2022, 03:28:46 pm
AFAIK this is not a bug but simply due to rounding and the skill of your trader. I usually start forts with one dwarf as a novice appraiser and there you have the same issues with created wealth. A value like 200☼ for e.g. "Other Objects" is shown as 1.000☼ simply due to rounding.
Title: Re: Steam: Trading bins in your favor and rounding mechanics
Post by: Felius on December 24, 2022, 07:37:01 pm
I'm fairly sure that the traders will refuse to trade if they aren't actually making a profit without the rounding. Or rather, a few early caravans that listed the trader making the profit had them refuse to complete the trade with the justification that they had to make at least some profit.