v0.7.0: adjusted the ordering of some displayed text
This commit is contained in:
+1
-1
@@ -114,6 +114,7 @@ public class Burning extends Buff implements Hero.Doom {
|
|||||||
|
|
||||||
if (!burnable.isEmpty()){
|
if (!burnable.isEmpty()){
|
||||||
Item toBurn = Random.element(burnable).detach(hero.belongings.backpack);
|
Item toBurn = Random.element(burnable).detach(hero.belongings.backpack);
|
||||||
|
GLog.w( Messages.get(this, "burnsup", Messages.capitalize(toBurn.toString())) );
|
||||||
if (toBurn instanceof MysteryMeat){
|
if (toBurn instanceof MysteryMeat){
|
||||||
ChargrilledMeat steak = new ChargrilledMeat();
|
ChargrilledMeat steak = new ChargrilledMeat();
|
||||||
if (!steak.collect( hero.belongings.backpack )) {
|
if (!steak.collect( hero.belongings.backpack )) {
|
||||||
@@ -121,7 +122,6 @@ public class Burning extends Buff implements Hero.Doom {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Heap.burnFX( hero.pos );
|
Heap.burnFX( hero.pos );
|
||||||
GLog.w( Messages.get(this, "burnsup", Messages.capitalize(toBurn.toString())) );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ public class Frost extends FlavourBuff {
|
|||||||
|
|
||||||
if (!freezable.isEmpty()){
|
if (!freezable.isEmpty()){
|
||||||
Item toFreeze = Random.element(freezable).detach( hero.belongings.backpack );
|
Item toFreeze = Random.element(freezable).detach( hero.belongings.backpack );
|
||||||
|
GLog.w( Messages.get(this, "freezes", toFreeze.toString()) );
|
||||||
if (toFreeze instanceof Potion){
|
if (toFreeze instanceof Potion){
|
||||||
((Potion) toFreeze).shatter(hero.pos);
|
((Potion) toFreeze).shatter(hero.pos);
|
||||||
} else if (toFreeze instanceof MysteryMeat){
|
} else if (toFreeze instanceof MysteryMeat){
|
||||||
@@ -78,7 +79,6 @@ public class Frost extends FlavourBuff {
|
|||||||
Dungeon.level.drop( carpaccio, target.pos ).sprite.drop();
|
Dungeon.level.drop( carpaccio, target.pos ).sprite.drop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GLog.w( Messages.get(this, "freezes", toFreeze.toString()) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (target instanceof Thief) {
|
} else if (target instanceof Thief) {
|
||||||
|
|||||||
+5
-5
@@ -79,7 +79,7 @@ public class ScrollOfTeleportation extends Scroll {
|
|||||||
//time isn't spent
|
//time isn't spent
|
||||||
((HeroSprite)curUser.sprite).read();
|
((HeroSprite)curUser.sprite).read();
|
||||||
teleportToLocation(curUser, target);
|
teleportToLocation(curUser, target);
|
||||||
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,14 +122,14 @@ public class ScrollOfTeleportation extends Scroll {
|
|||||||
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
|
GLog.w( Messages.get(ScrollOfTeleportation.class, "no_tele") );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
||||||
|
|
||||||
appear( hero, pos );
|
appear( hero, pos );
|
||||||
Dungeon.level.press( pos, hero );
|
Dungeon.level.press( pos, hero );
|
||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
GameScene.updateFog();
|
GameScene.updateFog();
|
||||||
|
|
||||||
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -172,11 +172,11 @@ public class ScrollOfTeleportation extends Scroll {
|
|||||||
teleportHero( hero );
|
teleportHero( hero );
|
||||||
} else {
|
} else {
|
||||||
int pos = Random.element(candidates);
|
int pos = Random.element(candidates);
|
||||||
|
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
||||||
appear( hero, pos );
|
appear( hero, pos );
|
||||||
Dungeon.level.press( pos, hero );
|
Dungeon.level.press( pos, hero );
|
||||||
Dungeon.observe();
|
Dungeon.observe();
|
||||||
GameScene.updateFog();
|
GameScene.updateFog();
|
||||||
GLog.i( Messages.get(ScrollOfTeleportation.class, "tele") );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user