mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-10 23:25:41 +12:00
Add HORSEWHISPERER meta code.
This commit is contained in:
parent
3ccbf19244
commit
70e5a33637
1 changed files with 21 additions and 0 deletions
|
@ -777,6 +777,23 @@ namespace HISP.Game
|
|||
{
|
||||
return Messages.PasswordEntry + Messages.ExitThisPlace + Messages.MetaTerminator;
|
||||
}
|
||||
|
||||
private static string buildHorseWhisperer()
|
||||
{
|
||||
string message = "";
|
||||
foreach(HorseInfo.Breed breed in HorseInfo.Breeds.OrderBy(o => o.Name).ToList())
|
||||
{
|
||||
if (breed.Swf == "")
|
||||
continue;
|
||||
if(breed.SpawnInArea == "none")
|
||||
continue;
|
||||
message += Messages.FormatWhispererHorseBreedButton(breed.Name, breed.Id);
|
||||
}
|
||||
message += Messages.ExitThisPlace;
|
||||
message += Messages.MetaTerminator;
|
||||
return message;
|
||||
}
|
||||
|
||||
private static string buildBank(User user)
|
||||
{
|
||||
double moneyMade = 0;
|
||||
|
@ -925,6 +942,10 @@ namespace HISP.Game
|
|||
{
|
||||
message += buildPassword();
|
||||
}
|
||||
if(TileCode == "HORSEWHISPERER")
|
||||
{
|
||||
message += buildHorseWhisperer();
|
||||
}
|
||||
if(TileCode == "INN")
|
||||
{
|
||||
int InnID = int.Parse(TileArg);
|
||||
|
|
Loading…
Add table
Reference in a new issue