Added a one time invasion reminder for people who can't read docs properly.
This commit is contained in:
parent
98e3cc2697
commit
79b2946bf5
2 changed files with 8 additions and 0 deletions
|
|
@ -71,6 +71,13 @@
|
|||
}
|
||||
ShankShock.showmotd(plr);
|
||||
ShankShock.showUpdateMinder(plr);
|
||||
if (ShankShock.isAdmin(Main.player[plr].name))
|
||||
{
|
||||
if (!ShankShock.shownOneTimeInvasionMinder && ShankShock.infinateInvasion)
|
||||
{
|
||||
ShankShock.sendMessage(plr, "You must run /invade to start the infinite invasion.", new float[] { 255, 0, 0 });
|
||||
}
|
||||
}
|
||||
if (ShankShock.permaPvp)
|
||||
{
|
||||
Main.player[plr].hostile = true;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ namespace Terraria
|
|||
public static bool permaPvp = false;
|
||||
private static string saveDir = "./tshock/";
|
||||
public static int killCount = 0;
|
||||
public static bool shownOneTimeInvasionMinder = false;
|
||||
|
||||
public static string tileWhitelist = "";
|
||||
private static bool banTnt = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue