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

venue

Represents the abstract concept of a food venue in the code.

Vars

current_visitorsLists the current visitors of a venue
customer_typesWeighted list of customer types
customers_servedhow many robots got their wanted thing
linked_seatsSeats linked to this venue, assoc list of key holosign of seat position, and value of robot assigned to it, if any.
max_guestsMax amount of guests at any time
max_time_between_visitorMax time between new visits
min_time_between_visitorMin time between new visits
mob_blacklistBlacklist for idiots that attack bots. Key is the mob that did it, and the value is the amount of warnings they've received.
nameName of the venue, also used for the icon state of any radials it can be selected in
openIs the venue open at the moment?
req_accessRequired access to mess with the venue
restaurant_portalPortal linked to this venue at the moment
total_incomeTotal income of those venue
venue_typeWhat kind of Venue are we
visit_cooldownCooldown for next guest to arrive

Procs

create_new_customerSpawns a new customer at the portal
get_food_appearancegets the appearance of the ordered object that shows up when hovering your cursor over the customer mob.
is_correct_orderChecks if the object used is correct for the venue
on_get_orderEffects for when a customer receives their order at this venue
order_food_lineThe line the robot says when ordering
toggle_openToggles whether the venue is open or not

Var Details

current_visitors

Lists the current visitors of a venue

customer_types

Weighted list of customer types

customers_served

how many robots got their wanted thing

linked_seats

Seats linked to this venue, assoc list of key holosign of seat position, and value of robot assigned to it, if any.

max_guests

Max amount of guests at any time

max_time_between_visitor

Max time between new visits

min_time_between_visitor

Min time between new visits

mob_blacklist

Blacklist for idiots that attack bots. Key is the mob that did it, and the value is the amount of warnings they've received.

name

Name of the venue, also used for the icon state of any radials it can be selected in

open

Is the venue open at the moment?

req_access

Required access to mess with the venue

restaurant_portal

Portal linked to this venue at the moment

total_income

Total income of those venue

venue_type

What kind of Venue are we

visit_cooldown

Cooldown for next guest to arrive

Proc Details

create_new_customer

Spawns a new customer at the portal

get_food_appearance

gets the appearance of the ordered object that shows up when hovering your cursor over the customer mob.

is_correct_order

Checks if the object used is correct for the venue

on_get_order

Effects for when a customer receives their order at this venue

order_food_line

The line the robot says when ordering

toggle_open

Toggles whether the venue is open or not