Rename: coin PSC, exchange Poinbase, entry upgrade Web3 Governance Community
The entry network upgrade is the gateway to the whole mod, not only mining: it now delivers the trading terminal and an RZX 50; rigs are bought from Dr. Jackson, who always stocks one while the player has none. The upgrade id changes (unreleased, no migration). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a101b58f1c
commit
19d728a079
8 files changed
+29
-29
No files matched your search
+3
-2
@@ -4,7 +4,8 @@
|
||||
|
||||
- 纯逻辑层:带种子的随机数、资产登记、地址账本(污点与成本随币走)、恒定乘积交易对、挖矿(显卡、矿机、全网算力、减半、损耗与暴毙)。
|
||||
- 纯逻辑层:市场(价格锚、情绪、游戏事件冲击、NPC 大户、多交易对套利回归、当日均价),三种稳定币(CRC 脱锚与减记、CRT 脱锚与冻结概率、CRA 补贴池与死亡螺旋),合规出金与 AML(大额与累计阈值、污点比例、轻度与重度命中、只对收益计税)。
|
||||
- mod 本体(第一阶段的第一部分):人脉网络"矿业渠道"(300)交付交易终端、矿架和一张 RZX 50;矿架是带电池槽和 4 个显卡槽的机器,每晚从电池扣电挖 PSCoin;显卡按型号显示算力、耗电与健康度,每晚损耗并可能烧毁;交易终端有钱包、交易(四个交易对、存入信用点、提取 CRC 过合规审查)、报告三页;夜间结算写晨间日志;PSCoin 交易所开业与减半上报纸;状态存进游戏的 mod 存档数据。中英双语。
|
||||
- mod 本体(第一阶段的第一部分):人脉网络"Web3 治理社区"(300,整个 mod 的入口)交付交易终端和一张 RZX 50;矿架向杰克逊博士购买;矿架是带电池槽和 4 个显卡槽的机器,每晚从电池扣电挖 PSC;显卡按型号显示算力、耗电与健康度,每晚损耗并可能烧毁;交易终端有钱包、交易(四个交易对、存入信用点、提取 CRC 过合规审查)、报告三页;夜间结算写晨间日志;PSC 交易所开业与减半上报纸;状态存进游戏的 mod 存档数据。中英双语。
|
||||
- 物品图:art/sprites.py 生成显卡(Probidia、PMD、烧毁)、矿架、交易终端。
|
||||
- 矿架加入游戏原有的通用模块槽:性能、效率、品质三项百分比折算 1/4 后作用于算力、耗电和显卡损耗,算力最多 +20%、省电最多 25%、损耗最多 −30%;性能加成同时提高损耗与暴毙率。取代原计划的 mod 自带超频模块。
|
||||
- 杰克逊博士上货(游戏给 mod 的进货钩子,夜间去他店里或他每周来本店摆摊时):没有矿架时必有一个,有了之后 30% 再上;基础显卡每次两张;进阶显卡第 10 天起 60%(再 30% 多一张);旗舰第 30 天起 25%,特供货事件时第 20 天起必有。全新真货,价格为物品价值加他的加价。解锁矿业渠道后才上货。开发者模式 F9 有测试入口。
|
||||
- 杰克逊博士上货(游戏给 mod 的进货钩子,夜间去他店里或他每周来本店摆摊时):没有矿架时必有一个,有了之后 30% 再上;基础显卡每次两张;进阶显卡第 10 天起 60%(再 30% 多一张);旗舰第 30 天起 25%,特供货事件时第 20 天起必有。全新真货,价格为物品价值加他的加价。加入 Web3 治理社区后才上货。开发者模式 F9 有测试入口。
|
||||
- 命名:币为 PSC,合规交易所为 Poinbase,入口人脉升级为 Web3 治理社区。
|
||||
@@ -10,7 +10,7 @@ namespace Decentralized.Domain
|
||||
public enum MarketEvent { Blackout, Crackdown, GangWar, RevRaidUpper, LowerUnrest }
|
||||
|
||||
/// <summary>
|
||||
/// PSCoin 行情与全部交易对。PSCoin 有一个参考价(主交易对:合规交易所 PSC/CRC);
|
||||
/// PSC 行情与全部交易对。PSC 有一个参考价(主交易对:合规交易所 PSC/CRC);
|
||||
/// 夜间参考价向价格锚回归并加噪声,其余交易对由 NPC 套利者拉向参考价。
|
||||
/// </summary>
|
||||
public sealed class Market
|
||||
@@ -39,7 +39,7 @@ namespace Decentralized.Domain
|
||||
public Pool Find(Venue venue, string baseAsset, string quote) =>
|
||||
Pools.FirstOrDefault(x => x.Venue == venue && x.Base == baseAsset && x.Quote == quote);
|
||||
|
||||
/// <summary>PSCoin 的参考价(信用点)。</summary>
|
||||
/// <summary>PSC 的参考价(信用点)。</summary>
|
||||
public double Price => Main.Price;
|
||||
|
||||
public double Anchor(ICollection<MarketEvent> active)
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Decentralized
|
||||
{
|
||||
/// <summary>
|
||||
/// 杰克逊博士进货时(夜间去他店里,或他每周来本店摆摊)加上挖矿设备。用游戏给 mod 的进货钩子和他自己的上架函数,
|
||||
/// 价格是物品价值加上他的加价(难度规则与夜间事件决定)。解锁矿业渠道之后才上货。
|
||||
/// 价格是物品价值加上他的加价(难度规则与夜间事件决定)。加入 Web3 治理社区之后才上货。
|
||||
/// </summary>
|
||||
public static class DealerStock
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Probably Decentralized localization table: English (en)
|
||||
# Source language and fallback. Format: key,text (text may be quoted; \n is a line break).
|
||||
upgrade.title,Mining Access
|
||||
upgrade.card,Mining
|
||||
upgrade.desc,Delivers a trading terminal and a mining rig to the back counter. Graphics cards installed in a rig mine PSCoin each night the rig has power.
|
||||
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, exchange and the nightly mining report.
|
||||
item.terminal.desc,Wallet, the Poinbase exchange and the nightly mining report.
|
||||
item.rig.name,Mining Rig
|
||||
item.rig.desc,"Holds up to four graphics cards. Hashrate {0} MH/s. Draws {1} kJ per day."
|
||||
rig.label.modules,Modules
|
||||
@@ -30,7 +30,7 @@ trade.pair,"{0}/{1} ({2})"
|
||||
trade.price,Price {0}
|
||||
trade.buy,Buy
|
||||
trade.sell,Sell
|
||||
venue.Exchange,Exchange
|
||||
venue.Exchange,Poinbase
|
||||
venue.Dex,DEX
|
||||
venue.Darknet,Darknet
|
||||
msg.amount,Enter an amount.
|
||||
@@ -47,11 +47,11 @@ report.hash,"Hashrate: {0} MH/s (network {1} MH/s)"
|
||||
report.mined,"Mined: {0} PSC (about {1} credits)"
|
||||
report.energy,Energy used: {0} kJ
|
||||
report.burnt,Cards burnt out: {0}
|
||||
report.price,PSCoin price: {0} credits
|
||||
report.price,PSC price: {0} credits
|
||||
nightlog.mined,Mining rigs produced {0} PSC.
|
||||
nightlog.burnt,A {0} burnt out.
|
||||
nightlog.unpowered,{0} mining rig(s) had no power.
|
||||
news.open.title,PSCoin Exchange Opens
|
||||
news.open.desc,The Upper Level exchange now lists PSCoin against CRC. Graphics cards are in demand across the station.
|
||||
news.halving.title,PSCoin Block Reward Halved
|
||||
news.open.title,Poinbase Lists PSC
|
||||
news.open.desc,The Upper Level exchange Poinbase now lists PSC against CRC. Graphics cards are in demand across the station.
|
||||
news.halving.title,PSC Block Reward Halved
|
||||
news.halving.desc,Miners now receive half as many coins per night.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# Probably Decentralized 本地化表:简体中文(zh)
|
||||
upgrade.title,矿业渠道
|
||||
upgrade.card,挖矿
|
||||
upgrade.desc,交付一台交易终端和一个矿架,放在后柜台。装进矿架的显卡在有电的夜晚挖出 PSCoin。
|
||||
upgrade.title,Web3 治理社区
|
||||
upgrade.card,Web3
|
||||
upgrade.desc,成员可获得一台交易终端和一张 RZX 50 显卡。终端用于查看钱包,并在 Poinbase 交易所交易。矿架和更多显卡由杰克逊博士出售。
|
||||
item.terminal.name,交易终端
|
||||
item.terminal.desc,钱包、交易所与夜间挖矿报告。
|
||||
item.terminal.desc,钱包、Poinbase 交易所与夜间挖矿报告。
|
||||
item.rig.name,矿架
|
||||
item.rig.desc,可装 4 张显卡。算力 {0} MH/s。耗电 {1} kJ/天。
|
||||
rig.label.modules,模块
|
||||
@@ -29,7 +29,7 @@ trade.pair,{0}/{1}({2})
|
||||
trade.price,价格 {0}
|
||||
trade.buy,买入
|
||||
trade.sell,卖出
|
||||
venue.Exchange,交易所
|
||||
venue.Exchange,Poinbase
|
||||
venue.Dex,DEX
|
||||
venue.Darknet,暗网
|
||||
msg.amount,请输入数量。
|
||||
@@ -46,11 +46,11 @@ report.hash,算力:{0} MH/s(全网 {1} MH/s)
|
||||
report.mined,挖出:{0} PSC(约 {1} 信用点)
|
||||
report.energy,耗电:{0} kJ
|
||||
report.burnt,烧毁的显卡:{0}
|
||||
report.price,PSCoin 价格:{0} 信用点
|
||||
report.price,PSC 价格:{0} 信用点
|
||||
nightlog.mined,矿架挖出 {0} PSC。
|
||||
nightlog.burnt,一张 {0} 烧毁了。
|
||||
nightlog.unpowered,{0} 个矿架没有电。
|
||||
news.open.title,PSCoin 交易所开业
|
||||
news.open.desc,上层交易所上架 PSCoin/CRC 交易对。全站显卡需求上升。
|
||||
news.halving.title,PSCoin 出块奖励减半
|
||||
news.open.title,Poinbase 上架 PSC
|
||||
news.open.desc,上层交易所 Poinbase 上架 PSC/CRC 交易对。全站显卡需求上升。
|
||||
news.halving.title,PSC 出块奖励减半
|
||||
news.halving.desc,矿工每晚获得的币减半。
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<Name>Probably Decentralized</Name>
|
||||
<Author>edward</Author>
|
||||
<ModVersion>0.1.0</ModVersion>
|
||||
<Description>Mine PSCoin 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>
|
||||
<Version>0.46</Version>
|
||||
</GameVersions>
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace Decentralized
|
||||
catch (Exception ex) { Log.Error($"读取存档数据失败,重新开始:{ex.Message}"); }
|
||||
if (Data == null) Data = new SaveData();
|
||||
if (Data.Market == null) Data.Market = Market.CreateDefault(StoreStation.GetDayCounter());
|
||||
Log.Info($"状态已载入(第 {Data.Day} 天,PSCoin {Data.Market.Price:0.00})");
|
||||
Log.Info($"状态已载入(第 {Data.Day} 天,PSC {Data.Market.Price:0.00})");
|
||||
}
|
||||
|
||||
public static void Save()
|
||||
|
||||
@@ -2,10 +2,10 @@ using System;
|
||||
|
||||
namespace Decentralized
|
||||
{
|
||||
/// <summary>人脉网络里的"矿业渠道":买下后交付交易终端和一个矿架,并开始每天的行情与挖矿结算。</summary>
|
||||
/// <summary>人脉网络里的"Web3 治理社区":整个 mod 的入口。买下后交付交易终端和一张 RZX 50,并开始每天的行情与挖矿结算;矿架向杰克逊博士购买。</summary>
|
||||
public static class Unlock
|
||||
{
|
||||
public const string Id = "PD_MINING_ACCESS";
|
||||
public const string Id = "PD_WEB3_COMMUNITY";
|
||||
public const int Price = 300;
|
||||
|
||||
public static bool IsUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(Id);
|
||||
@@ -29,9 +29,8 @@ namespace Decentralized
|
||||
private static void OnPurchased()
|
||||
{
|
||||
Items.Give(ModHelper.SpawnItem(Items.Terminal));
|
||||
Items.Give(ModHelper.SpawnItem(Items.Rig));
|
||||
Items.Give(ModHelper.SpawnItem(Items.GpuId("RZX50")));
|
||||
Log.Info("已解锁矿业渠道");
|
||||
Log.Info("已加入 Web3 治理社区");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user