summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-05 08:43:08 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-05 08:43:08 +0000
commit3bc86f82a03f66f402afe45bdfc46312310cc565 (patch)
treecef2dd68f626f8caa63ab3ac87b07393923760ee /crawl-ref/source/externs.h
parentee9ef53947fd17b16194459da580c197bf2a7474 (diff)
downloadcrawl-ref-3bc86f82a03f66f402afe45bdfc46312310cc565.tar.gz
crawl-ref-3bc86f82a03f66f402afe45bdfc46312310cc565.zip
Added two new stash options, stash_track_decay and stash_remove_decay. If
stash_track_decay is true then the stash tracker will remember how long it's been since you've seen a rottable object (corpses, skeletons and meat chunks) and tell you its condition by appending "rotten by now", "skeletalised by now" or "gone by now" to its name in the stash menu. If stash_remove_decay is also true then any item that would have been marked "gone by now" is instead removed from the stash tracker. Doesn't yet track decay of potions of blood. Breaks stash save data compatibility. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5485 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 102e7f7fc3..6a04a5081b 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1714,6 +1714,10 @@ public:
int stash_tracking; // How stashes are tracked
+ bool stash_track_decay; // Keep track of how decayed corpses are
+ bool stash_remove_decay; // Remove corpses that have most probably
+ // completely rotted away
+
int tc_reachable; // Colour for squares that are reachable
int tc_excluded; // Colour for excluded squares.
int tc_exclude_circle; // Colour for squares in the exclusion radius