/tg/ Station 13 - Modules - TypesProc Details

custom_order

custom order datums Used for less generic orders (ice cream for example) without snowflaking venue and customer code too much.

Procs

dispense_orderReturns the object that will be stored in the controller blackboard for the customer bot. Normally but not necessarily, this would be the custom order itself. The moth clothing is a good example of an exception to that.
get_order_appearanceReturns the appearance of the order that appears when hovering over the mob with the cursor
get_order_lineReturns the order line shout by the mob and also shown to the player when examining it.
handle_get_orderHandles what the bot does with the order when it gets it
is_correct_orderWhether or not the order is correct. Only relevant if dispense_order didn't return another object.

Proc Details

dispense_order

Returns the object that will be stored in the controller blackboard for the customer bot. Normally but not necessarily, this would be the custom order itself. The moth clothing is a good example of an exception to that.

get_order_appearance

Returns the appearance of the order that appears when hovering over the mob with the cursor

get_order_line

Returns the order line shout by the mob and also shown to the player when examining it.

handle_get_order

Handles what the bot does with the order when it gets it

Return TRANSACTION_SUCCESS to denote the order went through successfully (Not generally necessary to include here) Return TRANSACTION_HANDLED to not do any further handling of the order by the

is_correct_order

Whether or not the order is correct. Only relevant if dispense_order didn't return another object.