This commit is contained in:
Lachlan Leone committed 2023-03-15 23:38:46 +11:00
1 parent 2652461b2a
commit 5e5ec0d118
6 files changed
+74 -38

No files matched your search

@@ -10,21 +10,24 @@ namespace MMOKitchenReborn.Patches
[HarmonyPostfix]
static void CustomerPlayersRateModifier_Postfix(ref float __result, int player_count)
{
__result = 1 + (player_count * 0.25f);
if (player_count > 4)
__result = 1 + (player_count * 0.25f);
}
[HarmonyPatch("FireSpreadModifier")]
[HarmonyPostfix]
static void FireSpreadModifier_Postfix(ref float __result, int player_count)
{
__result = 0.75f + (player_count * 0.25f);
if (player_count > 4)
__result = 0.75f + (player_count * 0.25f);
}
[HarmonyPatch("PatiencePlayerCountModifier")]
[HarmonyPostfix]
static void PatiencePlayerCountModifier_Postfix(ref float __result, int player_count)
{
__result = 0.75f + (player_count * 0.25f);
if (player_count > 4)
__result = 0.75f + (player_count * 0.25f);
}
}
}