mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Implement riddle rooms
This commit is contained in:
parent
64671ef186
commit
10c1c32518
11 changed files with 1276 additions and 91 deletions
|
@ -580,6 +580,12 @@ namespace HISP.Game
|
|||
public static string KickReasonIdleFormat;
|
||||
public static string KickReasonNoTime;
|
||||
|
||||
// Riddler
|
||||
public static string RiddlerEnterAnswerFormat;
|
||||
public static string RiddlerCorrectAnswerFormat;
|
||||
public static string RiddlerIncorrectAnswer;
|
||||
public static string RiddlerAnsweredAll;
|
||||
|
||||
// Password
|
||||
public static string IncorrectPasswordMessage;
|
||||
|
||||
|
@ -591,6 +597,15 @@ namespace HISP.Game
|
|||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
public static string FormatRiddlerRiddle(string riddle)
|
||||
{
|
||||
return RiddlerEnterAnswerFormat.Replace("%RIDDLE%", riddle);
|
||||
}
|
||||
public static string FormatRiddlerAnswerCorrect(string reason)
|
||||
{
|
||||
return RiddlerCorrectAnswerFormat.Replace("%REASON%", reason);
|
||||
}
|
||||
|
||||
public static string FormatPirateTreasure(int prize)
|
||||
{
|
||||
return PirateTreasureFormat.Replace("%PRIZE%", prize.ToString("N0"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue