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

piratepad_control

Vars

cargo_hold_idThis is the cargo hold ID used by the piratepad machine. Match these two to link them together.
interface_typeInterface name for the ui_interact call for different subtypes.
nosell_typecacheTypecache of things that shouldn't be sold and shouldn't have their contents sold.
pad_refReference to the specific pad that the control computer is linked up to.
pointsFor the purposes of space pirates, how many points does the control pad have collected.
sendingIs the teleport pad/computer sending something right now? TRUE/FALSE
sending_timerCallback holding the sending timer for sending the goods after a delay.
status_reportMessage to display on the TGUI window.
total_reportReference to the export report totaling all sent objects and mobs.
warmup_timeHow long does it take to warmup the pad to teleport?

Procs

pirate_export_loopThe loop that calculates the value of stuff on a pirate pad, or plain sell them if dry_run is FALSE.
recalcCalculates the predicted value of the items on the pirate pad
sendDeletes and sells the item
start_sendingPrepares to sell the items on the pad
stop_sendingFinishes the sending state of the pad

Var Details

cargo_hold_id

This is the cargo hold ID used by the piratepad machine. Match these two to link them together.

interface_type

Interface name for the ui_interact call for different subtypes.

nosell_typecache

Typecache of things that shouldn't be sold and shouldn't have their contents sold.

pad_ref

Reference to the specific pad that the control computer is linked up to.

points

For the purposes of space pirates, how many points does the control pad have collected.

sending

Is the teleport pad/computer sending something right now? TRUE/FALSE

sending_timer

Callback holding the sending timer for sending the goods after a delay.

status_report

Message to display on the TGUI window.

total_report

Reference to the export report totaling all sent objects and mobs.

warmup_time

How long does it take to warmup the pad to teleport?

Proc Details

pirate_export_loop

The loop that calculates the value of stuff on a pirate pad, or plain sell them if dry_run is FALSE.

recalc

Calculates the predicted value of the items on the pirate pad

send

Deletes and sells the item

start_sending

Prepares to sell the items on the pad

stop_sending

Finishes the sending state of the pad