V0.1.1: updated sprites, added seed to generator, fixed (hopefully) all bugs

This commit is contained in:
Evan Debenham
2014-08-15 22:48:02 -04:00
parent 7403aa8359
commit fb115114f4
9 changed files with 43 additions and 43 deletions
@@ -242,12 +242,13 @@ public class Heap implements Bundlable {
int count = 0;
if (items.get(0) instanceof Blandfruit && items.get(1) instanceof Seed) {
if (items.size() == 2 && items.get(0) instanceof Seed && items.get(1) instanceof Blandfruit ) {
Sample.INSTANCE.play( Assets.SND_PUFF );
CellEmitter.center( pos ).burst( Speck.factory( Speck.EVOKE ), 3 );
Blandfruit result = new Blandfruit();
result.cook((Seed)items.get(1));
result.cook((Seed)items.get(0));
destroy();
@@ -266,7 +267,7 @@ public class Heap implements Bundlable {
}
}
} else if (count >= SEEDS_TO_POTION) {
if (count >= SEEDS_TO_POTION) {
CellEmitter.get( pos ).burst( Speck.factory( Speck.WOOL ), 6 );
Sample.INSTANCE.play( Assets.SND_PUFF );