Make crystal devices work saner and more intuitive
commit1fabe451cdccba49d471e507c40c60d5ba62779f
authorWuzzy <almikes@aol.com>
Mon, 18 Aug 2014 02:07:24 +0000 (18 04:07 +0200)
committerWuzzy <almikes@aol.com>
Mon, 18 Aug 2014 02:07:24 +0000 (18 04:07 +0200)
treef51d9c1f08652b85eafa2b6461b1676d28cfbc54
parent544f250143a2bde9aa00e7bd17ea7429faedc412
Make crystal devices work saner and more intuitive

Crystal devices now leave alone the crystals already in the room.

Before this, all crystals (including those in the player room) were randomly
spawned in the player room. This appeared as if these crystals were gone for
good and may be confusing for some players. The message pop-up is now also
updated accordingly; if there are no crystals in *other* rooms, the message
now correctly states that the crystal device “does not work” (=would have
no effect).
src/demon.c
src/demon.h
src/levelblit.c