v0.9.4: fixed uncollectable items being upgradeable or un-IDed
This commit is contained in:
parent
8ff7850192
commit
4b10e06038
|
@ -104,6 +104,16 @@ public class Dewdrop extends Item {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpgradable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isIdentified() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
//max of one dew in a stack
|
||||
public Item quantity(int value) {
|
||||
|
|
|
@ -479,6 +479,16 @@ public class DriedRose extends Artifact {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpgradable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isIdentified() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class GhostHero extends DirectableAlly {
|
||||
|
|
|
@ -419,6 +419,16 @@ public class TimekeepersHourglass extends Artifact {
|
|||
public int value() {
|
||||
return 20;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpgradable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isIdentified() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -63,6 +63,16 @@ public abstract class DocumentPage extends Item {
|
|||
hero.spendAndNext( TIME_TO_PICK_UP );
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpgradable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isIdentified() {
|
||||
return true;
|
||||
}
|
||||
|
||||
private static final String PAGE = "page";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user