pub struct Rules {Show 13 fields
pub variant_households: bool,
pub preview_names_refusal: bool,
pub schedule_assist: bool,
pub builds_while_paused: bool,
pub exports_to_1994: bool,
pub quotes_lobby_distance: bool,
pub tall_sky_lobbies: bool,
pub decorative_passers_by: bool,
pub shaded_look: bool,
pub venue_flights: bool,
pub express_stops_on_15th_floors: bool,
pub fed_up_wait: f64,
pub max_lobby_height: i64,
}Expand description
Mode rules a frontend shows the player, each stated from the engine’s own rule method, so a frontend reads them here instead of deciding them from the mode’s name.
Fields§
§variant_households: boolWhether a sold condo carries its own household of 2 to 5 that prices the sale and counts its residents. When false every condo houses the flat family and stores no household.
preview_names_refusal: boolWhether the build preview names the engine’s refusal before the click. When false the refusal shows only once a click is refused.
schedule_assist: boolWhether the elevator schedule’s assisted tools answer: the intent presets, auto-tune and the staffing advice. When false the schedule is the manual grid only and each assisted query is refused.
builds_while_paused: boolWhether the player may place new construction while the game is paused. When false the frontend refuses a placement at speed 0 and says to unpause; the engine itself has no paused state.
exports_to_1994: boolWhether the tower can be exported for SimTower (1994) as a .TDT.
When false the frontend disables that export with the reason, and the
engine’s .TDT export refuses the tower.
quotes_lobby_distance: boolWhether the tenant card’s lobby warning quotes the floors to the nearest lobby. When false it names the problem without the number.
tall_sky_lobbies: boolWhether a sky lobby may rise more than one story (#308). The ground
lobby always may, up to max_lobby_height; when false it is the only
one that can.
decorative_passers_by: boolWhether a frontend may draw decorative passers-by, figures that pace the corridors but are not people the engine knows about (#2091). When false it draws only the engine’s own people.
shaded_look: boolWhether a frontend draws the lit look (#2097): people lit from the upper left with a four-frame walk, and rooms shaded to match. When false it keeps the flat 1994 look, with a two-frame walk.
venue_flights: boolWhether a frontend draws a one-story stair or escalator beside a venue as a spiral staircase or a switchback escalator. Drawing only; when false every one-story flight is drawn straight, as in 1994.
express_stops_on_15th_floors: boolWhether an express elevator keeps the 1994 game’s stops (#1527): the ground floor, every 15th floor and every basement, each of which can be turned off, with an end off those floors passed. When false an express stops at its lobbies, every basement and both ends.
fed_up_wait: f64How long, in seconds, a person waits before the wait counts as stress and the frontend shows them fed up (red). The same in both modes.
max_lobby_height: i64The most stories a lobby can rise (#308). A floor’s first lobby placement sets its height, and it never changes after.