mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
Add pot of gold.
This commit is contained in:
parent
2c77957434
commit
a7ad6fc60c
6 changed files with 31 additions and 4 deletions
|
@ -419,6 +419,7 @@ namespace HISP.Game
|
|||
|
||||
// Treasure
|
||||
public static string PirateTreasureFormat;
|
||||
public static string PotOfGoldFormat;
|
||||
|
||||
|
||||
// Groomer
|
||||
|
@ -778,6 +779,10 @@ namespace HISP.Game
|
|||
{
|
||||
return PirateTreasureFormat.Replace("%PRIZE%", prize.ToString("N0"));
|
||||
}
|
||||
public static string FormatPotOfGold(int prize)
|
||||
{
|
||||
return PotOfGoldFormat.Replace("%PRIZE%", prize.ToString("N0"));
|
||||
}
|
||||
public static string FormatWorkshopCraftEntry(int iconId, string itemName, int price, int itemId, int craftId)
|
||||
{
|
||||
return WorkshopCraftEntryFormat.Replace("%ICONID%", iconId.ToString()).Replace("%ITEMNAME%", itemName).Replace("%PRICE%", price.ToString("N0")).Replace("%ITEMID%", itemId.ToString()).Replace("%CRAFTID%", craftId.ToString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue