V0.2.0: Updated TODOs

This commit is contained in:
Evan Debenham 2014-09-11 00:48:13 -04:00
parent 69e82d475d
commit 9c8ab0ccc9
17 changed files with 14 additions and 17 deletions

View File

@ -705,7 +705,7 @@ public class Badges {
} }
} }
//TODO: Replace this badge //TODO: Replace this badge, Delayed to 0.2.1
public static void validateRingOfHaggler() { public static void validateRingOfHaggler() {
if (!local.contains( Badge.RING_OF_HAGGLER )/* && new RingOfThorns().isKnown()*/) { if (!local.contains( Badge.RING_OF_HAGGLER )/* && new RingOfThorns().isKnown()*/) {
Badge badge = Badge.RING_OF_HAGGLER; Badge badge = Badge.RING_OF_HAGGLER;
@ -714,7 +714,7 @@ public class Badges {
} }
} }
//TODO: Replace this badge //TODO: Replace this badge, Delayed to 0.2.1
public static void validateRingOfThorns() { public static void validateRingOfThorns() {
if (!local.contains( Badge.RING_OF_THORNS )/* && new RingOfThorns().isKnown()*/) { if (!local.contains( Badge.RING_OF_THORNS )/* && new RingOfThorns().isKnown()*/) {
Badge badge = Badge.RING_OF_THORNS; Badge badge = Badge.RING_OF_THORNS;

View File

@ -128,9 +128,7 @@ public class Ankh extends Item {
@Override @Override
public void restoreFromBundle( Bundle bundle ) { public void restoreFromBundle( Bundle bundle ) {
super.restoreFromBundle( bundle ); super.restoreFromBundle( bundle );
//TODO: remove when saves from 0.1.1 are invalidated blessed = bundle.getBoolean( BLESSED );
if (bundle.contains( BLESSED ))
blessed = bundle.getBoolean( BLESSED );
} }
@Override @Override

View File

@ -15,7 +15,7 @@ import java.util.ArrayList;
* Created by Evan on 24/08/2014. * Created by Evan on 24/08/2014.
*/ */
public class Artifact extends KindofMisc { public class Artifact extends KindofMisc {
//TODO: add artifact transform method and tie it into well of transformation
{ {
levelKnown = true; levelKnown = true;
} }

View File

@ -16,7 +16,7 @@ import com.watabou.utils.Random;
* Created by debenhame on 03/09/2014. * Created by debenhame on 03/09/2014.
*/ */
public class CapeOfThorns extends Artifact { public class CapeOfThorns extends Artifact {
//TODO: add polish, testing //TODO: add polish, testing, numbers tweaking
{ {
name = "Cape of Thorns"; name = "Cape of Thorns";

View File

@ -22,6 +22,7 @@ import java.util.ArrayList;
public class ChaliceOfBlood extends Artifact { public class ChaliceOfBlood extends Artifact {
//TODO: add polish //TODO: add polish
//TODO: add sprite switching //TODO: add sprite switching
//TODO: decide on max level 8 or 10. balance accordingly.
private static final String TXT_CHALICE = "Chalice of Blood"; private static final String TXT_CHALICE = "Chalice of Blood";
private static final String TXT_YES = "Yes, I know what I'm doing"; private static final String TXT_YES = "Yes, I know what I'm doing";

View File

@ -19,7 +19,7 @@ import java.util.ArrayList;
* Created by debenhame on 25/08/2014. * Created by debenhame on 25/08/2014.
*/ */
public class CloakOfShadows extends Artifact { public class CloakOfShadows extends Artifact {
//TODO: testing, add polish //TODO: final numbers tweaking, add polish
{ {
name = "Cloak of Shadows"; name = "Cloak of Shadows";

View File

@ -26,7 +26,7 @@ import java.util.ArrayList;
*/ */
public class HornOfPlenty extends Artifact { public class HornOfPlenty extends Artifact {
//TODO: tune numbers, add sprite switching, add polish. //TODO: add sprite switching, add polish.
{ {
name = "Horn of Plenty"; name = "Horn of Plenty";

View File

@ -26,6 +26,7 @@ import java.util.Collections;
* Created by debenhame on 08/09/2014. * Created by debenhame on 08/09/2014.
*/ */
public class SandalsOfNature extends Artifact { public class SandalsOfNature extends Artifact {
//todo: test, add sprite switching, number tweaking.
{ {
name = "Sandals of Nature"; name = "Sandals of Nature";

View File

@ -233,7 +233,6 @@ public class Blandfruit extends Food {
if (name.equals("Healthfruit")) if (name.equals("Healthfruit"))
cook(new Sungrass.Seed()); cook(new Sungrass.Seed());
else if (name.equals("Powerfruit")) else if (name.equals("Powerfruit"))
//TODO: make sure this doesn't break anything
cook(new Wandmaker.Rotberry.Seed()); cook(new Wandmaker.Rotberry.Seed());
else if (name.equals("Paralyzefruit")) else if (name.equals("Paralyzefruit"))
cook(new Earthroot.Seed()); cook(new Earthroot.Seed());

View File

@ -223,8 +223,6 @@ public class Potion extends Item {
@Override @Override
public void cast( final Hero user, int dst ) { public void cast( final Hero user, int dst ) {
super.cast(user, dst); super.cast(user, dst);
//if this potion is owned by a fruit, finds it and detaches it.
//TODO: add remove code here
} }
public boolean isKnown() { public boolean isKnown() {

View File

@ -18,6 +18,7 @@
package com.shatteredpixel.shatteredpixeldungeon.items.rings; package com.shatteredpixel.shatteredpixeldungeon.items.rings;
public class RingOfAccuracy extends Ring { public class RingOfAccuracy extends Ring {
//TODO: numbers tweaking
{ {
name = "Ring of Accuracy"; name = "Ring of Accuracy";

View File

@ -29,6 +29,7 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.traps.LightningTrap;
import com.watabou.utils.Random; import com.watabou.utils.Random;
public class RingOfElements extends Ring { public class RingOfElements extends Ring {
//TODO: need to rebalance this
{ {
name = "Ring of Elements"; name = "Ring of Elements";

View File

@ -24,6 +24,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
public class RingOfEvasion extends Ring { public class RingOfEvasion extends Ring {
//todo: testing, numbers tweaking
{ {
name = "Ring of Evasion"; name = "Ring of Evasion";

View File

@ -18,6 +18,7 @@
package com.shatteredpixel.shatteredpixeldungeon.items.rings; package com.shatteredpixel.shatteredpixeldungeon.items.rings;
public class RingOfHaste extends Ring { public class RingOfHaste extends Ring {
//TODO: numbers tweaking
{ {
name = "Ring of Haste"; name = "Ring of Haste";

View File

@ -18,6 +18,7 @@
package com.shatteredpixel.shatteredpixeldungeon.items.rings; package com.shatteredpixel.shatteredpixeldungeon.items.rings;
public class RingOfMagic extends Ring { public class RingOfMagic extends Ring {
//TODO: evaluate functionality, decide on numbers
{ {
name = "Ring of Magic"; name = "Ring of Magic";

View File

@ -32,7 +32,6 @@ public class Quarterstaff extends MeleeWeapon {
@Override @Override
public String desc() { public String desc() {
// TODO Auto-generated method stub
return "A staff of hardwood, its ends are shod with iron."; return "A staff of hardwood, its ends are shod with iron.";
} }
} }

View File

@ -150,10 +150,6 @@ public class Sungrass extends Plant {
public void restoreFromBundle( Bundle bundle ) { public void restoreFromBundle( Bundle bundle ) {
super.restoreFromBundle( bundle ); super.restoreFromBundle( bundle );
pos = bundle.getInt( POS ); pos = bundle.getInt( POS );
//to support legacy saves from 0.1.0, TODO: remove when saves from V0.1.0 are invalidated
if (!bundle.contains( LEVEL )){
return;
}
healCurr = bundle.getInt( HEALCURR ); healCurr = bundle.getInt( HEALCURR );
count = bundle.getInt( COUNT ); count = bundle.getInt( COUNT );
level = bundle.getInt( LEVEL ); level = bundle.getInt( LEVEL );