Skip to main content

write_rebel_faction

Function write_rebel_faction 

Source
pub fn write_rebel_faction(
    layout: &StartposLayout,
    plan: &WorldPlan<'_>,
) -> Result<RecordNode>
Expand description

Writes the rebel faction (REBEL_FACTION): the layout’s, with the number of regions without an owner.

§Errors

Returns an error if the layout lacks the records.