diff --git a/MiscMods.sln b/MiscMods.sln index 656c434..a1043bb 100644 --- a/MiscMods.sln +++ b/MiscMods.sln @@ -21,6 +21,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.SkipLoginRe EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.Pause.mm", "Pause\Assembly-CSharp.Pause.mm.csproj", "{627B3AA0-25E2-4C3E-A211-66BAB0E997E2}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.UnlockAndSetJewelBoostNine.mm", "UnlockAndSetJewelBoostNine\Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj", "{70C775D7-8C47-4CFE-B91D-6AAEB17389F2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -63,6 +65,10 @@ Global {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Debug|x64.Build.0 = Debug|x64 {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.ActiveCfg = Release|x64 {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.Build.0 = Release|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Debug|x64.ActiveCfg = Debug|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Debug|x64.Build.0 = Debug|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Release|x64.ActiveCfg = Release|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj b/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj new file mode 100644 index 0000000..ec7a065 --- /dev/null +++ b/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj @@ -0,0 +1,22 @@ + + + net35 + Assembly-CSharp.UnlockAndSetJewelBoostNine.mm + 7EVENDAYS⇔HOLIDAYS + Unlock and set the jewel boost to max + 1.7.0 + true + latest + x64 + + + + ..\Common\mscorlib.dll + ..\Common\UnityEngine.dll + + + + + + + diff --git a/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs b/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs new file mode 100644 index 0000000..ed2b777 --- /dev/null +++ b/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs @@ -0,0 +1,22 @@ +#pragma warning disable CS0626 +#pragma warning disable CS0649 +#pragma warning disable IDE1006 +#pragma warning disable CS0414 + +using MU3.DB; +using MU3.User; +using MU3.Util; + +namespace MU3; + +public class patch_Scene_32_PrePlayMusic_Confirm: Scene_32_PrePlayMusic_Confirm { + private extern void orig_createSelector(); + private JewelBoostID getMaxBoost() { + return JewelBoostID.Nine; + } + + private void createSelector() { + Singleton.instance.userLocal.boost = JewelBoostID.Nine; + orig_createSelector(); + } +} \ No newline at end of file