V0.2.0: further improved Blandfruit info string construction.

This commit is contained in:
Evan Debenham 2014-09-05 10:10:38 -04:00
parent 075d7db790
commit 0f9854d40a

View File

@ -147,55 +147,56 @@ public class Blandfruit extends Food {
potionAttrib.image = ItemSpriteSheet.BLANDFRUIT;
info = "The fruit has plumped up from its time soaking in the pot and has even absorbed the properties ";
info = "The fruit has plumped up from its time soaking in the pot and has even absorbed the properties "+
"of the " + seed.name() + " seed it was cooked with.\n\n";
if (potionAttrib instanceof PotionOfHealing){
name = "Healthfruit";
potionGlow = new ItemSprite.Glowing( 0x2EE62E );
info += "of the Sungrass seed it was cooked with. It looks delicious and hearty, ready to be eaten!";
info += "It looks delicious and hearty, ready to be eaten!";
} else if (potionAttrib instanceof PotionOfStrength){
name = "Powerfruit";
potionGlow = new ItemSprite.Glowing( 0xCC0022 );
info += "of the Rotberry seed it was cooked with. It looks delicious and powerful, ready to be eaten!";
info += "It looks delicious and powerful, ready to be eaten!";
} else if (potionAttrib instanceof PotionOfParalyticGas){
name = "Paralyzefruit";
potionGlow = new ItemSprite.Glowing( 0x67583D );
info += "of the Earthroot seed it was cooked with. It looks firm and volatile, I shouldn't eat this.";
info += "It looks firm and volatile, eating this might be unsafe.";
} else if (potionAttrib instanceof PotionOfInvisibility){
name = "Invisifruit";
potionGlow = new ItemSprite.Glowing( 0xE5D273 );
info += "of the Blindweed seed it was cooked with. It looks delicious and shiny, ready to be eaten!";
info += "It looks delicious and shiny, ready to be eaten!";
} else if (potionAttrib instanceof PotionOfLiquidFlame){
name = "Flamefruit";
potionGlow = new ItemSprite.Glowing( 0xFF7F00 );
info += "of the Firebloom seed it was cooked with. It looks spicy and volatile, I shouldn't eat this.";
info += "It looks spicy and volatile, eating this might be unsafe.";
} else if (potionAttrib instanceof PotionOfFrost){
name = "Frostfruit";
potionGlow = new ItemSprite.Glowing( 0x66B3FF );
info += "of the Icecap seed it was cooked with. It looks delicious and refreshing, ready to be eaten!";
info += "It looks delicious and refreshing, ready to be eaten!";
} else if (potionAttrib instanceof PotionOfMindVision){
name = "Visionfruit";
potionGlow = new ItemSprite.Glowing( 0xB8E6CF );
info += "of the Fadeleaf seed it was cooked with. It looks delicious and shadowy, ready to be eaten!";
info += "It looks delicious and shadowy, ready to be eaten!";
} else if (potionAttrib instanceof PotionOfToxicGas){
name = "Toxicfruit";
potionGlow = new ItemSprite.Glowing( 0xA15CE5 );
info += "of the Sorrowmoss seed it was cooked with. It looks crisp and volatile, I shouldn't eat this.";
info += "It looks crisp and volatile, eating this might be unsafe.";
}