v0.3.4: externalized key strings

This commit is contained in:
Evan Debenham 2016-01-01 22:22:33 -05:00 committed by Evan Debenham
parent 11e0dd8965
commit a2ec0d5b1c
4 changed files with 9 additions and 23 deletions

View File

@ -36,11 +36,5 @@ public class GoldenKey extends Key {
super();
this.depth = depth;
}
@Override
public String info() {
return
"The notches on this golden key are tiny and intricate. " +
"Maybe it can open some chest lock?";
}
}

View File

@ -58,11 +58,5 @@ public class IronKey extends Key {
Dungeon.hero.belongings.countIronKeys();
}
}
@Override
public String info() {
return
"The notches on this ancient iron key are well worn; its leather lanyard " +
"is battered by age. What door might it open?";
}
}

View File

@ -43,10 +43,5 @@ public class SkeletonKey extends Key {
public boolean isSimilar( Item item ) {
return false;
}
@Override
public String info() {
return
"This key looks serious: its head is shaped like a skull. Probably it can open some serious door.";
}
}

View File

@ -496,9 +496,12 @@ items.food.pasty.cane=candy cane
items.food.food.pasty_desc=This is authentic Cornish pasty with traditional filling of beef and potato.
items.food.food.cane_desc=A huge sugary sweet candy cane! It's big enough to fill you up, and the sugar might give your wands a tiny bit of extra charge too.\n\nHappy Holidays!
items.keys.GoldenKey.name=golden key
items.keys.IronKey.name=iron key
items.keys.SkeletonKey.name=skeleton key
items.keys.goldenkey.name=golden key
items.keys.goldenkey.desc=The notches on this golden key are tiny and intricate. Maybe it can open some chest lock?
items.keys.ironkey.name=iron key
items.keys.ironkey.desc=The notches on this ancient iron key are well worn; its leather lanyard is battered by age. What door might it open?
items.keys.skeletonkey.name=skeleton key
items.keys.skeletonkey.desc=This key looks serious: its head is shaped like a skull. Probably it can open some serious door.
items.potions.potionofexperience.name=potion of experience
items.potions.potionoffrost.name=potion of frost