Skip to main content

Module citizens

Module citizens 

Source
Expand description

Starting households: every profile row is a couple plus up to extra children, created on the game’s shared random stream. See docs/CITIZEN-NEEDS-AND-HOUSEHOLDS.md and START-CONDITION-PROFILES.md.

Original: FUN_1400a62a0, FUN_1400a6510, FUN_14011c550.

Structs§

Citizen
A citizen: name, sex, age, education, appearance and family.
CitizenRules
The CitizenDescription values household creation reads.
Households
The starting households of a new town, as the start condition makes them.

Functions§

newborn
A child born to mother: its sex, a name from that sex’s database, the appearance, no education and a lifespan. Position, age and family are set by the caller.
population
Status Bar population: adults, students, children.