Jump to content

Traders offer fully random ?


DrEngine

Recommended Posts

Is traders offer ("you can buy") affected by season???  I have encountered that sometime they buy more FLAX and SPELT than RYE/RICE. Sometimes they buy more RYE. Is it fully random or is it tied to seasons somehow?

I have a huge traders route of 21 Survival goods/Treasure traders. Carefully "constructed" by suitable selection of translocator routes. I start with inventory full of flours of every type. I bake breads by every trader according to his offer. I though that big count of traders with statistically regular distribution of bread types will lead to average use of every type of bread. However I end my route with surplus of some type of flour and deficit of another one (not able to fulfill trader offer -> "lost" of money). This could be if traders offers are not random only.

Link to comment
Share on other sites

  • 2 weeks later...

I've checked the code, and the items on the trader are not season-dependent. It's really random, besides maybe some function to sell more of items that were out of stock when the change interval is over.

If you like code diving:

https://github.com/anegostudios/vssurvivalmod/blob/ae1a6474b0f0cb1b88d411d3e28106ab3a5c6527/Systems/Trading/EntityTrader.cs#L242

  • Like 2
Link to comment
Share on other sites

1 hour ago, Zaldaryon said:

I've checked the code, and the items on the trader are not season-dependent. It's really random, besides maybe some function to sell more of items that were out of stock when the change interval is over.

If you like code diving:

https://github.com/anegostudios/vssurvivalmod/blob/ae1a6474b0f0cb1b88d411d3e28106ab3a5c6527/Systems/Trading/EntityTrader.cs#L242

Thanks !!!!

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.