@Override public boolean collect( Bag container ) { if (super.collect( container )){ setAction(); return true; } else { return false; } }
@Override public boolean collect( Bag container ) { if (super.collect( container )){ setAction(); return true; } else { return false; } }
@Override public void setKnown() { if (!isKnown()) { handler.know(exoToReg.get(this.getClass())); updateQuickslot(); Potion p = Dungeon.hero.belongings.getItem(getClass()); if (p != null) p.setAction(); p = Dungeon.hero.belongings.getItem(exoToReg.get(this.getClass())); if (p != null) p.setAction(); } }
@Override public void setKnown() { if (!isKnown()) { handler.know(exoToReg.get(this.getClass())); updateQuickslot(); Potion p = Dungeon.hero.belongings.getItem(getClass()); if (p != null) p.setAction(); p = Dungeon.hero.belongings.getItem(exoToReg.get(this.getClass())); if (p != null) p.setAction(); } }
public void setKnown() { if (!anonymous) { if (!isKnown()) { handler.know(this); updateQuickslot(); Potion p = Dungeon.hero.belongings.getItem(getClass()); if (p != null) p.setAction(); if (ExoticPotion.regToExo.get(getClass()) != null) { p = Dungeon.hero.belongings.getItem(ExoticPotion.regToExo.get(getClass())); if (p != null) p.setAction(); } } if (Dungeon.hero.isAlive()) { Catalog.setSeen(getClass()); } } }
public void setKnown() { if (!anonymous) { if (!isKnown()) { handler.know(this); updateQuickslot(); Potion p = Dungeon.hero.belongings.getItem(getClass()); if (p != null) p.setAction(); if (ExoticPotion.regToExo.get(getClass()) != null) { p = Dungeon.hero.belongings.getItem(ExoticPotion.regToExo.get(getClass())); if (p != null) p.setAction(); } } if (Dungeon.hero.isAlive()) { Catalog.setSeen(getClass()); } } }
@Override public void reset(){ super.reset(); if (handler != null && handler.contains(this)) { image = handler.image(this); color = handler.label(this); } setAction(); }
@Override public void reset(){ super.reset(); if (handler != null && handler.contains(this)) { image = handler.image(this); color = handler.label(this); } setAction(); }