pub fn write_shroud(
layout: &StartposLayout,
faction_path: &str,
sight: &SightPlan,
vision: &Vision,
) -> Result<RecordNode>Expand description
Writes the shroud of a playable faction (CAMPAIGN_SHROUD): everything it sees is also what it has seen, and the
settlements it doesn’t see fill it later.
§Arguments
layout- Layout of the startpos.faction_path- Path of the faction record.sight- Vision of the world.vision- What the faction sees.
§Errors
Returns an error if the layout lacks the records.