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

Function maps_getTileFlags

library/LuaApi.cpp:2702–2708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2700}
2701
2702static int maps_getTileFlags(lua_State *L)
2703{
2704 auto pos = CheckCoordXYZ(L, 1, true);
2705 Lua::PushDFObject(L, Maps::getTileDesignation(pos));
2706 Lua::PushDFObject(L, Maps::getTileOccupancy(pos));
2707 return 2;
2708}
2709
2710static int maps_getRegionBiome(lua_State *L)
2711{

Callers

nothing calls this directly

Calls 4

CheckCoordXYZFunction · 0.85
PushDFObjectFunction · 0.85
getTileDesignationFunction · 0.85
getTileOccupancyFunction · 0.85

Tested by

no test coverage detected