diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-08-06 23:30:49 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-08-07 00:05:14 -0400 |
commit | 25d8ff14f39cfec20457fd3878cad716b07fe278 (patch) | |
tree | 1cd51f0d3e8aee46c1a97c47aa63877d0f0b27ca /crawl-ref/source/religion.h | |
parent | b89d9dd87c32dfc3287e4ccc9713bc562ecc2d5d (diff) | |
download | crawl-ref-25d8ff14f39cfec20457fd3878cad716b07fe278.tar.gz crawl-ref-25d8ff14f39cfec20457fd3878cad716b07fe278.zip |
make &_ join the religion directly instead of going through an altar
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index f38b56a1d1..623b88b8ce 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -45,7 +45,7 @@ bool active_penance(god_type god); void dec_penance(int val); void dec_penance(god_type god, int val); -void excommunication(god_type new_god = GOD_NO_GOD); +void excommunication(god_type new_god = GOD_NO_GOD, bool immediate = false); bool gain_piety(int pgn, int denominator = 1, bool should_scale_piety = true); void dock_piety(int pietyloss, int penance); @@ -57,7 +57,9 @@ int god_colour(god_type god); colour_t god_message_altar_colour(god_type god); int gozag_service_fee(); bool player_can_join_god(god_type which_god); +void join_religion(god_type which_god, bool immediate = true); void god_pitch(god_type which_god); +god_type choose_god(); static inline bool you_worship(god_type god) { |