Added a one time invasion reminder for people who can't read docs properly.

This commit is contained in:
Shank 2011-05-29 00:29:54 -06:00
parent 98e3cc2697
commit 79b2946bf5
2 changed files with 8 additions and 0 deletions

View file

@ -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;

View file

@ -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;