merger
![code/datums/mergers/_merger.dm 4](git.png)
A datum that tracks a type or types of objects in a cluster
Vars | |
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 |
Var Details
attempt_merge_proc
![code/datums/mergers/_merger.dm 10](git.png)
Optional proc to call on potential members, return true to allow merge
id
![code/datums/mergers/_merger.dm 6](git.png)
The unique ID for this merger datum, adjacent merg groups with the same id will combine
members
![code/datums/mergers/_merger.dm 15](git.png)
Assoc list of all members in the group -> dirs from them to their connected nighbors
merged_typecache
![code/datums/mergers/_merger.dm 8](git.png)
The types allowed to be in this merge group
origin
![code/datums/mergers/_merger.dm 13](git.png)
The arbitrary "owner" member of the merge group