Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanze31 committed Jan 12, 2025
1 parent 06742d9 commit 747dc17
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 20 deletions.
17 changes: 2 additions & 15 deletions Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down
33 changes: 28 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,47 @@

## **说明**

**只能实现在本地游玩时可使用全部皮肤的效果,并不能修改科雷服务器中的数据**
**只能实现在本地游玩时可使用全部皮肤的效果,并不能修改科雷服务器中的数据** <img src="img/FU_KLEI.png" alt="" width="60%" height="auto" style="display:block; margin:auto;"> 看起来 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. 在游戏中以通常的方式启用本模组即可

---

# 以下是旧版说明,仅保留供参考,不作任何内容解释或质量保障

---

## **使用方法**

目前适用于 **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. **严禁**随意拆解只拥有一个的皮肤,你可能根本没有这个皮肤,从而导致向科雷服务器发送许多错误信息,目前对科雷账号的影响未知,**如有尝试,后果自负**

## **破解教程**
Expand Down
Binary file added img/FU_KLEI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 747dc17

Please sign in to comment.