summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cluautil.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-22 02:31:18 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-22 18:06:51 +0530
commit3e4f4ef9e85c9d41a359ad9f0badfccd108838d3 (patch)
tree7831ea828199b4cd603e57a05121b7321fa713ed /crawl-ref/source/cluautil.h
parent154e321cbb49f50b90cbd63fafd01f58f13e4f03 (diff)
downloadcrawl-ref-3e4f4ef9e85c9d41a359ad9f0badfccd108838d3.tar.gz
crawl-ref-3e4f4ef9e85c9d41a359ad9f0badfccd108838d3.zip
Allow corpses to be placed in .des files.
Add item property CORPSE_NO_DECAY to disallow decay on corpses/skeletons/chunks. Wizmode &% now creates an item using the .des file item name parser; &o remains the old wizmode item-gen command. Corpse decay for corpses placed by maps can be controlled using dgn.delayed_decay.
Diffstat (limited to 'crawl-ref/source/cluautil.h')
-rw-r--r--crawl-ref/source/cluautil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/cluautil.h b/crawl-ref/source/cluautil.h
index 659f1bf989..77f7f8be29 100644
--- a/crawl-ref/source/cluautil.h
+++ b/crawl-ref/source/cluautil.h
@@ -137,6 +137,8 @@ struct MonsterWrap
// XXX: These are currently defined outside cluautil.cc.
void push_monster(lua_State *ls, monsters* mons);
+void clua_push_item(lua_State *ls, item_def *item);
+item_def *clua_get_item(lua_State *ls, int ndx);
void lua_push_floor_items(lua_State *ls, int link);
dungeon_feature_type check_lua_feature(lua_State *ls, int idx);
unsigned int get_tile_idx(lua_State *ls, int arg);