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

Function getPlantAtTile

library/include/modules/Maps.h:390–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388// Get the plant that owns the tile at the specified position.
389extern DFHACK_EXPORT df::plant *getPlantAtTile(int32_t x, int32_t y, int32_t z);
390inline df::plant *getPlantAtTile(df::coord pos) { return getPlantAtTile(pos.x, pos.y, pos.z); }
391
392// Get the biome type at the given region coordinates.
393DFHACK_EXPORT df::enums::biome_type::biome_type getBiomeTypeWithRef(int16_t region_x, int16_t region_y, int16_t region_ref_y);

Callers 3

maps_getPlantAtTileFunction · 0.85
getAnyPlantMethod · 0.85
valid_tileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected