mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-12-05 16:16:35 +00:00
1
This commit is contained in:
parent
6c0cfc60de
commit
4b0c7bb942
@ -99,6 +99,8 @@ namespace Oshima.FunGame.OshimaModules.Regions
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override string GetCurrencyInfo(PluginConfig pc, User user, string storeName)
|
public override string GetCurrencyInfo(PluginConfig pc, User user, string storeName)
|
||||||
|
{
|
||||||
|
if (storeName == "dokyo_forge")
|
||||||
{
|
{
|
||||||
double forgePoints = 0;
|
double forgePoints = 0;
|
||||||
if (pc.TryGetValue("forgepoints", out object? value) && double.TryParse(value.ToString(), out double points))
|
if (pc.TryGetValue("forgepoints", out object? value) && double.TryParse(value.ToString(), out double points))
|
||||||
@ -107,6 +109,8 @@ namespace Oshima.FunGame.OshimaModules.Regions
|
|||||||
}
|
}
|
||||||
return $"现有锻造积分:{forgePoints:0.##}";
|
return $"现有锻造积分:{forgePoints:0.##}";
|
||||||
}
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
public override void SaveGlobalStore(Store store, string storeName)
|
public override void SaveGlobalStore(Store store, string storeName)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user