v0.3.1: added in logic for the proper display of inactive traps

This commit is contained in:
Evan Debenham
2015-08-14 03:29:45 -04:00
committed by Evan Debenham
parent 5fd3d94ca2
commit 9b13c3f01e
11 changed files with 60 additions and 19 deletions
@@ -28,7 +28,9 @@ public class WndInfoTrap extends WndTitledMessage {
public WndInfoTrap(Trap trap) {
super(new TrapSprite( trap.color + (trap.shape * 16) ), trap.name, trap.desc());
super(new TrapSprite( trap.color + (trap.shape * 16) ),
(!trap.active ? "Inactive " : "") + trap.name,
(!trap.active ? "This trap is inactive, and can no longer be triggered.\n\n" : "") + trap.desc());
}