summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-23 17:45:40 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-08-09 21:02:11 -0400
commit4bd060a9edfad801ae0c7abd331b60b5e7bd6c89 (patch)
tree0e0b309ae12f8129333939116a6036feece0d915 /crawl-ref/source/player.h
parentd2305cce9048369e1b11b8ad42d8b8d0039accd6 (diff)
downloadcrawl-ref-4bd060a9edfad801ae0c7abd331b60b5e7bd6c89.tar.gz
crawl-ref-4bd060a9edfad801ae0c7abd331b60b5e7bd6c89.zip
Add a prompt if a player tries to move with the Barbs status
Multiple people have died due to mindlessly moving and getting damaged. Currently, you get the prompt once, and then a prop is set which suppresses it in the future, so if you want to move a few squares to a stairway you aren't spammed. This prop resets whenever the Barbs status expires, so answering it affirmatively once won't affect another fight later.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index eb9f3301fd..e2da239e95 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -26,6 +26,7 @@
#define ICY_ARMOUR_KEY "ozocubu's_armour_pow"
#define STONESKIN_KEY "stoneskin_pow"
#define TRANSFORM_POW_KEY "transform_pow"
+#define BARBS_MOVE_KEY "moved_with_barbs_status"
class targetter;