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

Function reset_labor

plugins/autolabor/labormanager.cpp:330–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330static void reset_labor(df::unit_labor labor)
331{
332 labor_infos[labor].set_priority(default_labor_infos[labor].priority);
333 labor_infos[labor].set_maximum_dwarfs(default_labor_infos[labor].maximum_dwarfs);
334}
335
336static void init_state()
337{

Callers 2

init_stateFunction · 0.70
labormanagerFunction · 0.70

Calls 2

set_priorityMethod · 0.80
set_maximum_dwarfsMethod · 0.45

Tested by

no test coverage detected