Goonstation 13 - Modules - TypesVar Details - Proc Details

credit transfer device

Vars

active_transactionSafety thing to prevent other tasks from occurring during a transaction.
amountThe price set by the owner of the machine.
tipThe proportion of the given price to be added on as a tip, from 0 to 1.
transaction_countThe number of transfers the machine has processed.
transaction_limitMaximum amount of credits a single transaction can move.

Procs

authenticate_cardChecks that the scanned card's PIN was entered correctly and that it exists on the database.
register_ownerRegisters mob/user as the owner of the device.

Var Details

active_transaction

Safety thing to prevent other tasks from occurring during a transaction.

amount

The price set by the owner of the machine.

tip

The proportion of the given price to be added on as a tip, from 0 to 1.

transaction_count

The number of transfers the machine has processed.

transaction_limit

Maximum amount of credits a single transaction can move.

Proc Details

authenticate_card

Checks that the scanned card's PIN was entered correctly and that it exists on the database.

register_owner

Registers mob/user as the owner of the device.