v0.3.0: added better sprites & descriptions to new plants

This commit is contained in:
Evan Debenham 2015-05-25 02:13:11 -04:00
parent 7230fe6be9
commit fc6d1f128b
5 changed files with 21 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -250,7 +250,8 @@ public class WandOfRegrowth extends Wand {
@Override
public String desc() {
return "";
return "Dewcatchers camouflage as grass to avoid attention, " +
"but their bulges of collected dew give them away.";
}
//seed is never dropped, only care about plant class
@ -291,7 +292,8 @@ public class WandOfRegrowth extends Wand {
@Override
public String desc() {
return "";
return "Seed Pods look pretty, but the seeds they carry are actually " +
"stolen from other plants they kill with their roots.";
}
//seed is never dropped, only care about plant class

View File

@ -10,7 +10,9 @@ import com.watabou.utils.Random;
public class Starflower extends Plant {
private static final String TXT_DESC = "TODO";
private static final String TXT_DESC =
"An extremely rare plant, " +
"Starflower is said to grant holy power to whomever touches it.";
{
image = 11;
@ -24,13 +26,13 @@ public class Starflower extends Plant {
if (ch != null) Buff.prolong(ch, Bless.class, 30f);
if (Random.Int(5) == 0){
Dungeon.level.drop(new Seed(), pos);
Dungeon.level.drop(new Seed(), pos).sprite.drop();
}
}
@Override
public String desc() {
return "";
return TXT_DESC;
}
public static class Seed extends Plant.Seed{
@ -39,7 +41,7 @@ public class Starflower extends Plant {
plantName = "Starflower";
name = "Seed of " + plantName;
image = ItemSpriteSheet.SEED_BLANDFRUIT;
image = ItemSpriteSheet.SEED_STARFLOWER;
plantClass = Starflower.class;
alchemyClass = PotionOfExperience.class;
@ -47,7 +49,7 @@ public class Starflower extends Plant {
@Override
public String desc() {
return "";
return TXT_DESC;
}
}
}

View File

@ -198,15 +198,16 @@ public class ItemSpriteSheet {
//Row Twelve: Seeds
public static final int SEED_ROTBERRY = ROW12+0;
public static final int SEED_FIREBLOOM = ROW12+1;
public static final int SEED_BLINDWEED = ROW12+2;
public static final int SEED_SUNGRASS = ROW12+3;
public static final int SEED_ICECAP = ROW12+4;
public static final int SEED_STORMVINE = ROW12+5;
public static final int SEED_SORROWMOSS = ROW12+6;
public static final int SEED_DREAMFOIL = ROW12+7;
public static final int SEED_EARTHROOT = ROW12+8;
public static final int SEED_FADELEAF = ROW12+9;
public static final int SEED_BLANDFRUIT = ROW12+10;
public static final int SEED_STARFLOWER = ROW12+2;
public static final int SEED_BLINDWEED = ROW12+3;
public static final int SEED_SUNGRASS = ROW12+4;
public static final int SEED_ICECAP = ROW12+5;
public static final int SEED_STORMVINE = ROW12+6;
public static final int SEED_SORROWMOSS = ROW12+7;
public static final int SEED_DREAMFOIL = ROW12+8;
public static final int SEED_EARTHROOT = ROW12+9;
public static final int SEED_FADELEAF = ROW12+10;
public static final int SEED_BLANDFRUIT = ROW12+11;
//Row Thirteen: Food
public static final int MEAT = ROW13+0;