pub struct Economy {Show 18 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 cinema_screens: usize,
pub ticket_prices: &'static [TicketPrice],
pub ticket_price_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, charged by the build and by 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 shows, priced, in card order; none bills a period.
film_rebooks: &'static [FilmRebook]The Auto-rebook choices in the card button’s order: each policy and the film it books once a theater’s film is spent; empty if none (#1950).
film_rebook_default: Option<&'static str>The policy a theater with none (or an old save’s “auto”) rebooks by.
cinema_screens: usizeThe screens a theater runs, each with its own film and booking (#1950).
ticket_prices: &'static [TicketPrice]A theater’s ticket price steps, cheapest first, against Normal’s 1.
ticket_price_default: Option<&'static str>The step a theater with none set charges, or null (#1950).
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).