holopay
Vars | |
force_fee | Replaces the "pay whatever" functionality with a set amount when non-zero. |
---|---|
linked_card | ID linked to the holopay |
max_holo_range | Max range at which the hologram can be projected before it deletes |
shop_logo | The holopay shop icon displayed in the UI |
Procs | |
alert_buyer | Alerts the owner of the transaction. |
assign_card | Links the source card to the holopay. Begins checking if its in range. |
dissipate | Creates holopay vanishing effects. Deletes the holopay thereafter. |
handle_move | A periodic check to see if the projecting card is nearby. Deletes the holopay if not. |
process_payment | Initiates a transaction between accounts. |
Var Details
force_fee
Replaces the "pay whatever" functionality with a set amount when non-zero.
linked_card
ID linked to the holopay
max_holo_range
Max range at which the hologram can be projected before it deletes
shop_logo
The holopay shop icon displayed in the UI
Proc Details
alert_buyer
Alerts the owner of the transaction.
Parameters:
- payee - The user who initiated the transaction.
- amount - The amount of money that was paid. Returns:
- TRUE - alert was successful.
assign_card
Links the source card to the holopay. Begins checking if its in range.
Parameters:
- turf/target - The tile to project the holopay onto
- obj/item/card/id/card - The card to link to the holopay Returns:
- TRUE - the card was linked
dissipate
Creates holopay vanishing effects. Deletes the holopay thereafter.
handle_move
A periodic check to see if the projecting card is nearby. Deletes the holopay if not.
process_payment
Initiates a transaction between accounts.
Parameters:
- mob/living/user - The user who initiated the transaction. Returns:
- TRUE - transaction was successful