mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
Fully implement libarys!
This commit is contained in:
parent
e9cee36b24
commit
2c77957434
5 changed files with 80 additions and 4 deletions
|
@ -151,6 +151,12 @@ namespace HISP.Game
|
|||
public static string LibaryFindNpcSearchNoResults;
|
||||
public static string LibaryFindNpcLimit5;
|
||||
|
||||
public static string LibaryFindRanch;
|
||||
public static string LibaryFindRanchResultsHeader;
|
||||
public static string LibaryFindRanchResultFormat;
|
||||
public static string LibaryFindRanchResultsNoResults;
|
||||
|
||||
|
||||
public static string HorseBreedFormat;
|
||||
public static string HorseRelativeFormat;
|
||||
public static string BreedViewerFormat;
|
||||
|
@ -1184,6 +1190,11 @@ namespace HISP.Game
|
|||
{
|
||||
return HorseBreedFormat.Replace("%NAME%", name).Replace("%ID%", id.ToString());
|
||||
}
|
||||
public static string FormatRanchSearchResult(string name, int x, int y)
|
||||
{
|
||||
string mapXy = FormatMapLocation(x, y);
|
||||
return LibaryFindRanchResultFormat.Replace("%USERNAME%", name).Replace("%MAPXY%", mapXy);
|
||||
}
|
||||
public static string FormatNpcSearchResult(string name, string desc,int x, int y)
|
||||
{
|
||||
string mapXy = FormatMapLocation(x, y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue