MCPcopy Create free account
hub / github.com/DFHack/dfhack / buildings_findAtTile

Function buildings_findAtTile

library/LuaApi.cpp:2947–2952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2945};
2946
2947static int buildings_findAtTile(lua_State *L)
2948{
2949 auto pos = CheckCoordXYZ(L, 1, true);
2950 Lua::PushDFObject(L, Buildings::findAtTile(pos));
2951 return 1;
2952}
2953
2954static int buildings_findCivzonesAt(lua_State *L)
2955{

Callers

nothing calls this directly

Calls 2

CheckCoordXYZFunction · 0.85
PushDFObjectFunction · 0.85

Tested by

no test coverage detected