|
|
@ -265,6 +265,8 @@ DFhackCExport command_result mapexport (Core * c, std::vector <std::string> & pa
|
|
|
|
loc = loc % 16;
|
|
|
|
loc = loc % 16;
|
|
|
|
if (showHidden || !b->DesignationAt(loc).bits.hidden)
|
|
|
|
if (showHidden || !b->DesignationAt(loc).bits.hidden)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
protoplant->set_x(loc.x);
|
|
|
|
|
|
|
|
protoplant->set_y(loc.y);
|
|
|
|
protoplant->set_is_shrub(plant.flags.bits.is_shrub);
|
|
|
|
protoplant->set_is_shrub(plant.flags.bits.is_shrub);
|
|
|
|
protoplant->set_material(plant.material);
|
|
|
|
protoplant->set_material(plant.material);
|
|
|
|
}
|
|
|
|
}
|
|
|
|