diff --git a/AquaMai/AquaMai.csproj b/AquaMai/AquaMai.csproj index 090320cc..700ae39a 100644 --- a/AquaMai/AquaMai.csproj +++ b/AquaMai/AquaMai.csproj @@ -276,6 +276,7 @@ + diff --git a/AquaMai/AquaMai.toml b/AquaMai/AquaMai.toml index 182abdfa..c31a103e 100644 --- a/AquaMai/AquaMai.toml +++ b/AquaMai/AquaMai.toml @@ -33,6 +33,8 @@ DemoMaster=true # Execute some command on game idle or on game start ExecOnIdle="" ExecOnEntry="" +# Change every timer to 200 seconds +ExtendTimer=true [Performance] # Disable some useless delays to speed up the game boot process diff --git a/AquaMai/Config.cs b/AquaMai/Config.cs index 3d5f41a3..cf07b56c 100644 --- a/AquaMai/Config.cs +++ b/AquaMai/Config.cs @@ -25,6 +25,7 @@ namespace AquaMai public bool QuickSkip { get; set; } public bool RandomBgm { get; set; } public bool DemoMaster { get; set; } + public bool ExtendTimer { get; set; } public string CustomVersionString { get; set; } public string ExecOnIdle { get; set; } public string ExecOnEntry { get; set; } diff --git a/AquaMai/UX/ExtendTimer.cs b/AquaMai/UX/ExtendTimer.cs new file mode 100644 index 00000000..2645c459 --- /dev/null +++ b/AquaMai/UX/ExtendTimer.cs @@ -0,0 +1,14 @@ +using HarmonyLib; + +namespace AquaMai.UX +{ + public class ExtendTimer + { + [HarmonyPrefix] + [HarmonyPatch(typeof(TimerController), "PrepareTimer")] + public static void PrePrepareTimer(ref int second) + { + second = 200; + } + } +} \ No newline at end of file