pub struct MapGenerator {Show 26 fields
pub list: Option<String>,
pub name: String,
pub description: String,
pub flag: bool,
pub start_radius: i32,
pub value_40: f32,
pub citizen: String,
pub households: Vec<(bool, i32)>,
pub natural_resources: Vec<String>,
pub structures: Vec<PlacedStructure>,
pub populations: Vec<String>,
pub raw_materials: Vec<String>,
pub crops: Vec<String>,
pub orchard_trees: Vec<String>,
pub livestock: Vec<String>,
pub crop_picks: i32,
pub tree_picks: i32,
pub livestock_picks: i32,
pub livestock_floats: [f32; 3],
pub ints: [i32; 8],
pub string_118: String,
pub string_138: String,
pub float_130: f32,
pub int_150: i32,
pub string_158: String,
pub float_170: f32,
}Expand description
MapGenerator: a New Game starting-condition profile. Field names follow their confirmed
consumers; offsets are the in-memory record’s.
Original: FUN_1400a7e50.
Fields§
§list: Option<String>The string table (inferred, as in the other profiles).
name: StringThe name’s key.
description: StringThe description’s key.
flag: boolWhether it is listed in the New Game dialog (inferred, as in ClimateHeader).
start_radius: i32Radius of the clear-ground start area.
Original: FUN_1400a7bf0.
value_40: f32Not identified yet.
citizen: StringThe citizen template.
households: Vec<(bool, i32)>The household groups: a flag, and the most extra members ((flag, extra members up to)).
natural_resources: Vec<String>Templates seeded over the map: rock, ore, tree.
Original: FUN_1400a6780.
structures: Vec<PlacedStructure>Not identified yet.
populations: Vec<String>Population managers (deer).
raw_materials: Vec<String>Starting raw materials.
crops: Vec<String>Crop templates; crop_picks are chosen at random.
orchard_trees: Vec<String>Orchard tree templates; tree_picks are chosen at random.
livestock: Vec<String>Livestock templates; livestock_picks are chosen at random.
crop_picks: i32How many crops are chosen.
tree_picks: i32How many orchard trees are chosen.
livestock_picks: i32How many livestock kinds are chosen.
livestock_floats: [f32; 3]Not identified yet.
ints: [i32; 8]livestock_count then seven more integers.
string_118: StringNot identified yet.
string_138: StringNot identified yet.
float_130: f32Not identified yet.
int_150: i32Not identified yet.
string_158: StringNot identified yet.
float_170: f32Not identified yet.
Trait Implementations§
Source§impl Clone for MapGenerator
impl Clone for MapGenerator
Source§fn clone(&self) -> MapGenerator
fn clone(&self) -> MapGenerator
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more