Move unlock prices into Tuning
This commit is contained in:
1 parent
f14d00e93e
commit
4bb1484b4e
2 files changed
+5
-2
No files matched your search
@@ -5,6 +5,9 @@ namespace Decentralized.Domain
|
||||
/// </summary>
|
||||
public static class Tuning
|
||||
{
|
||||
/// <summary>人脉网络升级价格:Web3 治理社区(入口)、混币器。</summary>
|
||||
public const int UnlockPrice = 400, MixerUnlockPrice = 700;
|
||||
|
||||
// 挖矿
|
||||
public const double PscStartPrice = 100;
|
||||
public const double BlockReward = 90;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user