From 7c71aeab5f44c7fce106a0efc07c1ea2860e4638 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Wed, 12 Sep 2012 18:17:42 +0400 Subject: Add function for making item projectiles. --- Lua API.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lua API.html') diff --git a/Lua API.html b/Lua API.html index 7886fbc2..168f7dcc 100644 --- a/Lua API.html +++ b/Lua API.html @@ -1213,6 +1213,9 @@ Returns false in case of error.
dfhack.items.moveToInventory(item,unit,use_mode,body_part)
Move the item to the unit inventory. Returns false if impossible.
dfhack.items.makeProjectile(item)
+Turns the item into a projectile, and returns the new object, or nil if impossible.
+