mirror of
https://github.com/islehorse/HISP.git
synced 2025-07-18 04:51:32 +12:00
Implement "Read Books"
This commit is contained in:
parent
0b06cd1810
commit
6c42c57bfe
6 changed files with 243 additions and 1 deletions
|
@ -185,6 +185,11 @@ namespace HISP.Game
|
|||
public static string MaxJewelryMessage;
|
||||
public static string RemoveJewelry;
|
||||
|
||||
// Books (Libary)
|
||||
public static string BooksOfHorseIsle;
|
||||
public static string BookEntryFormat;
|
||||
public static string BookReadFormat;
|
||||
|
||||
// Awards (Libary)
|
||||
public static string AwardsAvalible;
|
||||
public static string AwardEntryFormat;
|
||||
|
@ -542,6 +547,15 @@ namespace HISP.Game
|
|||
|
||||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
public static string FormatBookReadMeta(string author, string title, string bookText)
|
||||
{
|
||||
return BookReadFormat.Replace("%AUTHOR%", author).Replace("%TITLE%", title).Replace("%TEXT%", bookText);
|
||||
}
|
||||
public static string FormatBookEntry(string title, string author, int id)
|
||||
{
|
||||
return BookEntryFormat.Replace("%TITLE%", title).Replace("%AUTHOR%", author).Replace("%ID%", id.ToString());
|
||||
}
|
||||
public static string FormatIpBannedMessage(string Ip)
|
||||
{
|
||||
return LoginFailedReasonBannedIpFormat.Replace("%IP%", Ip);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue