pub fn rebel_setup(
tables: &StartposTables,
region: &RegionEntry,
) -> Result<Option<RebelSetup>>Expand description
Returns the rebel setup of a region.
§Arguments
tables- Tables withstart_pos_regions,start_pos_region_religionsandfactions.region- The region.
§Returns
The setup for regions owned by the rebels, None for the others (which store the default setup).
§Errors
Returns an error if a table or column is missing, or the rebel faction isn’t in factions.