[Mod Request] Recalculation of item wealth in raids

Started by total_trip, February 17, 2017, 09:57:05 PM

Previous topic - Next topic

total_trip

I was wondering if it is possible to make a quick mod:
In essence, the items in the game to be counted 10 times less as a threat. For stockpile purposes.
Thanks.

In Assembly-Csharp.dll, in the public static class StorytellerUtility, can the folowing line be changed:
num = map.wealthWatcher.WealthItems + map.wealthWatcher.WealthBuildings * 0.5f;
into
num = map.wealthWatcher.WealthItems * 0.1f + map.wealthWatcher.WealthBuildings * 0.5f;