mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Implement "Read Books"
This commit is contained in:
parent
0b06cd1810
commit
6c42c57bfe
6 changed files with 243 additions and 1 deletions
|
@ -458,6 +458,26 @@ namespace HISP.Game
|
|||
message += Messages.MetaTerminator;
|
||||
return message;
|
||||
}
|
||||
public static string BuildBookReadLibary(Book book)
|
||||
{
|
||||
string message = "";
|
||||
message = Messages.FormatBookReadMeta(book.Author, book.Title, book.Text);
|
||||
message += Messages.BackToMap;
|
||||
message += Messages.MetaTerminator;
|
||||
return message;
|
||||
}
|
||||
public static string BuildBooksLibary()
|
||||
{
|
||||
string message = "";
|
||||
message += Messages.BooksOfHorseIsle;
|
||||
foreach(Book libaryBook in Book.LibaryBooks.OrderBy(o => o.Title).ToArray())
|
||||
{
|
||||
message += Messages.FormatBookEntry(libaryBook.Title, libaryBook.Author, libaryBook.Id);
|
||||
}
|
||||
message += Messages.BackToMap;
|
||||
message += Messages.MetaTerminator;
|
||||
return message;
|
||||
}
|
||||
|
||||
public static string BuildHorseReleased()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue