Description:
Due to a math error in calculating market value in TradeUtiltiy.GetPricePlayerSell, players can get multiple times goodwill with drop pod gifting than caravan gifting.
More information:
The bug has been reported by Owlchemist 4 months ago in the official discord server at https://discord.com/channels/684960023020961812/684960023020961815/900900793752899664
Simply post it here to make sure it's not left out
Due to a math error in calculating market value in TradeUtiltiy.GetPricePlayerSell, players can get multiple times goodwill with drop pod gifting than caravan gifting.
More information:
The bug has been reported by Owlchemist 4 months ago in the official discord server at https://discord.com/channels/684960023020961812/684960023020961815/900900793752899664
Simply post it here to make sure it's not left out
Quote
Owlchemist — 2021/10/22
It's a math error at TradeUtiltiy.GetPricePlayerSell
Specifically this line:
num *= 1f + priceGain_PlayerNegotiator + priceGain_DrugBonus + priceGain_FactionBase + priceGain_AnimalProduceBonus;
You're pretty much guaranteed to always get a 4x bonus there because 3 of those are always just 1 (hard coded parameters being passed), and it's just adding 'em up.
...at least that explains most of the unusual gift value. It still inflates farther down the line (in the post processing curve I think) about twice as much vs in-person gifting to a wandering caravan.
Cynapse — 2021/10/22
That's a good catch, thanks
Seems like some of those should be multiplied together instead of added