Rename GPU models: RZX→RTX, RZ→RX
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
No files matched your search
@@ -19,10 +19,10 @@ namespace Decentralized
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Used cards x4 (test)", () =>
|
||||
{
|
||||
var rng = Session.Data.Rng;
|
||||
Items.Give(Items.NewCard("RZX80", 40, null, rng));
|
||||
Items.Give(Items.NewCard("RZX80", 70, "RZX60", rng));
|
||||
Items.Give(Items.NewCard("RZ800", 30, "RZ70", rng));
|
||||
Items.Give(Items.NewCard("RZ900", 90, "RZ70", rng));
|
||||
Items.Give(Items.NewCard("RTX80", 40, null, rng));
|
||||
Items.Give(Items.NewCard("RTX80", 70, "RTX60", rng));
|
||||
Items.Give(Items.NewCard("RX800", 30, "RX70", rng));
|
||||
Items.Give(Items.NewCard("RX900", 90, "RX70", rng));
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Dump inspection UI (test)", () => Log.Guard("检视界面结构", () =>
|
||||
{
|
||||
@@ -45,10 +45,10 @@ namespace Decentralized
|
||||
{
|
||||
var rng = Session.Data.Rng;
|
||||
// 自己的一张真卡:标签机改成旗舰型号并把成色说成没问题,再摆给一位买家
|
||||
var item = Items.NewCard("RZX70", 55, null, rng);
|
||||
var item = Items.NewCard("RTX70", 55, null, rng);
|
||||
Items.Give(item);
|
||||
var u = Items.ToUnit(item);
|
||||
var c = Claim.Truth(u); c.Model = "RZX90"; c.Fan = 0; c.Fingers = 0; c.Bracket = 0; c.Sticker = 0;
|
||||
var c = Claim.Truth(u); c.Model = "RTX90"; c.Fan = 0; c.Fingers = 0; c.Bracket = 0; c.Sticker = 0;
|
||||
item.EnableTag(Items.EditedTag);
|
||||
Items.SetClaim(item, c, 0);
|
||||
var client = new StoreClient { identifier = "pd_test_buyer", displayName = "买家", spriteName = SpriteDict.GetRandomScavSpriteName(), clientIntent = StoreClient.ClientIntent.BUY };
|
||||
@@ -61,7 +61,7 @@ namespace Decentralized
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Buy scam card (test)", () => Log.Guard("买入侧测试", () =>
|
||||
{
|
||||
var rng = Session.Data.Rng;
|
||||
var item = Items.NewCard("RZX90", 60, "RZX60", rng, DealerKind.Scammer, 0);
|
||||
var item = Items.NewCard("RTX90", 60, "RTX60", rng, DealerKind.Scammer, 0);
|
||||
long before = item.unitValue;
|
||||
GeneralHelper.SetItemOwned(item, true);
|
||||
Items.Refresh(item);
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace Decentralized
|
||||
|
||||
// ---------- 显卡 ----------
|
||||
|
||||
/// <summary>RZX70 → "RZX 70",RZ800 → "RZ 800"。</summary>
|
||||
/// <summary>RTX70 → "RTX 70",RX800 → "RX 800"。</summary>
|
||||
public static string DisplayModel(string model) => Regex.Replace(Regex.Replace(model, @"(?<=[A-Za-z])(?=\d)", " "), @"(?<=\d)(?=[A-Z])", " ");
|
||||
|
||||
private static GameItem CreateGpu(HardwareSpec spec)
|
||||
@@ -257,7 +257,7 @@ namespace Decentralized
|
||||
public static Unit ToUnit(GameItem item)
|
||||
{
|
||||
string model = item.identifier.Substring(GpuPrefix.Length);
|
||||
model = Hardware.Specs.Keys.FirstOrDefault(k => k.ToLowerInvariant() == model) ?? "RZX60";
|
||||
model = Hardware.Specs.Keys.FirstOrDefault(k => k.ToLowerInvariant() == model) ?? "RTX60";
|
||||
var u = new Unit { Model = model, Health = 100 };
|
||||
if (item.IsTag(HealthTag)) u.Health = item.GetTagReadonly(HealthTag).GetDouble();
|
||||
if (item.IsTag(FakeTag)) u.FakeOf = item.GetTagReadonly(FakeTag).GetString();
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Source language and fallback. Format: key,text (text may be quoted; \n is a line break).
|
||||
upgrade.tab,Web3
|
||||
upgrade.title,Web3 Governance Community
|
||||
upgrade.desc,"Members receive a trading terminal, a mining rig, an RZX 60 graphics card and a graphics card appraisal guide. The terminal holds the bank, the Poinbase exchange and the Web3 wallet. More cards and rigs are sold by Dr. Jackson."
|
||||
upgrade.desc,"Members receive a trading terminal, a mining rig, an RTX 60 graphics card and a graphics card appraisal guide. The terminal holds the bank, the Poinbase exchange and the Web3 wallet. More cards and rigs are sold by Dr. Jackson."
|
||||
item.terminal.name,Trading Terminal
|
||||
item.terminal.desc,Wallet, the Poinbase exchange and the nightly mining report.
|
||||
item.rig.name,Mining Rig
|
||||
@@ -117,7 +117,7 @@ lbl.tier.1,"Mid"
|
||||
lbl.tier.2,"High"
|
||||
lbl.tier.3,"Flagship"
|
||||
item.guide.name,"Graphics card appraisal guide"
|
||||
item.guide.desc,"Tiers: entry has a 6-pin connector and one fan; mid 8-pin and two fans; high 8-pin and three fans; flagship dual 8-pin and three fans. Model names are display only: Probidia RZX 60 / 70 / 80 / 90, PMD RZ 70 / 80 / 800 / 900, lowest to highest tier. Serial: prefix PB (Probidia) or MD (PMD), tier code 1 to 4, a dash, a two-digit factory code, a dash, four digits. Valid factory codes: PB 11, 12, 21, 34, 47; MD 13, 22, 35, 41, 58. A tier code that does not match the model, or a bad factory code or length, means a fake. Appearance discounts: dusty blades -4%, chipped -12%; dull contacts -4%, oxidised -12%; scratched bracket -2%; missing seal -6%."
|
||||
item.guide.desc,"Tiers: entry has a 6-pin connector and one fan; mid 8-pin and two fans; high 8-pin and three fans; flagship dual 8-pin and three fans. Model names are display only: Probidia RTX 60 / 70 / 80 / 90, PMD RX 70 / 80 / 800 / 900, lowest to highest tier. Serial: prefix PB (Probidia) or MD (PMD), tier code 1 to 4, a dash, a two-digit factory code, a dash, four digits. Valid factory codes: PB 11, 12, 21, 34, 47; MD 13, 22, 35, 41, 58. A tier code that does not match the model, or a bad factory code or length, means a fake. Appearance discounts: dusty blades -4%, chipped -12%; dull contacts -4%, oxidised -12%; scratched bracket -2%; missing seal -6%."
|
||||
lbl.row.spec,"Model authenticity"
|
||||
lbl.hint,"Check: power connector and fan count, serial, back print"
|
||||
lbl.ev.prefix,"Evidence: "
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# Probably Decentralized 本地化表:简体中文(zh)
|
||||
upgrade.tab,Web3
|
||||
upgrade.title,Web3 治理社区
|
||||
upgrade.desc,"成员可获得一台交易终端、一个矿架、一张 RZX 60 显卡和一本显卡鉴定手册。终端里有银行、Poinbase 交易所和 Web3 钱包。更多显卡和矿架由杰克逊博士出售。"
|
||||
upgrade.desc,"成员可获得一台交易终端、一个矿架、一张 RTX 60 显卡和一本显卡鉴定手册。终端里有银行、Poinbase 交易所和 Web3 钱包。更多显卡和矿架由杰克逊博士出售。"
|
||||
item.terminal.name,交易终端
|
||||
item.terminal.desc,钱包、Poinbase 交易所与夜间挖矿报告。
|
||||
item.rig.name,矿架
|
||||
@@ -116,7 +116,7 @@ lbl.tier.1,"中端"
|
||||
lbl.tier.2,"高端"
|
||||
lbl.tier.3,"旗舰"
|
||||
item.guide.name,"显卡鉴定手册"
|
||||
item.guide.desc,"档次:低端 6 针供电、单风扇;中端 8 针、双风扇;高端 8 针、三风扇;旗舰双 8 针、三风扇。型号只是显示名:Probidia 为 RZX 60 / 70 / 80 / 90,PMD 为 RZ 70 / 80 / 800 / 900,按档次从低到高。序列号:前缀 PB(Probidia)或 MD(PMD),接档次码 1 至 4,一道横杠,两位工厂码,一道横杠,四位流水。合法工厂码:PB 为 11、12、21、34、47;MD 为 13、22、35、41、58。档次码与型号不符,或工厂码、位数不对,都是假的。外观折扣:叶片积灰 -4%,缺角 -12%;金手指发暗 -4%,氧化 -12%;挡板划痕 -2%;封条缺失 -6%。"
|
||||
item.guide.desc,"档次:低端 6 针供电、单风扇;中端 8 针、双风扇;高端 8 针、三风扇;旗舰双 8 针、三风扇。型号只是显示名:Probidia 为 RTX 60 / 70 / 80 / 90,PMD 为 RX 70 / 80 / 800 / 900,按档次从低到高。序列号:前缀 PB(Probidia)或 MD(PMD),接档次码 1 至 4,一道横杠,两位工厂码,一道横杠,四位流水。合法工厂码:PB 为 11、12、21、34、47;MD 为 13、22、35、41、58。档次码与型号不符,或工厂码、位数不对,都是假的。外观折扣:叶片积灰 -4%,缺角 -12%;金手指发暗 -4%,氧化 -12%;挡板划痕 -2%;封条缺失 -6%。"
|
||||
lbl.row.spec,"型号真伪"
|
||||
lbl.hint,"依据:供电口与风扇数、序列号、背面丝印"
|
||||
lbl.ev.prefix,"依据:"
|
||||
|
||||
|
|
After Width: | Height: | Size: 434 B |
|
After Width: | Height: | Size: 430 B |
|
After Width: | Height: | Size: 420 B |
|
After Width: | Height: | Size: 432 B |
|
After Width: | Height: | Size: 410 B |
|
After Width: | Height: | Size: 387 B |
|
After Width: | Height: | Size: 404 B |
|
After Width: | Height: | Size: 431 B |
|
Before Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 405 B |
|
Before Width: | Height: | Size: 424 B |
|
Before Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 428 B |
|
Before Width: | Height: | Size: 442 B |
|
After Width: | Height: | Size: 590 B |
|
After Width: | Height: | Size: 577 B |
|
After Width: | Height: | Size: 591 B |
|
After Width: | Height: | Size: 595 B |
|
After Width: | Height: | Size: 513 B |
|
After Width: | Height: | Size: 510 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 596 B |
|
Before Width: | Height: | Size: 502 B |
|
Before Width: | Height: | Size: 507 B |
|
Before Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 593 B |
|
Before Width: | Height: | Size: 596 B |
|
Before Width: | Height: | Size: 586 B |
|
Before Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 604 B |
|
After Width: | Height: | Size: 849 B |
|
After Width: | Height: | Size: 862 B |
|
After Width: | Height: | Size: 862 B |
|
After Width: | Height: | Size: 872 B |
|
After Width: | Height: | Size: 814 B |
|
After Width: | Height: | Size: 823 B |
|
After Width: | Height: | Size: 875 B |
|
After Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 805 B |
|
Before Width: | Height: | Size: 848 B |
|
Before Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 855 B |
|
Before Width: | Height: | Size: 883 B |
|
Before Width: | Height: | Size: 881 B |
|
Before Width: | Height: | Size: 874 B |
|
After Width: | Height: | Size: 151 B |
|
After Width: | Height: | Size: 148 B |
|
After Width: | Height: | Size: 151 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 140 B |
|
After Width: | Height: | Size: 139 B |
|
After Width: | Height: | Size: 146 B |
|
After Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 154 B |
|
Before Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 140 B |
|
After Width: | Height: | Size: 142 B |
|
After Width: | Height: | Size: 142 B |
|
After Width: | Height: | Size: 143 B |
|
After Width: | Height: | Size: 133 B |
|
After Width: | Height: | Size: 136 B |
|
After Width: | Height: | Size: 137 B |
|
After Width: | Height: | Size: 140 B |
|
Before Width: | Height: | Size: 136 B |
|
Before Width: | Height: | Size: 138 B |
|
Before Width: | Height: | Size: 139 B |
|
Before Width: | Height: | Size: 140 B |
|
Before Width: | Height: | Size: 146 B |
|
Before Width: | Height: | Size: 144 B |
|
Before Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 144 B |
@@ -2,7 +2,7 @@ using System;
|
||||
|
||||
namespace Decentralized
|
||||
{
|
||||
/// <summary>人脉网络里的"Web3 治理社区":整个 mod 的入口。买下后交付交易终端、一个矿架、一张 RZX 60 和一本显卡鉴定手册,并开始每天的行情与挖矿结算;更多显卡、矿架向杰克逊博士购买。</summary>
|
||||
/// <summary>人脉网络里的"Web3 治理社区":整个 mod 的入口。买下后交付交易终端、一个矿架、一张 RTX 60 和一本显卡鉴定手册,并开始每天的行情与挖矿结算;更多显卡、矿架向杰克逊博士购买。</summary>
|
||||
public static class Unlock
|
||||
{
|
||||
public const string Id = "PD_WEB3_COMMUNITY";
|
||||
@@ -38,7 +38,7 @@ namespace Decentralized
|
||||
{
|
||||
Items.Give(ModHelper.SpawnItem(Items.Terminal));
|
||||
Items.Give(ModHelper.SpawnItem(Items.Rig));
|
||||
Items.Give(ModHelper.SpawnItem(Items.GpuId("RZX60")));
|
||||
Items.Give(ModHelper.SpawnItem(Items.GpuId("RTX60")));
|
||||
Items.Give(ModHelper.SpawnItem(Items.Guide));
|
||||
Log.Info("已加入 Web3 治理社区");
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Decentralized
|
||||
public static void Subscribe()
|
||||
{
|
||||
ModHook.OnGenerateCustomerNormal += OnGenerate;
|
||||
ModHelper.AddAppraisalItem(ModInfo.Id, Appraisal, Items.GpuId("RZX60"), 2, CreateForAppraisal, u => (int)CardValue.True(Items.ToUnit(u)),
|
||||
ModHelper.AddAppraisalItem(ModInfo.Id, Appraisal, Items.GpuId("RTX60"), 2, CreateForAppraisal, u => (int)CardValue.True(Items.ToUnit(u)),
|
||||
Items.IsGpu, Items.Guide, () => L.T("appraisal.gpu"));
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Appraisal client (test)", () => Log.Guard("鉴定客户(测试)", () =>
|
||||
{
|
||||
|
||||