Stage 9.2: mixer operator Tumbler storyline with key drive item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
62bd641283
commit
a5f9639970
15 files changed
+386
-6
No files matched your search
@@ -19,6 +19,7 @@ namespace Decentralized
|
||||
public const string Web3Guide = "pd_web3_guide";
|
||||
public const string GpuPrefix = "pd_gpu_";
|
||||
public const string HwWallet = "pd_hw_wallet";
|
||||
public const string KeyDrive = "pd_key_drive";
|
||||
/// <summary>硬件钱包被动过手脚(供应链投毒)。外观、说明都不显示。</summary>
|
||||
public const string PoisonTag = "PD_POISONED";
|
||||
|
||||
@@ -47,6 +48,7 @@ namespace Decentralized
|
||||
dir.Add(Guide, CreateGuide);
|
||||
dir.Add(Web3Guide, CreateWeb3Guide);
|
||||
dir.Add(HwWallet, CreateHwWallet);
|
||||
dir.Add(KeyDrive, CreateKeyDrive);
|
||||
AsicItems.Register(dir);
|
||||
foreach (var spec in Hardware.Specs.Values.Where(s => !s.Asic && !s.Scrap))
|
||||
{
|
||||
@@ -128,6 +130,19 @@ namespace Decentralized
|
||||
return item;
|
||||
}
|
||||
|
||||
/// <summary>Tumbler 的密钥盘:违禁品(高),搜查时被翻出来按价值记罪证。</summary>
|
||||
private static GameItem CreateKeyDrive()
|
||||
{
|
||||
var item = ItemDirectory.CreateEmptyItem(KeyDrive);
|
||||
item.SetSpriteAndShapeFromMod(ModInfo.Id, "key_drive");
|
||||
item.name = L.T("item.keydrive.name");
|
||||
item.shortDescription = L.T("item.keydrive.desc");
|
||||
item.unitValue = Tuning.TumblerDriveValue;
|
||||
ContrabandHelper.InitContrabandItem(item, 3);
|
||||
ModHelper.SetSource(item, ModInfo.Id, ModInfo.Name);
|
||||
return item;
|
||||
}
|
||||
|
||||
private static bool CanTarget(GameItem t) => t != null && t.identifier == Terminal && (CanAddWallet?.Invoke() ?? false);
|
||||
|
||||
public static GameItem NewHwWallet(bool poisoned)
|
||||
|
||||
Reference in new issue
Block a user