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

Function getBurrow

plugins/nestboxes.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134static df::burrow* getBurrow(color_ostream &out){
135 int id = config.get_int(CONFIG_BURROW);
136 auto burrow = df::burrow::find(id);
137 if (!burrow) {
138 config.set_int(CONFIG_BURROW, -1);
139 }
140 return burrow;
141}
142
143static void printStatus(color_ostream &out){
144 if (!is_enabled)

Callers 2

printStatusFunction · 0.85
do_cycleFunction · 0.85

Calls 1

findFunction · 0.50

Tested by

no test coverage detected