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

Method setDefault

plugins/autofarm.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void setDefault(int val)
76 {
77 defaultThreshold = val;
78 }
79
80private:
81 const df::plant_raw_flags seasons[4] = { df::plant_raw_flags::SPRING, df::plant_raw_flags::SUMMER, df::plant_raw_flags::AUTUMN, df::plant_raw_flags::WINTER };

Callers 1

autofarmFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected