v0.3.4: externalized quest item strings
This commit is contained in:
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 {
|
public static class DustGhostSpawner extends Buff {
|
||||||
|
|
||||||
int spawnPower = 0;
|
int spawnPower = 0;
|
||||||
|
|
|
@ -42,13 +42,6 @@ public class DarkGold extends Item {
|
||||||
return true;
|
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
|
@Override
|
||||||
public int price() {
|
public int price() {
|
||||||
return quantity;
|
return quantity;
|
||||||
|
|
|
@ -42,13 +42,6 @@ public class DwarfToken extends Item {
|
||||||
return true;
|
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
|
@Override
|
||||||
public int price() {
|
public int price() {
|
||||||
return quantity * 100;
|
return quantity * 100;
|
||||||
|
|
|
@ -42,12 +42,6 @@ public class Embers extends Item {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String info() {
|
|
||||||
return
|
|
||||||
"Special embers which can only be harvested from young fire elementals. They radiate thermal energy.";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemSprite.Glowing glowing() {
|
public ItemSprite.Glowing glowing() {
|
||||||
return new ItemSprite.Glowing(0x660000, 3f);
|
return new ItemSprite.Glowing(0x660000, 3f);
|
||||||
|
|
|
@ -49,8 +49,6 @@ public class Pickaxe extends Weapon {
|
||||||
|
|
||||||
public static final float TIME_TO_MINE = 2;
|
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 );
|
private static final Glowing BLOODY = new Glowing( 0x550000 );
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -88,7 +86,7 @@ public class Pickaxe extends Weapon {
|
||||||
if (action == AC_MINE) {
|
if (action == AC_MINE) {
|
||||||
|
|
||||||
if (Dungeon.depth < 11 || Dungeon.depth > 15) {
|
if (Dungeon.depth < 11 || Dungeon.depth > 15) {
|
||||||
GLog.w( TXT_NO_VEIN );
|
GLog.w( Messages.get(this, "no_vein") );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,7 +130,7 @@ public class Pickaxe extends Weapon {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GLog.w( TXT_NO_VEIN );
|
GLog.w( Messages.get(this, "no_vein") );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -180,9 +178,4 @@ public class Pickaxe extends Weapon {
|
||||||
return bloodStained ? BLOODY : null;
|
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;
|
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
|
@Override
|
||||||
public int price() {
|
public int price() {
|
||||||
return 100;
|
return 100;
|
||||||
|
|
|
@ -517,12 +517,20 @@ items.potions.potionofstrength.name=potion of strength
|
||||||
items.potions.potionoftoxicgas.name=potion of toxic gas
|
items.potions.potionoftoxicgas.name=potion of toxic gas
|
||||||
|
|
||||||
items.quest.ceremonialcandle.name=ceremonial candle
|
items.quest.ceremonialcandle.name=ceremonial candle
|
||||||
|
items.quest.ceremonialcandle.desc=A set of candles, melted down and fused together through use.\n\nAlone they are worthless, but used with other candles in a pattern, they can focus the energy for a summoning ritual.
|
||||||
items.quest.corpsedust.name=corpse dust
|
items.quest.corpsedust.name=corpse dust
|
||||||
|
items.quest.corpsedust.desc=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\nGetting rid of it as soon as possible would be a good idea.
|
||||||
items.quest.darkgold.name=dark gold ore
|
items.quest.darkgold.name=dark gold ore
|
||||||
|
items.quest.darkgold.desc=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.
|
||||||
items.quest.dwarftoken.name=dwarf token
|
items.quest.dwarftoken.name=dwarf token
|
||||||
|
items.quest.dwarftoken.desc=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.
|
||||||
items.quest.embers.name=elemental embers
|
items.quest.embers.name=elemental embers
|
||||||
|
items.quest.embers.desc=Special embers which can only be harvested from young fire elementals. They radiate thermal energy.
|
||||||
items.quest.pickaxe.name=pickaxe
|
items.quest.pickaxe.name=pickaxe
|
||||||
|
items.quest.pickaxe.no_vein=There is no dark gold vein near you to mine
|
||||||
|
items.quest.pickaxe.desc=This is a large and sturdy tool for breaking rocks. Probably it can be used as a weapon.
|
||||||
items.quest.ratskull.name=giant rat skull
|
items.quest.ratskull.name=giant rat skull
|
||||||
|
items.quest.ratskull.desc=A surprisingly large rat skull. It would make a great hunting trophy, if you had a wall to mount it on.
|
||||||
|
|
||||||
items.rings.ringofaccuracy.name=ring of accuracy
|
items.rings.ringofaccuracy.name=ring of accuracy
|
||||||
items.rings.ringofelements.name=ring of elements
|
items.rings.ringofelements.name=ring of elements
|
||||||
|
|
Loading…
Reference in New Issue
Block a user