public override bool UseItem(Player player) { if (!TGEMWorld.forestInvasionUp) { Main.NewText("The forests rumble...", 175, 75, 255, false); CustomInvasion.StartCustomInvasion(); return(true); } else { return(false); } }
public override bool UseItem(Player player) { if (!ChunkyWorld.disaster) { Main.NewText("Terraria trembles...", 175, 75, 255, false); CustomInvasion.StartCustomInvasion(); ChunkyWorld.NumDisasters = 0; return(true); } else { return(false); } }
public override bool UseItem(Player player) { if (!TGEMWorld.forestInvasionUp) { Main.NewText("The forests rumble...", 175, 75, 255, false); CustomInvasion.StartCustomInvasion(); player.GetModPlayer <BTFAPlayer>().MagnoliacBool = true; player.GetModPlayer <BTFAPlayer>().GentBool = true; return(true); } else { return(false); } }