Modify challenge list, change display messages
This commit is contained in:
parent
0f3b2da8b7
commit
943dc88ca4
@ -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.ChallengeBouncingBlock;
|
||||||
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeBuildRace;
|
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.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.ChallengeColorChange;
|
||||||
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeDeadlyTnt;
|
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.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.ChallengeEggSmash;
|
||||||
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeFallingBlocks;
|
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeFallingBlocks;
|
||||||
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeFastFood;
|
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.ChallengeRushPush;
|
||||||
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeSmashOff;
|
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.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.ChallengeWaterHorror;
|
||||||
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeWaveCrush;
|
import nautilus.game.arcade.game.games.mineware.challenge.type.ChallengeWaveCrush;
|
||||||
import nautilus.game.arcade.game.games.mineware.effect.ChickenAttack;
|
import nautilus.game.arcade.game.games.mineware.effect.ChickenAttack;
|
||||||
@ -278,14 +275,12 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
|||||||
new ChallengeAnvilDance(this),
|
new ChallengeAnvilDance(this),
|
||||||
new ChallengeArrowRampage(this),
|
new ChallengeArrowRampage(this),
|
||||||
new ChallengeBlockLobbers(this),
|
new ChallengeBlockLobbers(this),
|
||||||
new ChallengeBouncingBlock(this), //
|
new ChallengeBouncingBlock(this),
|
||||||
new ChallengeBuildRace(this),
|
new ChallengeBuildRace(this),
|
||||||
new ChallengeCloudFall(this), //
|
new ChallengeColorChange(this),
|
||||||
new ChallengeColorChange(this), //
|
|
||||||
new ChallengeChickenShooting(this),
|
new ChallengeChickenShooting(this),
|
||||||
new ChallengeDeadlyTnt(this),
|
new ChallengeDeadlyTnt(this),
|
||||||
new ChallengeDiamondHunt(this),
|
new ChallengeDiamondHunt(this),
|
||||||
new ChallengeDogsVersusCats(this),
|
|
||||||
new ChallengeEggSmash(this),
|
new ChallengeEggSmash(this),
|
||||||
new ChallengeFallingBlocks(this),
|
new ChallengeFallingBlocks(this),
|
||||||
new ChallengeFastFood(this),
|
new ChallengeFastFood(this),
|
||||||
@ -304,8 +299,17 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
|||||||
new ChallengeRushPush(this),
|
new ChallengeRushPush(this),
|
||||||
new ChallengeSmashOff(this),
|
new ChallengeSmashOff(this),
|
||||||
new ChallengeTreasureDigger(this),
|
new ChallengeTreasureDigger(this),
|
||||||
new ChallengeVolleyPig(this), //
|
|
||||||
new ChallengeWaveCrush(this));
|
new ChallengeWaveCrush(this));
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Removed:
|
||||||
|
*
|
||||||
|
* Cloud Fall
|
||||||
|
* Dogs Vs Cats
|
||||||
|
* Navigation Maze
|
||||||
|
* Volley Pig
|
||||||
|
* Zombie Infection
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -698,7 +702,7 @@ public class BawkBawkBattles extends TeamGame implements IThrown
|
|||||||
private void showDescriptionText()
|
private void showDescriptionText()
|
||||||
{
|
{
|
||||||
List<String> messages = Lists.newArrayList(_challenge.getDescription());
|
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()
|
new BukkitRunnable()
|
||||||
{
|
{
|
||||||
|
@ -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.
|
* A challenge based on dropping from a platform in the correct block.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public class ChallengeCloudFall extends Challenge
|
public class ChallengeCloudFall extends Challenge
|
||||||
{
|
{
|
||||||
|
@ -34,6 +34,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.TeamChallenge;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A team based challenge with players disguised as dogs and cats.
|
* A team based challenge with players disguised as dogs and cats.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public class ChallengeDogsVersusCats extends TeamChallenge
|
public class ChallengeDogsVersusCats extends TeamChallenge
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.NumberTracker;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A challenge based on mazes.
|
* A challenge based on mazes.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public class ChallengeNavigationMaze extends Challenge implements NumberTracker
|
public class ChallengeNavigationMaze extends Challenge implements NumberTracker
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@ public class ChallengeRushPush extends TeamChallenge
|
|||||||
(byte) 11,
|
(byte) 11,
|
||||||
(byte) 14,
|
(byte) 14,
|
||||||
"Rush Push",
|
"Rush Push",
|
||||||
"Attack to the enemy team.",
|
"Attack the enemy team.",
|
||||||
"Push them off the platform.");
|
"Push them off the platform.");
|
||||||
|
|
||||||
Settings.setUseMapHeight();
|
Settings.setUseMapHeight();
|
||||||
|
@ -34,6 +34,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.TeamChallenge;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A challenge based on volley.
|
* A challenge based on volley.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public class ChallengeVolleyPig extends TeamChallenge
|
public class ChallengeVolleyPig extends TeamChallenge
|
||||||
{
|
{
|
||||||
|
@ -35,6 +35,8 @@ import nautilus.game.arcade.game.games.mineware.challenge.other.ZombieWrapper;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A challenge based on zombie survival.
|
* A challenge based on zombie survival.
|
||||||
|
*
|
||||||
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
public class ChallengeZombieInfection extends Challenge
|
public class ChallengeZombieInfection extends Challenge
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@ public class ChickenAttack
|
|||||||
player.teleport(_center);
|
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);
|
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.playSound(player.getLocation(), Sound.WITHER_SPAWN, 1.0F, 1.0F);
|
||||||
|
|
||||||
player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, Integer.MAX_VALUE, 1));
|
player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, Integer.MAX_VALUE, 1));
|
||||||
|
Loading…
Reference in New Issue
Block a user