|
|
@ -98,7 +98,7 @@ reaction_duck
|
|
|
|
Next, start a new fort in a new world, build a duck workshop, then have someone become a duck.
|
|
|
|
Next, start a new fort in a new world, build a duck workshop, then have someone become a duck.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
bool enabled = true;
|
|
|
|
bool enabled = false;
|
|
|
|
|
|
|
|
|
|
|
|
DFHACK_PLUGIN("autoSyndrome");
|
|
|
|
DFHACK_PLUGIN("autoSyndrome");
|
|
|
|
|
|
|
|
|
|
|
@ -279,6 +279,9 @@ void processJob(color_ostream& out, void* jobPtr) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( workerId == -1 )
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
int32_t workerIndex = df::unit::binsearch_index(df::global::world->units.all, workerId);
|
|
|
|
int32_t workerIndex = df::unit::binsearch_index(df::global::world->units.all, workerId);
|
|
|
|
if ( workerIndex < 0 ) {
|
|
|
|
if ( workerIndex < 0 ) {
|
|
|
|
out.print("%s line %d: Couldn't find unit %d.\n", __FILE__, __LINE__, workerId);
|
|
|
|
out.print("%s line %d: Couldn't find unit %d.\n", __FILE__, __LINE__, workerId);
|
|
|
|