/tg/ Station 13 - Modules - Types

code/datums/ai/robot_customer/robot_customer_behaviors.dm

/datum/bt_node/ai_behavior/robot_customer/find_seatSearches nearby for an unclaimed seat belonging to the customer's venue. Sets BB_CUSTOMER_MY_SEAT and claims it on success. Returns FAILURE if none found.
/datum/bt_node/ai_behavior/robot_customer/order_foodPlaces the customer's food order once they are at their seat.
/datum/bt_node/ai_behavior/robot_customer/wait_for_foodWaits at the seat for food to arrive. Ticks down patience and checks for food placed in front. Succeeds when BB_CUSTOMER_EATING is set; fails when patience runs out or BB_CUSTOMER_LEAVING is set. On finish, sets BB_CUSTOMER_LEAVING and says the appropriate departure line.
/datum/bt_node/ai_behavior/robot_customer/find_exit_portalResolves the venue exit portal from attending_venue.current_visitors and stores it in BB_CUSTOMER_EXIT_PORTAL.
/datum/bt_node/ai_behavior/robot_customer/leave_venueDeletes the pawn once they have reached the exit portal.