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

order_console

Vars

cooldown_timeCooldown time between uses, express console will have extra time depending on express_cost_multiplier.
express_cost_multiplierMultiplied cost to use express mode
forced_expressWhether the console can only use express mode ONLY
grocery_listThe current list of things we're trying to order, waiting for checkout.
order_categoriesThe categories of orderable items this console can view and purchase.
order_cooldownCooldown between order uses.
radioThe radio the console can speak into
radio_channelThe channel we will attempt to speak into through our radio.
uses_ltsrbtBoolean on whether they can bluespace orders using a '/obj/machinery/mining_ltsrbt'

Procs

purchase_itemsChecks if an ID card is able to afford the total cost of the current console's grocieries and deducts the cost if they can. Args: card - The ID card we check for balance express - Boolean on whether we need to add the express cost mulitplier returns TRUE if we can afford, FALSE otherwise.

Var Details

cooldown_time

Cooldown time between uses, express console will have extra time depending on express_cost_multiplier.

express_cost_multiplier

Multiplied cost to use express mode

forced_express

Whether the console can only use express mode ONLY

grocery_list

The current list of things we're trying to order, waiting for checkout.

order_categories

The categories of orderable items this console can view and purchase.

order_cooldown

Cooldown between order uses.

radio

The radio the console can speak into

radio_channel

The channel we will attempt to speak into through our radio.

uses_ltsrbt

Boolean on whether they can bluespace orders using a '/obj/machinery/mining_ltsrbt'

Proc Details

purchase_items

Checks if an ID card is able to afford the total cost of the current console's grocieries and deducts the cost if they can. Args: card - The ID card we check for balance express - Boolean on whether we need to add the express cost mulitplier returns TRUE if we can afford, FALSE otherwise.