v2.0.0: fixed capitalization errors in item freezing/burning text
This commit is contained in:
@@ -117,7 +117,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.title())) );
|
GLog.w( Messages.capitalize(Messages.get(this, "burnsup", toBurn.title())) );
|
||||||
if (toBurn instanceof MysteryMeat || toBurn instanceof FrozenCarpaccio){
|
if (toBurn instanceof MysteryMeat || toBurn instanceof FrozenCarpaccio){
|
||||||
ChargrilledMeat steak = new ChargrilledMeat();
|
ChargrilledMeat steak = new ChargrilledMeat();
|
||||||
if (!steak.collect( hero.belongings.backpack )) {
|
if (!steak.collect( hero.belongings.backpack )) {
|
||||||
|
|||||||
@@ -71,7 +71,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.title()) );
|
GLog.w( Messages.capitalize(Messages.get(this, "freezes", toFreeze.title())) );
|
||||||
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){
|
||||||
|
|||||||
Reference in New Issue
Block a user