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

Function burrow_units_add

plugins/burrow.cpp:676–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674}
675
676static int burrow_units_add(lua_State *L) {
677 color_ostream *out = Lua::GetOutput(L);
678 if (!out)
679 out = &Core::getInstance().getConsole();
680 DEBUG(status,*out).print("entering burrow_units_add\n");
681 units_set_add_remove(L, false, true);
682 return 0;
683}
684
685static int burrow_units_remove(lua_State *L) {
686 color_ostream *out = Lua::GetOutput(L);

Callers

nothing calls this directly

Calls 2

units_set_add_removeFunction · 0.85
printMethod · 0.45

Tested by

no test coverage detected