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

Method setGoalCount

plugins/workflow.cpp:277–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275
276 int goalCount() { return config.ival(0); }
277 void setGoalCount(int v) { config.ival(0) = v; }
278
279 int goalGap() {
280 int cval = (config.ival(1) <= 0) ? std::min(5,goalCount()/2) : config.ival(1);

Callers 2

setConstraintFunction · 0.80
workflow_cmdFunction · 0.80

Calls 1

ivalMethod · 0.80

Tested by

no test coverage detected