summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-19 15:08:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-19 15:08:37 +0000
commit8b5ae1fa034a8ca37d40721737215a9012294a8d (patch)
treedc6143917b88d886647ee365652acf658bd9a2ec /crawl-ref/source/tilepick.cc
parentc14bc1d072070568f40f6f4003f37c8a1480ea10 (diff)
downloadcrawl-ref-8b5ae1fa034a8ca37d40721737215a9012294a8d.tar.gz
crawl-ref-8b5ae1fa034a8ca37d40721737215a9012294a8d.zip
Add Mitsuhiro's new kraken tiles, slightly modified to make them work
with the water overlays. Experimentally disallow krakens (heads) to be placed in or move into shallow water. If the player wants to get rid of the source of all those tentacles he'll have to use ranged combat/spells or face the disadvantage of standing inside shallow water. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10731 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 377f63997a..ac1f1d7239 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -708,6 +708,11 @@ int tileidx_monster_base(const monsters *mon, bool detected)
return TILEP_MONS_SHARK;
case MONS_JELLYFISH:
return TILEP_MONS_JELLYFISH;
+ case MONS_KRAKEN:
+ return TILEP_MONS_KRAKEN_HEAD;
+ case MONS_KRAKEN_TENTACLE:
+ return TILEP_MONS_KRAKEN_TENTACLE
+ + random2(tile_player_count(TILEP_MONS_KRAKEN_TENTACLE));
// lava monsters
case MONS_LAVA_WORM: