Initial commit
This commit is contained in:
commit
0afdc1d02f
93 changed files with 2453 additions and 0 deletions
13
Patches/PriceManager_CurrentCost_Patch.cs
Normal file
13
Patches/PriceManager_CurrentCost_Patch.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using HarmonyLib;
|
||||
|
||||
namespace CurrencyChanger2.Patches
|
||||
{
|
||||
[HarmonyPatch(typeof(PriceManager), "CurrentCost")]
|
||||
public static class PriceManager_CurrentCost_Patch
|
||||
{
|
||||
public static void Postfix(ref float __result)
|
||||
{
|
||||
__result *= Plugin.CurrencyValueFactor.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue