summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-06-15 13:59:35 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-06-15 23:37:41 +0200
commita1f28ff2f1b9cba55a54a03a43197293604e14da (patch)
tree8b8173f4da128c7c87b7c65a90746aefc39d8c9e /crawl-ref/source/godconduct.cc
parentf55ef6b5f2d99c0347312a5949a0fed249cd5b77 (diff)
downloadcrawl-ref-a1f28ff2f1b9cba55a54a03a43197293604e14da.tar.gz
crawl-ref-a1f28ff2f1b9cba55a54a03a43197293604e14da.zip
Revert "Track who destroys an item; incur Nemelex penance for deck destruction."
This follows removal of documentation in 747b1a2d. Giving penance for a pointless act you need to go out your way for is quite strange -- it doesn't in any way restrict the player and thus has no balance gains, and there's a cost of making an already long god description even longer. Plus, you can get rid of decks simply by dropping them; on a non-permanent level if you really want to keep ^F clean. Not sure if the source tracking should be kept; for now I reverted it to keep things simple and to avoid an use of deprecated mindex (let's get rid of it already!), but if there's an use, please unrevert this part. This reverts commit 46bfda39a8d584164fa475188367f331314a644d.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index 0cc480e675..3204036693 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -1001,15 +1001,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
}
break;
- case DID_DESTROY_DECK:
- if (you.religion == GOD_NEMELEX_XOBEH)
- {
- piety_change = -level;
- penance = level * (known ? 2 : 1);
- retval = true;
- }
- break;
-
case DID_NOTHING:
case NUM_CONDUCTS:
break;
@@ -1071,7 +1062,6 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
"Kill Artificial", "Undead Slave Kill Artificial",
"Servant Kill Artificial", "Destroy Spellbook",
"Exploration", "Desecrate Holy Remains", "Seen Monster",
- "Destroy Deck",
};
COMPILE_CHECK(ARRAYSZ(conducts) == NUM_CONDUCTS);