mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-18 19:01:32 +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;
|
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)
|
private static string buildBank(User user)
|
||||||
{
|
{
|
||||||
double moneyMade = 0;
|
double moneyMade = 0;
|
||||||
|
@ -925,6 +942,10 @@ namespace HISP.Game
|
||||||
{
|
{
|
||||||
message += buildPassword();
|
message += buildPassword();
|
||||||
}
|
}
|
||||||
|
if(TileCode == "HORSEWHISPERER")
|
||||||
|
{
|
||||||
|
message += buildHorseWhisperer();
|
||||||
|
}
|
||||||
if(TileCode == "INN")
|
if(TileCode == "INN")
|
||||||
{
|
{
|
||||||
int InnID = int.Parse(TileArg);
|
int InnID = int.Parse(TileArg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue