summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-15 10:57:23 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-15 10:57:23 +0000
commit79282d0e5bbed27cc5df50413bfd2d9db0874fd3 (patch)
tree89e21722bdc18717d02adcb409076ea6ddee7619 /crawl-ref/source/makeitem.h
parent4140d2abd9dfcd9cdda476fc4722067beefe0426 (diff)
downloadcrawl-ref-79282d0e5bbed27cc5df50413bfd2d9db0874fd3.tar.gz
crawl-ref-79282d0e5bbed27cc5df50413bfd2d9db0874fd3.zip
FR #2424917: holy monsters should drop non-summoned items when they die rather
than taking their entire inventory with them. If a monster drops/fires/throws a summoned item the item will vanish (assuming it's not a fired/thrown item which returns to the monster). Don't generate summoned monsters with throwing nets since the net will disappear as soon as it hits the target. If a monster drops an item onto a item destroying grid the item will be destroyed, accompanied by the approriate sound. This should never happen, since monsters only drop items in order to pick up another one, and they can't pick up items off of item destroying grids since there won't be any items there, but maybe in the future confused monsters will spontaneously drop items or something. Don't let orcs use orc-slaying weapons or draconians use dragon-slaying weapons. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7836 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.h')
-rw-r--r--crawl-ref/source/makeitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h
index 7335055592..08478e6258 100644
--- a/crawl-ref/source/makeitem.h
+++ b/crawl-ref/source/makeitem.h
@@ -27,7 +27,7 @@ int items( int allow_uniques, object_class_type force_class, int force_type,
void item_colour( item_def &item );
void init_rod_mp(item_def &item);
-void give_item(int mid, int level_number);
+void give_item(int mid, int level_number, bool mons_summoned);
jewellery_type get_random_ring_type();
jewellery_type get_random_amulet_type();