v0.3.4: externalized quest item strings
This commit is contained in:
committed by
Evan Debenham
parent
a2ec0d5b1c
commit
1885fdc17a
@@ -125,12 +125,4 @@ public class CeremonialCandle extends Item {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"A set of candles, melted down and fused together through use.\n\n" +
|
||||
"Alone they are worthless, but used with other candles in a pattern, " +
|
||||
"they can focus the energy for a summoning ritual.";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,14 +81,6 @@ public class CorpseDust extends Item {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"The ball of corpse dust doesn't differ outwardly from a regular dust ball. But you " +
|
||||
"can feel a malevolent energy lurking within it.\n\n" +
|
||||
"Getting rid of it as soon as possible would be a good idea.";
|
||||
}
|
||||
|
||||
public static class DustGhostSpawner extends Buff {
|
||||
|
||||
int spawnPower = 0;
|
||||
|
||||
@@ -42,13 +42,6 @@ public class DarkGold extends Item {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"This metal is called dark not because of its color (it doesn't differ from the normal gold), " +
|
||||
"but because it melts under the daylight, making it useless on the surface.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
return quantity;
|
||||
|
||||
@@ -42,13 +42,6 @@ public class DwarfToken extends Item {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"Many dwarves and some of their larger creations carry these small pieces of metal of unknown purpose. " +
|
||||
"Maybe they are jewelry or maybe some kind of ID. Dwarves are strange folk.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
return quantity * 100;
|
||||
|
||||
@@ -42,12 +42,6 @@ public class Embers extends Item {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"Special embers which can only be harvested from young fire elementals. They radiate thermal energy.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemSprite.Glowing glowing() {
|
||||
return new ItemSprite.Glowing(0x660000, 3f);
|
||||
|
||||
@@ -49,8 +49,6 @@ public class Pickaxe extends Weapon {
|
||||
|
||||
public static final float TIME_TO_MINE = 2;
|
||||
|
||||
private static final String TXT_NO_VEIN = "There is no dark gold vein near you to mine";
|
||||
|
||||
private static final Glowing BLOODY = new Glowing( 0x550000 );
|
||||
|
||||
{
|
||||
@@ -88,7 +86,7 @@ public class Pickaxe extends Weapon {
|
||||
if (action == AC_MINE) {
|
||||
|
||||
if (Dungeon.depth < 11 || Dungeon.depth > 15) {
|
||||
GLog.w( TXT_NO_VEIN );
|
||||
GLog.w( Messages.get(this, "no_vein") );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -132,7 +130,7 @@ public class Pickaxe extends Weapon {
|
||||
}
|
||||
}
|
||||
|
||||
GLog.w( TXT_NO_VEIN );
|
||||
GLog.w( Messages.get(this, "no_vein") );
|
||||
|
||||
} else {
|
||||
|
||||
@@ -179,10 +177,5 @@ public class Pickaxe extends Weapon {
|
||||
public Glowing glowing() {
|
||||
return bloodStained ? BLOODY : null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"This is a large and sturdy tool for breaking rocks. Probably it can be used as a weapon.";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -43,12 +43,6 @@ public class RatSkull extends Item {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String info() {
|
||||
return
|
||||
"A surprisingly large rat skull. It would make a great hunting trophy, if you had a wall to mount it on.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int price() {
|
||||
return 100;
|
||||
|
||||
Reference in New Issue
Block a user