diff --git a/Main.cs b/Main.cs index 64e8aa5..0ce7178 100644 --- a/Main.cs +++ b/Main.cs @@ -3,28 +3,15 @@ namespace I_need_ONI_skin { - public static class Patches + public static class FU_KLEI { - //[HarmonyPatch(typeof(PermitItems))] - //[HarmonyPatch("GetOwnedCount")] - //public static class ChangeOwnedCount - //{ - // public static void Postfix(ref int __result) - // { - // if (__result == 0) - // { - // __result++; - // } - // } - //} - [HarmonyPatch(typeof(PermitItems))] [HarmonyPatch("IsPermitUnlocked")] public static class ChangePermitStatus { public static void Postfix(ref bool __result) { - __result = true; + __result = true; } } } diff --git a/README.md b/README.md index fc370c3..0e92ead 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,28 @@ ## **说明** -**只能实现在本地游玩时可使用全部皮肤的效果,并不能修改科雷服务器中的数据** +**只能实现在本地游玩时可使用全部皮肤的效果,并不能修改科雷服务器中的数据** 看起来 KELI 非常“享受”强迫玩家使用他们“精心构建”的皮肤系统,单纯出于恶心玩家的目的,而不是出于商业利益 + +**声明**:本模组仅供学习交流,严禁用于商业用途,使用时请遵守当地法律法规,由于不正当使用产生的法律问题与本人无关 + +## **使用方法** + +1. 从[Releases](https://github.com/yuanze31/I_need_ONI_skin/releases)下载 I_need_ONI_skin.zip +2. 解压到 C:\Users\[Your Username]\Documents\Klei\OxygenNotIncluded\mods\local 文件夹下,此时文件夹结构应为 + +``` +-./local + |-I_need_ONI_skin + |-I_need_ONI_skin.dll + |-mod.yaml + |-mod_info.yaml +``` + +3. 在游戏中以通常的方式启用本模组即可 + +--- + +# 以下是旧版说明,仅保留供参考,不作任何内容解释或质量保障 --- @@ -10,16 +31,18 @@ 目前适用于 **U54-646843** 版本 -### 方法1(推荐) +### 方法 1(推荐) + 在创意工坊订阅同功能[mod](https://steamcommunity.com/sharedfiles/filedetails/?id=3383541990) -### 方法2 +### 方法 2 + 在[Releases](https://github.com/yuanze31/I_need_ONI_skin/releases)中下载 Assembly-CSharp.dll,并替换位于 **.\SteamLibrary\steamapps\common\OxygenNotIncluded\OxygenNotIncluded_Data\Managed** 的 **Assembly-CSharp.dll** **注意:** -1. 每次更新/验证游戏完整性后需要重新替换(仅限方法2) -2. 从 U52-622509 版本后,破解规则为将未拥有的更改为 1 个,拥有多个的数量不变,从而方便筛选 ***2+*** 拆解 +1. 每次更新/验证游戏完整性后需要重新替换(仅限方法 2) +2. 从 U52-622509 版本后,破解规则为将未拥有的更改为 1 个,拥有多个的数量不变,从而方便筛选 **_2+_** 拆解 3. **严禁**随意拆解只拥有一个的皮肤,你可能根本没有这个皮肤,从而导致向科雷服务器发送许多错误信息,目前对科雷账号的影响未知,**如有尝试,后果自负** ## **破解教程** diff --git a/img/FU_KLEI.png b/img/FU_KLEI.png new file mode 100644 index 0000000..4bfcc8f Binary files /dev/null and b/img/FU_KLEI.png differ