Entry upgrade goes under the game's Service group

Uses the game's own "Service" card key like Probably Automated instead of
a custom group label, and the terminal as its icon.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Sonnet 5.5 committed 2026-11-03 09:53:13 +08:00
1 parent 19d728a079
commit 1841338fbb
4 files changed
+6 -5

No files matched your search

+1
View File
@@ -9,3 +9,4 @@
- 矿架加入游戏原有的通用模块槽:性能、效率、品质三项百分比折算 1/4 后作用于算力、耗电和显卡损耗,算力最多 +20%、省电最多 25%、损耗最多 −30%;性能加成同时提高损耗与暴毙率。取代原计划的 mod 自带超频模块。
- 杰克逊博士上货(游戏给 mod 的进货钩子,夜间去他店里或他每周来本店摆摊时):没有矿架时必有一个,有了之后 30% 再上;基础显卡每次两张;进阶显卡第 10 天起 60%(再 30% 多一张);旗舰第 30 天起 25%,特供货事件时第 20 天起必有。全新真货,价格为物品价值加他的加价。加入 Web3 治理社区后才上货。开发者模式 F9 有测试入口。
- 命名:币为 PSC,合规交易所为 Poinbase,入口人脉升级为 Web3 治理社区。
- 入口升级归入游戏原有的"服务"栏(和 Probably Automated 一样),图标用交易终端。
@@ -1,7 +1,6 @@
# Probably Decentralized localization table: English (en)
# Source language and fallback. Format: key,text (text may be quoted; \n is a line break).
upgrade.title,Web3 Governance Community
upgrade.card,Web3
upgrade.desc,Members receive a trading terminal and an RZX 50 graphics card. The terminal holds the wallet and trades on the Poinbase exchange. Mining rigs and further cards are sold by Dr. Jackson.
item.terminal.name,Trading Terminal
item.terminal.desc,Wallet, the Poinbase exchange and the nightly mining report.
1 # Probably Decentralized localization table: English (en)
2 # Source language and fallback. Format: key
3 upgrade.title
upgrade.card
4 upgrade.desc
5 item.terminal.name
6 item.terminal.desc
@@ -1,6 +1,5 @@
# Probably Decentralized 本地化表:简体中文(zh)
upgrade.title,Web3 治理社区
upgrade.card,Web3
upgrade.desc,成员可获得一台交易终端和一张 RZX 50 显卡。终端用于查看钱包,并在 Poinbase 交易所交易。矿架和更多显卡由杰克逊博士出售。
item.terminal.name,交易终端
item.terminal.desc,钱包、Poinbase 交易所与夜间挖矿报告。
1 # Probably Decentralized 本地化表:简体中文(zh)
2 upgrade.title,Web3 治理社区
upgrade.card,Web3
3 upgrade.desc,成员可获得一台交易终端和一张 RZX 50 显卡。终端用于查看钱包,并在 Poinbase 交易所交易。矿架和更多显卡由杰克逊博士出售。
4 item.terminal.name,交易终端
5 item.terminal.desc,钱包、Poinbase 交易所与夜间挖矿报告。
+5 -3
View File
@@ -7,6 +7,7 @@ namespace Decentralized
{
public const string Id = "PD_WEB3_COMMUNITY";
public const int Price = 300;
private const string Card = "Service";
public static bool IsUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(Id);
@@ -14,10 +15,11 @@ namespace Decentralized
{
try
{
// 文字都用回调:OnEnable 时 mod 本地化表还没加载
ModHelper.AddNetworkUpgrade(ModInfo.Id, Id, Price, "",
// 分类用游戏自己的 "Service" 键,和 Probably Automated 一样归进现有的"服务"栏;
// 标题和说明用回调:OnEnable 时 mod 本地化表还没加载
ModHelper.AddNetworkUpgrade(ModInfo.Id, Id, Price, Card,
() => L.T("upgrade.title"), () => L.T("upgrade.desc"), OnPurchased,
iconKey: ModInfo.Id + ":rig", subtitleLabel: () => L.T("upgrade.card"));
iconKey: ModInfo.Id + ":terminal");
}
catch (NullReferenceException)
{