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

trash_compactor

Vars

inserted_cardTrack inserted GAP cards
ticket_countsTrack rewarded tickets for each user
trash_countsTrack trash count for each user
trash_itemsWhich items are considered trash?
trash_storageStore processed trash items separately from contents

Procs

dispense_rewardHandles dispensing rewards based on user type and ticket count
is_janitorChecks if the given user is a janitor by verifying their ID card's trim.
process_trashProcesses a trash item through the compactor, tracking user progress and dispensing rewards.
process_trash_bagProcesses-runs all valid trash items in a trash bag through the compactor.

Var Details

inserted_card

Track inserted GAP cards

ticket_counts

Track rewarded tickets for each user

trash_counts

Track trash count for each user

trash_items

Which items are considered trash?

trash_storage

Store processed trash items separately from contents

Proc Details

dispense_reward

Handles dispensing rewards based on user type and ticket count

is_janitor

Checks if the given user is a janitor by verifying their ID card's trim.

process_trash

Processes a trash item through the compactor, tracking user progress and dispensing rewards.

process_trash_bag

Processes-runs all valid trash items in a trash bag through the compactor.