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

Method isTileAquifer

library/modules/Maps.cpp:1399–1402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1397}
1398
1399bool Maps::isTileAquifer(int32_t x, int32_t y, int32_t z) {
1400 df::tile_designation *des = Maps::getTileDesignation(x, y, z);
1401 return des && des->bits.water_table;
1402}
1403
1404bool Maps::isTileHeavyAquifer(int32_t x, int32_t y, int32_t z) {
1405 df::tile_occupancy *occ = Maps::getTileOccupancy(x, y, z);

Callers

nothing calls this directly

Calls 1

getTileDesignationFunction · 0.85

Tested by

no test coverage detected