/tg/ Station 13 - Modules - TypesVar Details - Proc Details

turf_reservation

Vars

cordon_turfsTurfs around the reservation for cordoning
pre_cordon_distanceDistance away from the cordon where we can put a "sort-cordon" and run some extra code (see make_repel). 0 makes nothing happen
pre_cordon_turfsArea of turfs next to the cordon to fill with pre_cordon_area's

Procs

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
make_repelRegister signals in the cordon "danger zone" to do something with whoever trespasses
stop_repelUnregister all the signals we added in RegisterRepelSignals

Var Details

cordon_turfs

Turfs around the reservation for cordoning

pre_cordon_distance

Distance away from the cordon where we can put a "sort-cordon" and run some extra code (see make_repel). 0 makes nothing happen

pre_cordon_turfs

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

Proc Details

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

make_repel

Register signals in the cordon "danger zone" to do something with whoever trespasses

stop_repel

Unregister all the signals we added in RegisterRepelSignals