From 5ec81a1f6695b9253b85ada7fa8a4eb7a51f7209 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 15 Mar 2009 17:02:02 +0000 Subject: Per jpeg's suggestion, add a "desecrate orcish remains" conduct for Beogh. This will cause a small piety hit, but no penance, for butchering orc corpses, or for using non-area necromantic spells on orcish remains which can (a) destroy them without creating zombified orcs, or (b) turn them non-orcish (Fulsome Distillation, Sublimation of Blood, Bone Shards, and Twisted Resurrection). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9498 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells4.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/spells4.cc') diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 0121d43739..8b9a271d50 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1324,6 +1324,8 @@ void cast_fulsome_distillation(int pow) } } + const bool was_orc = (mons_species(mitm[corpse].plus) == MONS_ORC); + // We borrow the corpse's object to make our potion. mitm[corpse].base_type = OBJ_POTIONS; mitm[corpse].sub_type = pot_type; @@ -1340,6 +1342,9 @@ void cast_fulsome_distillation(int pow) // Try to move the potion to the player (for convenience). if (move_item_to_player(corpse, 1) != 1) mpr("Unfortunately, you can't carry it right now!"); + + if (was_orc) + did_god_conduct(DID_DESECRATE_ORCISH_REMAINS, 2); } bool cast_fragmentation(int pow, const dist& spd) -- cgit v1.2.3-54-g00ecf