Don't use invisibility items when pointless

Since the game won't let you waste (known) scrolls or wand charges of teleportation if it's known that you can't teleport (you're wearing an identified artefact which prevents teleportation) do something similar for invisiblity: if you're haloed because of worshipping TSO then refuse to use known wands or potions of invisibility, and if you're glowing from magical contamination then prompt before usage (since the glow might wear off before the invisibility).

Also: 1) add some informational messages about the interaction of invisibility and being backlit, 2) if you use-identify invisibility while haloed then just print a message, but don't actually get the invisibility duration.

Created by  Matthew Cline  on October 24, 2009
LDNLHHR25F4EK4WFK2LKPOI3HPS22RRZUZT6JHJME3QZI545P6HQC
Change contents