dfhack/plugins/lua/burrow.lua

24 lines
413 B
Lua

local _ENV = mkmodule('plugins.burrows')
--[[
Native events:
* onBurrowRename(burrow)
* onDigComplete(job_type,pos,old_tiletype,new_tiletype)
Native functions:
* findByName(name) -> burrow
* copyUnits(dest,src,enable)
* copyTiles(dest,src,enable)
* setTilesByKeyword(dest,kwd,enable) -> success
'enable' selects between add and remove modes
--]]
rawset_default(_ENV, dfhack.burrows)
2022-04-12 12:48:19 -06:00
return _ENV