From e8532f9e1baa900a4be0a0890680e17687f49276 Mon Sep 17 00:00:00 2001 From: ZHU MINCHAO <48154958+MinchaoZhu@users.noreply.github.com> Date: Wed, 4 Nov 2026 23:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=201.0.0-rc2=EF=BC=9A?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8F=8D=E5=B0=84=EF=BC=8C=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=A3=B0=E6=98=8E=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ README.md | 2 +- src/Decentralized/Core.cs | 2 +- src/Decentralized/Items.cs | 11 +---------- src/Decentralized/ModFiles/manifest.xml | 2 +- 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aabfc1e..c05d55a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.0-rc2 + +- 去掉反射:电子元件升级矿架时,原版元件工厂改用游戏公开的 `DirectoryMaster.GetFactory` 取得,清单恢复为不声明任何能力(rc1 因反射被游戏拒绝启用)。升级流程重新走通:普通 ×4 解锁第 3 槽,稀有 ×1 第 4 槽,稀有 ×2 第 5 槽。 + ## 1.0.0-rc1 ### 第九阶段:剧情与收尾 diff --git a/README.md b/README.md index aba2ff1..1bc50a3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Probably Decentralized -A mod for *Probably Stolen*: crypto mining, a fictional coin market, stablecoins, laundering and its risks, a Web3 black market, built on the game's own power, events and law systems. Current version: 1.0.0-rc1 (release candidate). +A mod for *Probably Stolen*: crypto mining, a fictional coin market, stablecoins, laundering and its risks, a Web3 black market, built on the game's own power, events and law systems. Current version: 1.0.0-rc2 (release candidate). All coins, exchanges and events are fictional and have no real-world value. diff --git a/src/Decentralized/Core.cs b/src/Decentralized/Core.cs index ca7d93b..1868ed4 100644 --- a/src/Decentralized/Core.cs +++ b/src/Decentralized/Core.cs @@ -7,7 +7,7 @@ namespace Decentralized { public const string Id = "probably_decentralized"; public const string Name = "Probably Decentralized"; - public const string Version = "1.0.0-rc1"; + public const string Version = "1.0.0-rc2"; } /// 本地化:游戏的 mod 本地化表(ModFiles/Localization/*.csv),当前语言缺失时回退英文。 diff --git a/src/Decentralized/Items.cs b/src/Decentralized/Items.cs index 6536e7e..7bfa0a4 100644 --- a/src/Decentralized/Items.cs +++ b/src/Decentralized/Items.cs @@ -515,18 +515,9 @@ namespace Decentralized { try { - var directories = (System.Collections.IDictionary)typeof(DirectoryMaster).GetField("singletonInstance", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static)?.GetValue(null); - var list = directories?[typeof(GameItem)] as System.Collections.IList; - if (list == null) { Log.Warn("[Rig] 找不到原版物品目录,电子元件不能升级矿架"); return; } foreach (var id in new[] { "common_electronic", "rare_electronic" }) { - Func vanilla = null; - foreach (var d in list) - { - if (d is ModItemDirectory) continue; - var fd = d.GetType().GetProperty("factoryDictionary")?.GetValue(d) as Dictionary>; - if (fd != null && fd.TryGetValue(id, out var f)) { vanilla = f; break; } - } + var vanilla = DirectoryMaster.GetFactory(id); if (vanilla == null) { Log.Warn($"[Rig] 找不到原版 {id}"); continue; } var make = vanilla; dir.Set(id, () => diff --git a/src/Decentralized/ModFiles/manifest.xml b/src/Decentralized/ModFiles/manifest.xml index 8d6f4cf..7bdfda4 100644 --- a/src/Decentralized/ModFiles/manifest.xml +++ b/src/Decentralized/ModFiles/manifest.xml @@ -3,7 +3,7 @@ probably_decentralized Probably Decentralized edward - 1.0.0-rc1 + 1.0.0-rc2 Mine PSC with graphics cards, trade it on a fictional exchange, and cash it out past the compliance desk. Work in progress. All coins, exchanges and events are fictional and have no real-world value. 0.46