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

+3
View File
@@ -5,6 +5,9 @@ namespace Decentralized.Domain
/// </summary> /// </summary>
public static class Tuning public static class Tuning
{ {
/// <summary>人脉网络升级价格:Web3 治理社区(入口)、混币器。</summary>
public const int UnlockPrice = 400, MixerUnlockPrice = 700;
// 挖矿 // 挖矿
public const double PscStartPrice = 100; public const double PscStartPrice = 100;
public const double BlockReward = 90; public const double BlockReward = 90;
+2 -2
View File
@@ -6,13 +6,13 @@ namespace Decentralized
public static class Unlock public static class Unlock
{ {
public const string Id = "PD_WEB3_COMMUNITY"; public const string Id = "PD_WEB3_COMMUNITY";
public const int Price = 400; public const int Price = Domain.Tuning.UnlockPrice;
private const string Card = "Service"; private const string Card = "Service";
/// <summary>人脉网络里本 mod 自己的一页:入口、混币器等 Web3 相关升级都放在这里。</summary> /// <summary>人脉网络里本 mod 自己的一页:入口、混币器等 Web3 相关升级都放在这里。</summary>
public const string Tab = "PD_WEB3"; public const string Tab = "PD_WEB3";
public const string MixerId = "PD_MIXER"; 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 MixerUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(MixerId);
public static bool IsUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(Id); public static bool IsUnlocked => PlayerStore.Instance != null && ModHelper.IsNetworkUpgradeUnlocked(Id);