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

Method set_priority

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

Source from the content-addressed store, hash-verified

127
128 int priority() const { return config.ival(1); }
129 void set_priority(int priority) { config.ival(1) = priority; }
130
131 bool is_unmanaged() const { return maximum_dwarfs() == MAX_DWARFS_UNMANAGED; }
132 int maximum_dwarfs() const { return config.ival(2); }

Callers 3

GetPartialPlantRawsFunction · 0.80
reset_laborFunction · 0.80
labormanagerFunction · 0.80

Calls 1

ivalMethod · 0.80

Tested by

no test coverage detected