Space Station 13 - Modules - TypesVar Details - Proc Details

turf_reservation

Vars

bottom_left_turfBottom left turf of the reservation
cordon_turfsTurfs around the reservation for cordoning
heightThe height of the reservation
pre_cordon_turfsArea of turfs next to the cordon to fill with pre_cordon_area's
reserved_turfsAll turfs that we've reserved
top_right_turfTop right turf of the reservation
turf_typeThe turf type the reservation is initially made with
widthThe width of the reservation

Procs

_reserve_areaInternal proc which handles reserving the area for the reservation.
calculate_cordon_turfsAttempts to calaculate and store a list of turfs around the reservation for cordoning. Returns whether a valid cordon was calculated
generate_cordonActually generates the cordon around the reservation, and marking the cordon turfs as reserved

Var Details

bottom_left_turf

Bottom left turf of the reservation

cordon_turfs

Turfs around the reservation for cordoning

height

The height of the reservation

pre_cordon_turfs

Area of turfs next to the cordon to fill with pre_cordon_area's

reserved_turfs

All turfs that we've reserved

top_right_turf

Top right turf of the reservation

turf_type

The turf type the reservation is initially made with

width

The width of the reservation

Proc Details

_reserve_area

Internal proc which handles reserving the area for the reservation.

calculate_cordon_turfs

Attempts to calaculate and store a list of turfs around the reservation for cordoning. Returns whether a valid cordon was calculated

generate_cordon

Actually generates the cordon around the reservation, and marking the cordon turfs as reserved