Modify challenge list, change display messages

This commit is contained in:
Thanos Paravantis 2016-07-13 13:23:15 +03:00
parent 0f3b2da8b7
commit 943dc88ca4
8 changed files with 25 additions and 11 deletions

View File

@ -83,11 +83,9 @@ import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeBlockLob
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeBouncingBlock;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeBuildRace;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeChickenShooting;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeCloudFall;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeColorChange;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeDeadlyTnt;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeDiamondHunt;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeDogsVersusCats;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeEggSmash;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeFallingBlocks;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeFastFood;
@ -105,7 +103,6 @@ import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeReverseT
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeRushPush;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeSmashOff;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeTreasureDigger;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeVolleyPig;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeWaterHorror;
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeWaveCrush;
import nautilus.game.arcade.game.games.mineware.effect.ChickenAttack;
@ -278,14 +275,12 @@ public class BawkBawkBattles extends TeamGame implements IThrown
new ChallengeAnvilDance(this),
new ChallengeArrowRampage(this),
new ChallengeBlockLobbers(this),
new ChallengeBouncingBlock(this), //
new ChallengeBouncingBlock(this),
new ChallengeBuildRace(this),
new ChallengeCloudFall(this), //
new ChallengeColorChange(this), //
new ChallengeColorChange(this),
new ChallengeChickenShooting(this),
new ChallengeDeadlyTnt(this),
new ChallengeDiamondHunt(this),
new ChallengeDogsVersusCats(this),
new ChallengeEggSmash(this),
new ChallengeFallingBlocks(this),
new ChallengeFastFood(this),
@ -304,8 +299,17 @@ public class BawkBawkBattles extends TeamGame implements IThrown
new ChallengeRushPush(this),
new ChallengeSmashOff(this),
new ChallengeTreasureDigger(this),
new ChallengeVolleyPig(this), //
new ChallengeWaveCrush(this));
/*
* Removed:
*
* Cloud Fall
* Dogs Vs Cats
* Navigation Maze
* Volley Pig
* Zombie Infection
*/
}
@Override
@ -698,7 +702,7 @@ public class BawkBawkBattles extends TeamGame implements IThrown
private void showDescriptionText()
{
List<String> messages = Lists.newArrayList(_challenge.getDescription());
messages.add(0, C.cGray + "Bawk Bawk says...");
messages.add(0, C.cGray + "Bawk Bawk commands...");
new BukkitRunnable()
{

View File

@ -19,6 +19,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.ChallengeType;
/**
* A challenge based on dropping from a platform in the correct block.
*
* @deprecated
*/
public class ChallengeCloudFall extends Challenge
{

View File

@ -34,6 +34,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.TeamChallenge;
/**
* A team based challenge with players disguised as dogs and cats.
*
* @deprecated
*/
public class ChallengeDogsVersusCats extends TeamChallenge
{

View File

@ -20,6 +20,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.NumberTracker;
/**
* A challenge based on mazes.
*
* @deprecated
*/
public class ChallengeNavigationMaze extends Challenge implements NumberTracker
{

View File

@ -45,7 +45,7 @@ public class ChallengeRushPush extends TeamChallenge
(byte) 11,
(byte) 14,
"Rush Push",
"Attack to the enemy team.",
"Attack the enemy team.",
"Push them off the platform.");
Settings.setUseMapHeight();

View File

@ -34,6 +34,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.TeamChallenge;
/**
* A challenge based on volley.
*
* @deprecated
*/
public class ChallengeVolleyPig extends TeamChallenge
{

View File

@ -35,6 +35,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.other.ZombieWrapper;
/**
* A challenge based on zombie survival.
*
* @deprecated
*/
public class ChallengeZombieInfection extends Challenge
{

View File

@ -81,7 +81,7 @@ public class ChickenAttack
player.teleport(_center);
UtilTextMiddle.display(C.cRed + "Chicken Attack!", "You ran out of lives.", INFORM_TITLTE_FADE_IN_TICKS, INFORM_TITLTE_STAY_TICKS, INFORM_TITLTE_FADE_OUT_TICKS, player);
UtilPlayer.message(player, F.main("Game", "You failed to follow bawk bawk's instructions and you ran out of lives. His minions are now attacking you."));
UtilPlayer.message(player, F.main("Game", "You failed to follow Bawk Bawk's commands. Now his chickens will devour you!"));
player.playSound(player.getLocation(), Sound.WITHER_SPAWN, 1.0F, 1.0F);
player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, Integer.MAX_VALUE, 1));