pub struct Rules {
pub variant_households: bool,
pub preview_names_refusal: bool,
pub schedule_assist: bool,
pub builds_while_paused: bool,
}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.