v0.9.4: fixed uncollectable items being upgradeable or un-IDed

This commit is contained in:
Evan Debenham 2021-07-05 18:17:38 -04:00
parent 8ff7850192
commit 4b10e06038
4 changed files with 40 additions and 0 deletions

View File

@ -104,6 +104,16 @@ public class Dewdrop extends Item {
return true; return true;
} }
@Override
public boolean isUpgradable() {
return false;
}
@Override
public boolean isIdentified() {
return true;
}
@Override @Override
//max of one dew in a stack //max of one dew in a stack
public Item quantity(int value) { public Item quantity(int value) {

View File

@ -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 { public static class GhostHero extends DirectableAlly {

View File

@ -419,6 +419,16 @@ public class TimekeepersHourglass extends Artifact {
public int value() { public int value() {
return 20; return 20;
} }
@Override
public boolean isUpgradable() {
return false;
}
@Override
public boolean isIdentified() {
return true;
}
} }

View File

@ -63,6 +63,16 @@ public abstract class DocumentPage extends Item {
hero.spendAndNext( TIME_TO_PICK_UP ); hero.spendAndNext( TIME_TO_PICK_UP );
return true; return true;
} }
@Override
public boolean isUpgradable() {
return false;
}
@Override
public boolean isIdentified() {
return true;
}
private static final String PAGE = "page"; private static final String PAGE = "page";