Skip to main content

zone

Function zone 

Source
pub fn zone(
    cells: &mut Cells,
    rules: &PlacementRules,
    rect: Rect,
    degrees: i32,
    entity: usize,
)
Expand description

Activate a zone: the entity becomes the occupant of every footprint cell that is not ., and each . cell counts one more zone. Not ported: the path grid’s blocked bit (citizens’ mode 0 does not honour it).

Original: FUN_1401356c0; the zone component’s activation FUN_1400a2830.