Daedalus Dock - Modules - TypesVar Details - Proc Details

collector

Vars

connected_flockturfsAll flockturfs we're connected to.
max_rangeThe collection range.
need_turfs_updateSet to TRUE when the connected_turfs list needs an update. Prevents update_connections() being called 20 times during explosions.
power_per_tileHow much power each flocktile grants, percentage of a cell's max charge.
tracked_turfsAll turfs nearby we're tracking for state changes.

Procs

add_flockturfsAdds turfs to the flockturfs list.
add_tracked_turfsAdd turfs to the tracked list.
on_tracked_turf_changeCalled when any of the connected turfs is changed.
remove_flockturfsRemove turfs from the flockturfs list.
remove_tracked_turfsRemove turfs from the tracked list.
update_connectionsRecalculate the turf connections and tracking.

Var Details

connected_flockturfs

All flockturfs we're connected to.

max_range

The collection range.

need_turfs_update

Set to TRUE when the connected_turfs list needs an update. Prevents update_connections() being called 20 times during explosions.

power_per_tile

How much power each flocktile grants, percentage of a cell's max charge.

tracked_turfs

All turfs nearby we're tracking for state changes.

Proc Details

add_flockturfs

Adds turfs to the flockturfs list.

add_tracked_turfs

Add turfs to the tracked list.

on_tracked_turf_change

Called when any of the connected turfs is changed.

remove_flockturfs

Remove turfs from the flockturfs list.

remove_tracked_turfs

Remove turfs from the tracked list.

update_connections

Recalculate the turf connections and tracking.