v0.3.4: externalized bag strings

This commit is contained in:
Evan Debenham 2016-01-01 22:18:31 -05:00 committed by Evan Debenham
parent 861fa34420
commit f5254365a3
6 changed files with 16 additions and 26 deletions

View File

@ -25,6 +25,10 @@ import com.shatteredpixel.shatteredpixeldungeon.Badges;
import com.shatteredpixel.shatteredpixeldungeon.Challenges;
import com.shatteredpixel.shatteredpixeldungeon.Dungeon;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.PotionBandolier;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.ScrollHolder;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.SeedPouch;
import com.shatteredpixel.shatteredpixeldungeon.items.bags.WandHolster;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.items.armor.ClothArmor;
import com.shatteredpixel.shatteredpixeldungeon.items.artifacts.CloakOfShadows;
@ -87,6 +91,11 @@ public enum HeroClass {
if (!Dungeon.isChallenged(Challenges.NO_FOOD))
new Food().identify().collect();
new SeedPouch().collect();
new WandHolster().collect();
new PotionBandolier().collect();
new ScrollHolder().collect();
}
public Badges.Badge masteryBadge() {

View File

@ -42,10 +42,4 @@ public class PotionBandolier extends Bag {
return 50;
}
@Override
public String info() {
return
"This thick bandolier fits around your chest like a sash, it has many small vials to hold your potions.\n\n" +
"The vials are made of tempered glass, and should be quite resistant to the cold.";
}
}

View File

@ -41,11 +41,5 @@ public class ScrollHolder extends Bag {
public int price() {
return 50;
}
@Override
public String info() {
return
"This tubular container looks like it would hold an astronomer's charts, but your scrolls will fit just as well.\n\n" +
"The holder doesn't look very flammable, so your scrolls should be safe from fire inside it.";
}
}

View File

@ -41,10 +41,5 @@ public class SeedPouch extends Bag {
public int price() {
return 50;
}
@Override
public String info() {
return
"This small velvet pouch allows you to store any number of seeds in it. Very convenient.";
}
}

View File

@ -64,11 +64,5 @@ public class WandHolster extends Bag {
public int price() {
return 50;
}
@Override
public String info() {
return
"This slim holster is made from some exotic animal, and is designed to compactly carry up to " + size + " wands.\n\n" +
"The size seems a bit excessive, who would ever have that many wands?";
}
}

View File

@ -443,9 +443,13 @@ items.artifacts.unstablespellbook.name=unstable spellbook
items.bags.bag.name=backpack
items.bags.potionbandolier.name=potion bandolier
items.bags.potionbandolier.desc=This thick bandolier fits around your chest like a sash, it has many small vials to hold your potions.\n\nThe vials are made of tempered glass, and should be quite resistant to the cold.
items.bags.scrollholder.name=scroll holder
items.bags.scrollholder.desc=This tubular container looks like it would hold an astronomer's charts, but your scrolls will fit just as well.\n\nThe holder doesn't look very flammable, so your scrolls should be safe from fire inside it.
items.bags.seedpouch.name=seed pouch
items.bags.seedpouch.desc=This small velvet pouch allows you to store any number of seeds in it. Very convenient.
items.bags.wandholster.name=wand holster
items.bags.wandholster.desc=This slim holster is made from some exotic animal, and is designed to compactly hold many wands.
items.food.blandfruit.name=blandfruit
items.food.blandfruit.sunfruit=sunfruit