sumghai / Replimat

Distributed food replicator system for RimWorld
Other
11 stars 11 forks source link

Market value balance #86

Closed solidDoWant closed 7 months ago

solidDoWant commented 7 months ago

Describe your idea:

The market value of Replimat buildings is significantly higher than the cost of the components that make them. This means that as soon as any Replimat buildings are built, the game difficulty goes up significantly when using any storyteller that scales based on colony wealth (most of them). I understand if this was intended to help balance the mod a bit, but it'd be nice if there was a mod option to adjust the market value in game, instead of modifying the Buildings def.

image Spikes are when I built Replimat buildings

Why do you think your idea would be a good fit for Replimat?:

It'd allow players to more easily balance the mod to fit their playstyle

What alternatives/workarounds have you tried?

Modifying the Buildings_Replimat.xml def file

Declaration

I hereby verify that:

sumghai commented 7 months ago

Sorry, I have no plans to add additional mod settings to Replimat.

With regards to the market value, the value of a item or building is not merely the sum of cost of the components, but should also consider the precision and skilled labor required to design/assemble the equipment, (hypothetical) intellectual property licensing fees, as well as perceived value.

As endgame facilities, both Replimat and MedPod are already overpowered enough to warrant attracting very high level raids through its high market value.

solidDoWant commented 7 months ago

Alright. For what it's worth, a setting like this could be used to increase the value, not just decrease it. If the argument is that the value should be high to trigger raids more often/make raids more difficult, then some users might want to raise it either higher.

If anybody comes across this thread and wants to change the market values manually, here's how:

  1. Find the Buildings_Replimat.xml file. If the mods was installed via the Steam workshop, then it's probably under C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\1715402900\Common\Defs\ThingDefs_Buildings\Buildings_Replimat.xml.
  2. Open the file with a text file editor (such as Notepad).
  3. Search for the <MarketValue> tags (example here). There is one per building, so currently 6. Change the enclosed value for each tag to whatever market value you'd like. Personally, I found that 1% of the original value is about inline with all the other mods I'm using. The exact value depends on how you think the mod should be balanced.
  4. Repeat the above, but for the <MarketValueIgnoreHp> tags.
  5. Save the file, and reload the game.
  6. (Optional) If you're using the Vanilla Trading Expanded mod, then you will need to go into the settings for that mod and reset trade prices. Alternatively you modify the values for each building in your save file, under the priceModifiers tag.

Note that these steps will need to be performed every time the mod updates.

sumghai commented 7 months ago

I do not recommend directly editing mod files between mod updates.

If you wish to "rebalance" the market value for whatever reason, I recommend writing a patch mod using XPath Operations instead.