Configurable Trader Wealth
Customise multipliers for silver, stock, and stock count for orbital traders and caravans/bases.
This is a continuation from my [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2879667223]Wealthy Traders Forked[/url] mod. A maintained fork from the original version by TRP.
That essentially overwrote the traderKindDefs .xml files with ones with inflated values. The problem with this is that each .xml had to be checked and readjusted each major update and mods had to have a manual patch made for each one. Additionally if any mod added stock to a vanilla trader, it would then get overwritten. Due to this, the wealthy traders mod had to be at the bottom of the load order or it may get overwritten.
The other issues is that the scaling was often not to everyone's linking, as in too much or not enough stock.
This should theoretically be compatible and scale all of the traders in any mod and not require any specific load order considerations.
The in-game mod menu allows you to adjust separate multipliers for Silver, Variety, and 14 categories of stock type for both Orbital traders and Caravans/Bases. Mod settings changes do not require the game to be relaunched to take effect and should apply to any new trader.
Requires [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]Harmony[/url].
AI disclosure:
The coding I do in my professional life does not translate to C#, and this is my first Rimworld mod that I have built from scratch. From my experience AI code may "work" but is often very flawed and requires a lot of refinement.
As such I have used AI as a learning tool, especially to help understand Rimworlds/Unitys structure, as well as to assist in debugging and tips for restructuring for future readability. Apart from maybe the mods settings menu, which was doing my head in not drawing correctly, no AI generated code remains.