|
|
|
@ -224,7 +224,7 @@ command_result embark_assistant(color_ostream &out, std::vector <std::string> &
|
|
|
|
|
// Find the end of the normal inorganic definitions.
|
|
|
|
|
embark_assist::main::state->max_inorganic = 0;
|
|
|
|
|
for (uint16_t i = 0; i < world->raws.inorganics.size(); i++) {
|
|
|
|
|
if (world->raws.inorganics[i]->flags.is_set(df::inorganic_flags::GENERATED)) embark_assist::main::state->max_inorganic = i;
|
|
|
|
|
if (!world->raws.inorganics[i]->flags.is_set(df::inorganic_flags::GENERATED)) embark_assist::main::state->max_inorganic = i;
|
|
|
|
|
}
|
|
|
|
|
embark_assist::main::state->max_inorganic++; // To allow it to be used as size() replacement
|
|
|
|
|
|
|
|
|
|