版本 1.0.0-rc2:去掉反射,清单不再声明能力
This commit is contained in:
1 parent
3a97e3701b
commit
e8532f9e1b
5 files changed
+8
-13
No files matched your search
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.0.0-rc2
|
||||||
|
|
||||||
|
- 去掉反射:电子元件升级矿架时,原版元件工厂改用游戏公开的 `DirectoryMaster.GetFactory` 取得,清单恢复为不声明任何能力(rc1 因反射被游戏拒绝启用)。升级流程重新走通:普通 ×4 解锁第 3 槽,稀有 ×1 第 4 槽,稀有 ×2 第 5 槽。
|
||||||
|
|
||||||
## 1.0.0-rc1
|
## 1.0.0-rc1
|
||||||
|
|
||||||
### 第九阶段:剧情与收尾
|
### 第九阶段:剧情与收尾
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Probably Decentralized
|
# 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.
|
All coins, exchanges and events are fictional and have no real-world value.
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Decentralized
|
|||||||
{
|
{
|
||||||
public const string Id = "probably_decentralized";
|
public const string Id = "probably_decentralized";
|
||||||
public const string Name = "Probably Decentralized";
|
public const string Name = "Probably Decentralized";
|
||||||
public const string Version = "1.0.0-rc1";
|
public const string Version = "1.0.0-rc2";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>本地化:游戏的 mod 本地化表(ModFiles/Localization/*.csv),当前语言缺失时回退英文。</summary>
|
/// <summary>本地化:游戏的 mod 本地化表(ModFiles/Localization/*.csv),当前语言缺失时回退英文。</summary>
|
||||||
|
|||||||
@@ -515,18 +515,9 @@ namespace Decentralized
|
|||||||
{
|
{
|
||||||
try
|
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" })
|
foreach (var id in new[] { "common_electronic", "rare_electronic" })
|
||||||
{
|
{
|
||||||
Func<GameItem> vanilla = null;
|
var vanilla = DirectoryMaster.GetFactory<GameItem>(id);
|
||||||
foreach (var d in list)
|
|
||||||
{
|
|
||||||
if (d is ModItemDirectory) continue;
|
|
||||||
var fd = d.GetType().GetProperty("factoryDictionary")?.GetValue(d) as Dictionary<string, Func<GameItem>>;
|
|
||||||
if (fd != null && fd.TryGetValue(id, out var f)) { vanilla = f; break; }
|
|
||||||
}
|
|
||||||
if (vanilla == null) { Log.Warn($"[Rig] 找不到原版 {id}"); continue; }
|
if (vanilla == null) { Log.Warn($"[Rig] 找不到原版 {id}"); continue; }
|
||||||
var make = vanilla;
|
var make = vanilla;
|
||||||
dir.Set(id, () =>
|
dir.Set(id, () =>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<ID>probably_decentralized</ID>
|
<ID>probably_decentralized</ID>
|
||||||
<Name>Probably Decentralized</Name>
|
<Name>Probably Decentralized</Name>
|
||||||
<Author>edward</Author>
|
<Author>edward</Author>
|
||||||
<ModVersion>1.0.0-rc1</ModVersion>
|
<ModVersion>1.0.0-rc2</ModVersion>
|
||||||
<Description>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.</Description>
|
<Description>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.</Description>
|
||||||
<GameVersions>
|
<GameVersions>
|
||||||
<Version>0.46</Version>
|
<Version>0.46</Version>
|
||||||
|
|||||||
Reference in new issue
Block a user