RimWorld
Ocen: 511
[KV] Supply and Demand
2
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Mod, 1.0, 1.1, 1.2, 1.3
Rozmiar pliku
Zamieszczono
Zaktualizowano
219.534 KB
13 września 2018 o 11:02
18 lipca 2021 o 19:52
Listy zmian: 10 ( zobacz )

Zasubskrybuj, aby pobrać
[KV] Supply and Demand

Opis
Capitalism? On my Rimworld? It's more likely than you think!
If you are like me, you have played colonies to their bitter end, and had a few amazing successes where your pawns have amassed riches to the envy of the Rim. But what do you do with all of that money? Traders, when they visit, can barely afford to purchase your legendary golden statues. And that is being generous.

Wouldn't it make sense that traders visiting a rich colony will bring more goods to trade because... the colony is rich?

That's what Suppy and Demand does. Rather than creating new TraderKindDefs and manually giving them oodles of silver, human leather, and charge rifles, this mod takes your total colony wealth, scales it by game difficulty, then takes the natural logarithm of that to produce a scalar with diminishing returns that it then multiplies the stock of your trader by. If that all sounds hard to follow, here's the tl;dr: the mod scales trader stock based on colony wealth.


Mathbrain Stuff
If all you want is scaling things, you can tune out now. For the rest of you, this is the explaination of what I am doing and how I'm doing it.

I've wanted to implement a system that allows visiting traders to bring more stuff if you have more stuff to trade with them. It makes sense from an economic standpoint: your colonists have greater demand because they're rich, and traders are willing to supply more because they can get more. I was dissatisfied with XML patches because they failed to account for my addition to downloading new things, and definitely can't be scaled dynamically as you collect new things.

Wealth was the most obvious variable to choose to scale by, but it needed to be first compressed to keep traders from having two million chickens in their inventory, and it needed to grow at a slower rate than wealth, getting progressively slower over time to model diminishing returns. The natural log has both of these properties. To preserve the significance of difficulty, wealth is scaled by the price loss factor that the difficulty setting provides.



This equation is the scaling formula used in this mod. Lambda represents total colony wealth. Phi represents the difficulty scalar. The minimum value this function can take on within the domain is 1.



Original mod done by Cookie Wookie. Cookie, if you want me to remove this mod i will.


Direct Download:
https://github.com/KiameV/rimworld-supplyanddemand/releases/download/1.3/SupplyAndDemand.zip
Popularne dyskusje Zobacz wszystkie (6)
2
16 lipca 2019 o 12:25
Problem with Trade Ships
Maistronom
2
3 listopada 2018 o 11:30
Ran into a bug upon opening options
Copper Boltwire
1
19 kwietnia 2020 o 8:45
Could not find class SupplyAndDemand.Patch_FloatMenuMakerMap_ChoicesAtFor+Settings
SineSwiper
Komentarzy: 38
Aksarian 26 kwietnia 2023 o 21:29 
Did someone test it with 1.4? Is it still working?
Liwet 18 listopada 2022 o 17:09 
Any reason to pick this mod over Trading Options which has the same scaling option?
Stinky Hellgooner™ McMullen 9 listopada 2022 o 12:15 
So long and thanks for all the mods, take care <3
Olaf-Opossum 29 października 2022 o 12:19 
Thank you for all the great mods.
Naturtok 22 października 2022 o 13:12 
Thanks KV for all the work with your mods! I hope your life is going well outside of the game!


In the meantime Trader Options gives *somewhat* similar functionality, insofar as you can boost up the trader wealth in relation to colony wealth. Not sure how well it does it compared to Supply and Demand, but at the very least you can manually boost up trader wealth in the late game if it's not scaling high enough.

https://steamcommunity.com/sharedfiles/filedetails/?id=2876541977
TwotoolusFLY_LSh.st 21 października 2022 o 22:59 
thank you for your service :hardhat::highlvl:
Scrungo 19 października 2022 o 14:31 
@Kiame_Vivacity thank you, enjoy your life
Kiame Vivacity  [autor] 7 października 2022 o 13:14 
After 5 years of modding for this game I am stepping aside. Life has me busy and I will not have time to update my mods. If anyone picks this up let me know and I'll post a message in the description pointing people to the 1.4 version.
LegitGamer1017 14 sierpnia 2022 o 3:59 
So this increases the amount of goods and available silver for Walking Traders / Orbital Traders based on the formula?

Is this compatible with mods such as Traders Have Money by Neceros? (afaik this mod only increases Walking Trader / Orbital Trader available silver)

I like the concept of traders bringing in more stuff to sell. Are there separate sliders for Goods Brought and Silver Brought?
Melyn 20 lipca 2022 o 2:52 
i think yeah you have to, because at 100 percent prices are same as vanilla, i'd say 150 percent is not too op