RimWorld

RimWorld

Vanilla Outposts Expanded
How to make resources from mining outposts dependent on mining skill and not a flat amount
Hi all!

So i was doing some looking around before this mod gets balance updated, and it bothered me slightly that the mining outposts were only 1 amount, and not varied by colonist skill, so i messed around with config files, and here is how to update it:

first you have to go to C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2688941031\Defs\WorldObjectDefs then open the file outpost.xml in your editor of choice (I used notepad++), i would recommend saving a copy just in case at this step.

so what you should see is something like this:

<li>
<BaseAmount>750</BaseAmount>
<Thing>Uranium</Thing>
<MinSkills>
<Mining>25</Mining>
</MinSkills>
</li>


this is where you can modify the base amount etc.

but how to make it based on skill level is like this:

<li>
<Thing>Uranium</Thing>
<MinSkills>
<Mining>25</Mining>
</MinSkills>
<AmountsPerSkills>
<Mining>5</Mining>
</AmountsPerSkills>
</li>

when doing this you may need to add a couple lines to make it copy/paste correctly but just delete it afterwards, no big deal.

Then just start/restart your game and it should work,

you can update any of the minerals like this though to be fair ive only messed with steel and works, so your mileage may vary.

I also imagine you can have a set amount for amount and also mining skill be related, but i have not tried it.