DrEngine Posted January 25, 2021 Report Posted January 25, 2021 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.
Stroam Posted February 5, 2021 Report Posted February 5, 2021 Traders change their inventory over time.
DrEngine Posted February 5, 2021 Author Report Posted February 5, 2021 1 hour ago, Stroam said: Traders change their inventory over time. Yes, of course. But is it totally random or it is tied to season or whatever else? Probably nobody knows...
Stroam Posted February 5, 2021 Report Posted February 5, 2021 It's not random. It's on a timer, just can't remember how many days and the inventory change is based off of what type of merchant it is.
DrEngine Posted February 5, 2021 Author Report Posted February 5, 2021 I think we don't understand each other. I don't ask for traders inventory change time interval. It's about 6 days or so. Thats fine. I do ask how is generated inventory content so how the game select WHAT trader offers to buy/sell.
Zaldaryon Posted February 7, 2021 Report Posted February 7, 2021 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 2
DrEngine Posted February 7, 2021 Author Report Posted February 7, 2021 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 !!!!
Recommended Posts