summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-02 12:42:40 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:20 -0600
commitb9ac4c953e9d5fae3bc23dde3f999218d396f804 (patch)
tree8548ca2b3ea15399b239c2fa493c6cd1c9908019 /crawl-ref/source/branch.cc
parent35db536519c705528e4f8bf41851e58502ceb4f5 (diff)
downloadcrawl-ref-b9ac4c953e9d5fae3bc23dde3f999218d396f804.tar.gz
crawl-ref-b9ac4c953e9d5fae3bc23dde3f999218d396f804.zip
Gozag: prelimiary implementation of Bribe Branch.
Spend 3000 gold for a chance of temporarily turning some of the inhabitants of a branch good neutral, or possibly even friendly. Bribes are only effective against newly generated monsters (i.e. on level creation or monsters that spawn afterwards); the fund times out over time and more quickly with the number of enemies affected, upon which neutral enemies turn hostile again; friendly followers will continue to follow the player subject to occasional follow-up payments.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index ff9b56658d..5b324b38e4 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -8,6 +8,7 @@
FixedVector<level_id, NUM_BRANCHES> brentry;
FixedVector<int, NUM_BRANCHES> brdepth;
+FixedVector<int, NUM_BRANCHES> branch_bribe;
branch_type root_branch;
const Branch& your_branch()