mirror of
https://github.com/islehorse/HISP.git
synced 2025-07-18 04:51:32 +12:00
add %RULES command, fix bugs in random events
This commit is contained in:
parent
e600554555
commit
1ad0783f8f
7 changed files with 62 additions and 4 deletions
|
@ -17,6 +17,10 @@ namespace HISP.Game
|
|||
public static string PlaytimeMessageFormat;
|
||||
public static string[] RngMessages;
|
||||
|
||||
// Rules Isle
|
||||
public static string RulesIsleSentMessage;
|
||||
public static string RulesIsleCommandMessageFormat;
|
||||
|
||||
// Mod
|
||||
public static string ModIsleMessage;
|
||||
public static string ModSplatterballEarnedYouFormat;
|
||||
|
@ -1244,6 +1248,12 @@ namespace HISP.Game
|
|||
return EventWonRealTimeRiddleForYouFormat.Replace("%PRIZE%", prize.ToString("N0", CultureInfo.InvariantCulture));
|
||||
}
|
||||
|
||||
// Rules Command
|
||||
public static string FormatRulesCommandMessage(string username)
|
||||
{
|
||||
return RulesIsleCommandMessageFormat.Replace("%USERNAME%", username.ToUpper());
|
||||
}
|
||||
|
||||
// Mute Command
|
||||
public static string FormatStoppedMutingPlayer(string username)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue