Update Lua API.rst

develop
Ryan Williams 2021-06-22 20:10:25 -07:00 committed by GitHub
parent bc841f595e
commit 60fe864426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

@ -1558,6 +1558,10 @@ Maps module
Returns *x, y* for use with ``getRegionBiome``. Returns *x, y* for use with ``getRegionBiome``.
* ``dfhack.maps.getPlantAtCoords(pos)``, or ``getPlantAtCoords(x,y,z)``
Returns the plant struct that owns the tile at the specified position.
* ``dfhack.maps.canWalkBetween(pos1, pos2)`` * ``dfhack.maps.canWalkBetween(pos1, pos2)``
Checks if a dwarf may be able to walk between the two tiles, Checks if a dwarf may be able to walk between the two tiles,