v0.7.0: fixed text bugs with feather fall, corrected porter logic

This commit is contained in:
Evan Debenham 2018-09-17 14:07:45 -04:00
parent c1a350af1f
commit 8663623d19
3 changed files with 8 additions and 6 deletions

View File

@ -44,7 +44,7 @@ public class FeatherFall extends Spell {
hero.sprite.operate(hero.pos);
Sample.INSTANCE.play(Assets.SND_READ );
GLog.p(Messages.get(this, "feather"));
GLog.p(Messages.get(this, "light"));
detach( curUser.belongings.backpack );
updateQuickslot();

View File

@ -53,9 +53,10 @@ public class MagicalPorter extends InventorySpell {
protected void onItemSelected(Item item) {
Item result = item.detachAll(curUser.belongings.backpack);
ArrayList<Item> ported = Dungeon.portedItems.get(5);
int portDepth = 5 * (1 + Dungeon.depth/5);
ArrayList<Item> ported = Dungeon.portedItems.get(portDepth);
if (ported == null) {
Dungeon.portedItems.put(5 * (1 + Dungeon.depth/5), ported = new ArrayList<>());
Dungeon.portedItems.put(portDepth, ported = new ArrayList<>());
}
ported.add(result);

View File

@ -134,12 +134,12 @@ items.armor.warriorarmor.desc=While this armor looks heavy, it allows a warrior
###artifacts
items.artifacts.alchemiststoolkit.name=alchemists toolkit
items.artifacts.alchemiststoolkit.name=alchemist's toolkit
items.artifacts.alchemiststoolkit.ac_brew=BREW
items.artifacts.alchemiststoolkit.not_ready=Your toolkit has not finished warming up.
items.artifacts.alchemiststoolkit.cursed=Your cursed toolkit prevents you from using alchemy!
items.artifacts.alchemiststoolkit.enemy_near=You cannot do that with enemies nearby.
items.artifacts.alchemiststoolkit.desc=This toolkit contains a number of regents and herbs along with a small mixing vial, allowing for alchemy on-the-go.
items.artifacts.alchemiststoolkit.desc=This toolkit contains a number of reagents and herbs along with a small mixing vial, allowing for alchemy on-the-go.
items.artifacts.alchemiststoolkit.desc_cursed=The cursed toolkit has bound itself to your side, and refuses to let you use alchemy.
items.artifacts.alchemiststoolkit.desc_warming=The toolkit is currently warming up, and will be ready to use after you gain experience.
items.artifacts.alchemiststoolkit.desc_hint=The equipped toolkit is slowly generating alchemical energy as you gain experience. Perhaps it could be enhanced in an alchemy pot?
@ -925,11 +925,12 @@ items.spells.beaconofreturning.desc_set=This beacon was set somewhere on floor %
items.spells.beaconofreturning.desc=This intricate spell grants the user the ability to return to a set location, regardless of distance. The spell will only be consumed by returning, it can be set as many times as you like, but it will only remember the most recent location it was set to.
items.spells.curseinfusion.name=curse infusion
items.spells.curseinfusion.inv_title=Curse an item
items.spells.curseinfusion.desc=This spell infuses a piece of equipment with the same malignant magic present within DM-300. The item it is used on will immediately be cursed, and any enchantment or glyph it may have had will be overridden.
items.spells.featherfall.name=feather fall
items.spells.featherfall.light=You feel light as a feather!
items.spells.featherfall.desc=This spell manipulates gravity's affect on the caster, allowing them to fall great distances without harm for a short time.
items.spells.featherfall.desc=This spell manipulates gravity's affect on the caster, allowing them to fall great distances without harm for a short time. Each use of the spell will only provide enough protection for one chasm.
items.spells.spell.ac_cast=CAST