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

Function items_findSubtype

library/LuaApi.cpp:2507–2511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2505}
2506
2507static int32_t items_findSubtype(string token) {
2508 DFHack::ItemTypeInfo result;
2509 result.find(token);
2510 return result.subtype;
2511}
2512
2513static const LuaWrapper::FunctionReg dfhack_items_module[] = {
2514 WRAPN(findType, items_findType),

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected