modified previous files to be this project
Some checks are pending
build / build (push) Waiting to run

This commit is contained in:
Sakimori 2025-04-18 18:00:29 -04:00
parent d54ebfb00d
commit c4cbceacb4
No known key found for this signature in database
6 changed files with 10 additions and 20 deletions

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>GlitchRestore</AssemblyName>
<Description>Patch speedrun glitches from the speedrun branch back into the main branch game.</Description>
<AssemblyName>ExtraSaves</AssemblyName>
<Description>Adds extra save slots to the main menu.</Description>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>1.0.0</Version>
<LangVersion>latest</LangVersion>

View file

@ -4,7 +4,7 @@ using HarmonyLib;
namespace GlitchRestore;
[BepInPlugin("com.kobold60.glitchrestore", "Glitch Restore", "0.1.0")]
[BepInPlugin("com.kobold60.extrasaves", "Extra Saves", "0.1.0")]
public class Plugin : BaseUnityPlugin {
private Harmony harmony = null!;
@ -21,16 +21,6 @@ public class Plugin : BaseUnityPlugin {
}
}
[HarmonyPatch(typeof(Player), "OnTakeInvincibleHit")]
internal static class DamageRespawnRestore {
private static bool Prefix(DamageDealer damageDealer, Player __instance) {
if (__instance.IsCurrentState(PlayerStateType.Roll) && !damageDealer.parriable) {
DamageType type = damageDealer.type;
}
return false;
}
}
private void Awake() {
Log.Init(Logger);
RCGLifeCycle.DontDestroyForever(gameObject);
@ -38,7 +28,7 @@ public class Plugin : BaseUnityPlugin {
// Load patches from any class annotated with @HarmonyPatch
harmony = Harmony.CreateAndPatchAll(typeof(Plugin).Assembly);
Logger.LogInfo($"Plugin com.kobold60.glitchrestore is loaded!");
Logger.LogInfo($"Plugin com.kobold60.extrasaves is loaded!");
}

View file

@ -1,3 +1,3 @@
# Glitch Restore
# Extra Saves
Re-implements rope storage and hazard respawn glitches from the speedrun patch. Piss skip currently doesn't work, but early city access does.
Adds extra save slots to the main menu. Probably not compatible with Nine Saves.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -2,11 +2,11 @@
schemaVersion = "0.1.0"
[package]
namespace = "glitchrestore"
name = "GlitchRestore"
namespace = "extrasaves"
name = "ExtraSaves"
versionNumber = "0.1.0"
description = "Bring back speedrun tricks"
websiteUrl = "https://git.yinglet.com/zhetadelta/ninesols-glitch-restore"
description = "Adds extra save slots"
websiteUrl = "https://git.yinglet.com/zhetadelta/ninesols-extra-saves"
containsNsfwContent = false
[package.dependencies]