Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ setGoalGap
Method
setGoalGap
plugins/workflow.cpp:283–283 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
281
return std::max(1, std::min(goalCount()-1, cval));
282
}
283
void setGoalGap(int v) { config.ival(1) = v; }
284
285
bool goalByCount() { return config.ival(2) & 1; }
286
void setGoalByCount(bool v) {
Callers
2
setConstraint
Function · 0.80
workflow_cmd
Function · 0.80
Calls
1
ival
Method · 0.80
Tested by
no test coverage detected