summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-26 18:38:24 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-26 18:38:24 +0000
commita0674f612de6ac549c585884ae88987974866b1f (patch)
treeaf74cbe8ef06d9e16d5847139faab1eb9589adef /crawl-ref/source/items.h
parentfa25a347164bc7fb888629c65a4e3daee6c65950 (diff)
downloadcrawl-ref-a0674f612de6ac549c585884ae88987974866b1f.tar.gz
crawl-ref-a0674f612de6ac549c585884ae88987974866b1f.zip
Abyssal rune tedium reduction:
- Abyssal rune generation chances rise with turns spent in the Abyss (in the current visit, not cumulative). - Lugonu followers get better abyssal rune odds faster. - Abyssal rune generation is stopped after one rune is picked up, re-enabled if rune is lost in the Abyss. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5267 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.h')
-rw-r--r--crawl-ref/source/items.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/items.h b/crawl-ref/source/items.h
index 27d0e972da..b9a9311e73 100644
--- a/crawl-ref/source/items.h
+++ b/crawl-ref/source/items.h
@@ -21,9 +21,9 @@
enum acquirement_agent_type
{
AQ_SCROLL = 0,
-
+
// Empty space for the gods
-
+
AQ_CARD_GENIE = 100,
AQ_WIZMODE = 200
@@ -46,6 +46,7 @@ bool items_stack( const item_def &item1, const item_def &item2,
bool force = false );
item_def find_item_type(object_class_type base_type, std::string name);
+item_def *find_floor_item(object_class_type cls, int sub_type);
void init_item( int item );
@@ -93,7 +94,7 @@ void pickup(void);
/* ***********************************************************************
* called from: beam - items - transfor
* *********************************************************************** */
-bool copy_item_to_grid( const item_def &item, int x_plos, int y_plos,
+bool copy_item_to_grid( const item_def &item, int x_plos, int y_plos,
int quant_drop = -1, // item.quantity by default
bool mark_dropped = false);