Skip to main content

write_victory_objectives

Function write_victory_objectives 

Source
pub fn write_victory_objectives(objectives: &[VictoryObjectives]) -> String
Expand description

Writes victory objectives as a victory_objectives.txt script, which parse_victory_objectives reads back.

§Arguments

  • objectives - The victory objectives of each faction and kind of campaign.

§Returns

The script, with tabs for indentation.