aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_content.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-08-22 15:45:06 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-08-22 15:45:06 +0200
commit9b1030cac4409b262dca73d2f0741fe78d4998ee (patch)
tree4815f2122fd6b9778d0cc0f2cedb10389157f580 /src/script/common/c_content.h
parent2321e3da4c7f29ae06400e91e4e031777c6a5d9a (diff)
downloaddragonfireclient-9b1030cac4409b262dca73d2f0741fe78d4998ee.tar.xz
Added minetest.get_inventory(location)
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r--src/script/common/c_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h
index 8f32e58eb..5a8bf6700 100644
--- a/src/script/common/c_content.h
+++ b/src/script/common/c_content.h
@@ -116,6 +116,9 @@ void read_object_properties (lua_State *L, int index,
void push_object_properties (lua_State *L,
ObjectProperties *prop);
+void push_inventory (lua_State *L,
+ Inventory *inventory);
+
void push_inventory_list (lua_State *L,
Inventory *inv,
const char *name);