diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-15 19:09:37 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-15 19:28:55 +0100 |
commit | d3b316cb62dd1fbd27789ef36076c3ca83290422 (patch) | |
tree | b54ad2dcef3a1e894da4e6a37ae3eb173e6f2e49 /crawl-ref/source/rltiles | |
parent | e9a337536b2a0c74eea3835061fa292f4ede6069 (diff) | |
download | crawl-ref-d3b316cb62dd1fbd27789ef36076c3ca83290422.tar.gz crawl-ref-d3b316cb62dd1fbd27789ef36076c3ca83290422.zip |
Add new props value "tile_num" and use it for randomized monster tiles.
Monsters that have several variant tiles will now get a random value
written into tile_num at creation, so when their tile gets drawn one
of the set is picked, but always the same one.
In practise, this is currently only used for slaves and toadstools.
Other monsters that have variant tiles, such as ugly things, kraken
tentacles, or slimes creatures, are handled specially.
Generally, such differences should be small and flavourful. The greater
the threat of a given monster the more important it is that the player
will recognize it immediately. (Of course, this restriction does not
hold if the tile actually transport information as is the case for
ugly things' colours etc.)
Diffstat (limited to 'crawl-ref/source/rltiles')
0 files changed, 0 insertions, 0 deletions