/tg/ Station 13 - Modules - TypesVar Details

merger

A datum that tracks a type or types of objects in a cluster

Vars

attempt_merge_procOptional proc to call on potential members, return true to allow merge
idThe unique ID for this merger datum, adjacent merg groups with the same id will combine
membersAssoc list of all members in the group -> dirs from them to their connected nighbors
merged_typecacheThe types allowed to be in this merge group
originThe arbitrary "owner" member of the merge group
refresh_signalsSignals in members to trigger a refresh

Var Details

attempt_merge_proc

Optional proc to call on potential members, return true to allow merge

id

The unique ID for this merger datum, adjacent merg groups with the same id will combine

members

Assoc list of all members in the group -> dirs from them to their connected nighbors

merged_typecache

The types allowed to be in this merge group

origin

The arbitrary "owner" member of the merge group

refresh_signals

Signals in members to trigger a refresh