modified previous files to be this project
Some checks are pending
build / build (push) Waiting to run
Some checks are pending
build / build (push) Waiting to run
This commit is contained in:
parent
d54ebfb00d
commit
c4cbceacb4
|
@ -1,7 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AssemblyName>GlitchRestore</AssemblyName>
|
<AssemblyName>ExtraSaves</AssemblyName>
|
||||||
<Description>Patch speedrun glitches from the speedrun branch back into the main branch game.</Description>
|
<Description>Adds extra save slots to the main menu.</Description>
|
||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
<Version>1.0.0</Version>
|
<Version>1.0.0</Version>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
|
@ -4,7 +4,7 @@ using HarmonyLib;
|
||||||
|
|
||||||
namespace GlitchRestore;
|
namespace GlitchRestore;
|
||||||
|
|
||||||
[BepInPlugin("com.kobold60.glitchrestore", "Glitch Restore", "0.1.0")]
|
[BepInPlugin("com.kobold60.extrasaves", "Extra Saves", "0.1.0")]
|
||||||
public class Plugin : BaseUnityPlugin {
|
public class Plugin : BaseUnityPlugin {
|
||||||
private Harmony harmony = null!;
|
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() {
|
private void Awake() {
|
||||||
Log.Init(Logger);
|
Log.Init(Logger);
|
||||||
RCGLifeCycle.DontDestroyForever(gameObject);
|
RCGLifeCycle.DontDestroyForever(gameObject);
|
||||||
|
@ -38,7 +28,7 @@ public class Plugin : BaseUnityPlugin {
|
||||||
// Load patches from any class annotated with @HarmonyPatch
|
// Load patches from any class annotated with @HarmonyPatch
|
||||||
harmony = Harmony.CreateAndPatchAll(typeof(Plugin).Assembly);
|
harmony = Harmony.CreateAndPatchAll(typeof(Plugin).Assembly);
|
||||||
|
|
||||||
Logger.LogInfo($"Plugin com.kobold60.glitchrestore is loaded!");
|
Logger.LogInfo($"Plugin com.kobold60.extrasaves is loaded!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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 |
|
@ -2,11 +2,11 @@
|
||||||
schemaVersion = "0.1.0"
|
schemaVersion = "0.1.0"
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
namespace = "glitchrestore"
|
namespace = "extrasaves"
|
||||||
name = "GlitchRestore"
|
name = "ExtraSaves"
|
||||||
versionNumber = "0.1.0"
|
versionNumber = "0.1.0"
|
||||||
description = "Bring back speedrun tricks"
|
description = "Adds extra save slots"
|
||||||
websiteUrl = "https://git.yinglet.com/zhetadelta/ninesols-glitch-restore"
|
websiteUrl = "https://git.yinglet.com/zhetadelta/ninesols-extra-saves"
|
||||||
containsNsfwContent = false
|
containsNsfwContent = false
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
|
|
Loading…
Reference in a new issue