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

movement

Vars

bucketsAssoc list of "target time" -> list(things to process). Used for quick lookup
canonical_timeThe time we started our last fire at
sorted_bucketsSorted list of list(target time, bucket to process)
visual_delayThe visual delay of the subsystem

Procs

pour_bucketProcesses a bucket of movement loops (This should only ever be called by fire(), it exists to prevent runtime fuckery)
smash_bucketRemoves a bucket from our system. You only need to pass in the time, but if you pass in the index of the list you save us some work

Var Details

buckets

Assoc list of "target time" -> list(things to process). Used for quick lookup

canonical_time

The time we started our last fire at

sorted_buckets

Sorted list of list(target time, bucket to process)

visual_delay

The visual delay of the subsystem

Proc Details

pour_bucket

Processes a bucket of movement loops (This should only ever be called by fire(), it exists to prevent runtime fuckery)

smash_bucket

Removes a bucket from our system. You only need to pass in the time, but if you pass in the index of the list you save us some work