mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-21 12:19:15 +12:00
Register "view companions" strings.
This commit is contained in:
parent
6ea23e5870
commit
bd149e4ecf
3 changed files with 22 additions and 5 deletions
|
@ -185,11 +185,13 @@ namespace HISP.Game
|
|||
public static string MaxJewelryMessage;
|
||||
public static string RemoveJewelry;
|
||||
|
||||
// Companion (Libary)
|
||||
public static string CompanionViewFormat;
|
||||
public static string CompanionEntryFormat;
|
||||
|
||||
// Tack (Libary)
|
||||
public static string TackViewSetFormat;
|
||||
public static string TackSetPeiceFormat;
|
||||
public static string TackBonusFormat;
|
||||
public static string TackAndSeperator;
|
||||
|
||||
// Horse
|
||||
public static string BreedViewerMaximumStats;
|
||||
|
@ -518,7 +520,14 @@ namespace HISP.Game
|
|||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
|
||||
public static string FormatCompanionEntry(string itemDescription)
|
||||
{
|
||||
return CompanionEntryFormat.Replace("%COMPANIONDESC%", itemDescription);
|
||||
}
|
||||
public static string FormatCompanionViewButton(int iconid, string itemName, string swf)
|
||||
{
|
||||
return CompanionViewFormat.Replace("%ICONID%", iconId.ToString()).Replace("%COMPANIONNAME%",itemName).Replace("%SWF%", swf);
|
||||
}
|
||||
public static string FormatTackSetPeice(string itemName, string itemDescription)
|
||||
{
|
||||
return TackSetPeiceFormat.Replace("%ITEMNAME%",itemName).Replace("%ITEMDESC%", itemDescription);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue