pub struct Economy {Show 15 fields
pub starting_money: f64,
pub add_car_cost: f64,
pub car_resale_refund: f64,
pub transport_floor_cost: f64,
pub calendars: Vec<CalendarEntry>,
pub maintenance_per_car_monthly: f64,
pub overhead_per_unit_monthly: f64,
pub condo_hold_tax_rate: f64,
pub nightclub_dj_monthly: f64,
pub garbage_collect_hour: f64,
pub exterminator: Option<ExterminatorFees>,
pub films: &'static [FilmOffer],
pub film_rebooks: &'static [FilmRebook],
pub film_rebook_default: Option<&'static str>,
pub auto_bridge_toggleable: bool,
}Expand description
The mode’s economy constants a UI shows, in dollars.
Fields§
§starting_money: f64The treasury a new tower starts with.
add_car_cost: f64The price of one more elevator car on a shaft (add_car charges it).
car_resale_refund: f64What remove_car refunds for one car.
transport_floor_cost: f64The price of each floor an elevator spans past its first. The build
charges it, and extend_transport charges it for each floor an extend
adds. Stairs and escalators pay none.
calendars: Vec<CalendarEntry>The calendars a tower of this mode can run, its default first. Every
...Monthly figure here and each facility’s upkeepMonthly is quoted
per 30-day real-world month: the engine charges it once per
maintenance period, multiplied by that calendar’s maintenanceScale.
maintenance_per_car_monthly: f64Monthly upkeep per elevator car.
overhead_per_unit_monthly: f64Monthly operating overhead per leasable or trading unit (0 where the mode charges none).
condo_hold_tax_rate: f64Monthly tax on an unsold condo, as a fraction of its asking price (0
where the mode charges none). Each period the engine charges
ceil(price * rate), multiplied by maintenanceScale and rounded.
nightclub_dj_monthly: f64A nightclub’s monthly DJ booking.
garbage_collect_hour: f64Hour of the daily garbage-truck collection that empties recycling bins.
exterminator: Option<ExterminatorFees>The paid exterminator’s fees, or null where the mode has none.
films: &'static [FilmOffer]The films a theater can show, with their prices, in the order the card lists them (#1932, #1950). No theater pays anything each period.
film_rebooks: &'static [FilmRebook]The Auto-rebook choices, in the order the card’s button cycles through them: each policy and the film a theater with it books again once its film is spent (#1950). Empty where no theater rebooks.
film_rebook_default: Option<&'static str>The policy a theater with none, or an old save’s “auto”, rebooks by, or null where no theater rebooks.
auto_bridge_toggleable: boolWhether the player can switch automatic bridging off. When false,
bridging is always on. When true, a tower starts bridged unless it
was founded unbridged, and the live setting is per tower (the
engine’s autoBridge(), the save’s autoBridge).