v0.3.1: added in new trap sprites (no shading yet), added descriptions to existing traps

This commit is contained in:
Evan Debenham
2015-06-22 19:35:18 -04:00
parent f4898d903b
commit 9f02a93500
12 changed files with 93 additions and 21 deletions
@@ -27,13 +27,14 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff;
import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Poison;
import com.shatteredpixel.shatteredpixeldungeon.effects.CellEmitter;
import com.shatteredpixel.shatteredpixeldungeon.effects.particles.PoisonParticle;
import com.shatteredpixel.shatteredpixeldungeon.sprites.TrapSprite;
public class PoisonTrap extends Trap{
// 0xBB66EE
{
name = "Poison trap";
image = 3;
color = TrapSprite.VIOLET;
shape = TrapSprite.CROSSHAIR;
}
@Override
@@ -48,4 +49,9 @@ public class PoisonTrap extends Trap{
CellEmitter.center( pos ).burst( PoisonParticle.SPLASH, 3 );
}
@Override
public String desc() {
return "A small dart-blower must be hidden nearby, activating this trap will cause it to shoot a pointed dart at you.";
}
}