diff options
Diffstat (limited to 'Lua API.html')
| -rw-r--r-- | Lua API.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lua API.html b/Lua API.html index d44d82ba..7ce777c4 100644 --- a/Lua API.html +++ b/Lua API.html @@ -935,7 +935,7 @@ a lua list containing them.</p> <h3><a class="toc-backref" href="#id16">Units module</a></h3> <ul> <li><p class="first"><tt class="docutils literal">dfhack.units.getPosition(unit)</tt></p> -<p>Returns true <em>x,y,z</em> of the unit; may be not equal to unit.pos if caged.</p> +<p>Returns true <em>x,y,z</em> of the unit, or <em>nil</em> if invalid; may be not equal to unit.pos if caged.</p> </li> <li><p class="first"><tt class="docutils literal">dfhack.units.getContainer(unit)</tt></p> <p>Returns the container (cage) item or <em>nil</em>.</p> @@ -982,7 +982,7 @@ or raws. The <tt class="docutils literal">ignore_noble</tt> boolean disables the <h3><a class="toc-backref" href="#id17">Items module</a></h3> <ul> <li><p class="first"><tt class="docutils literal">dfhack.items.getPosition(item)</tt></p> -<p>Returns true <em>x,y,z</em> of the item; may be not equal to item.pos if in inventory.</p> +<p>Returns true <em>x,y,z</em> of the item, or <em>nil</em> if invalid; may be not equal to item.pos if in inventory.</p> </li> <li><p class="first"><tt class="docutils literal">dfhack.items.getGeneralRef(item, type)</tt></p> <p>Searches for a general_ref with the given type.</p> |
