v1.4.0: the scroll holder can now hold arcane resin
This commit is contained in:
@@ -451,7 +451,7 @@ items.bags.potionbandolier.name=potion bandolier
|
||||
items.bags.potionbandolier.desc=This thick bandolier fits around your chest like a sash, it has many insulated straps on it to hold potion vials.\n\nWhile inside the bandolier, your potions should be protected from the cold.
|
||||
|
||||
items.bags.scrollholder.name=scroll holder
|
||||
items.bags.scrollholder.desc=This tubular container looks like it would hold an astronomer's tools and charts, but your scrolls will fit just as well. There's even a few side compartments which would nicely fit your spell crystals.\n\nThe holder doesn't look very flammable, so your scrolls should be safe from fire inside it.
|
||||
items.bags.scrollholder.desc=This tubular container looks like it would hold an astronomer's tools and charts, but your scrolls will fit just as well. There's even a few side compartments which would nicely fit your spell crystals and powders.\n\nThe holder doesn't look very flammable, so your scrolls should be safe from fire inside it.
|
||||
|
||||
items.bags.velvetpouch.name=velvet pouch
|
||||
items.bags.velvetpouch.desc=This small velvet pouch can store many small items in it, such as seeds and runestones.
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
package com.shatteredpixel.shatteredpixeldungeon.items.bags;
|
||||
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.ArcaneResin;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.scrolls.Scroll;
|
||||
import com.shatteredpixel.shatteredpixeldungeon.items.spells.BeaconOfReturning;
|
||||
@@ -35,7 +36,7 @@ public class ScrollHolder extends Bag {
|
||||
|
||||
@Override
|
||||
public boolean canHold( Item item ) {
|
||||
if (item instanceof Scroll || item instanceof Spell){
|
||||
if (item instanceof Scroll || item instanceof Spell || item instanceof ArcaneResin){
|
||||
return super.canHold(item);
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user