trash_compactor 
Vars | |
| 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 |
Procs | |
| 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. |
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.