Move unlock prices into Tuning

This commit is contained in:
ZHU MINCHAO committed 2026-11-03 17:31:12 +08:00
1 parent f14d00e93e
commit 4bb1484b4e
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -6,13 +6,13 @@ namespace Decentralized
public static class Unlock
{
public const string Id = "PD_WEB3_COMMUNITY";
public const int Price = 400;
public const int Price = Domain.Tuning.UnlockPrice;
private const string Card = "Service";
/// <summary>人脉网络里本 mod 自己的一页:入口、混币器等 Web3 相关升级都放在这里。</summary>
public const string Tab = "PD_WEB3";
public const string MixerId = "PD_MIXER";
public const int MixerPrice = 700;
public const int MixerPrice = Domain.Tuning.MixerUnlockPrice;
public static bool MixerUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(MixerId);
public static bool IsUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(Id);