ltsrbt

Vars | |
base_recharge_time | Base recharge time in seconds which is used to get recharge_time. |
---|---|
power_efficiency | Divider for power_usage_per_teleport. |
power_usage_per_teleport | Power used per teleported which gets divided by power_efficiency. |
queue | Queue for purchases that the machine should receive and send. |
receiving | Current /datum/market_purchase being received. |
recharge_cooldown | Current recharge progress. |
recharge_time | The time it takes for the machine to recharge before being able to send or receive items. |
transmitting | Current /datum/market_purchase being sent to the target uplink. |
Procs | |
add_to_queue | Adds /datum/market_purchase to queue unless the machine is free, then it sets the purchase to be instantly received |
Var Details
base_recharge_time

Base recharge time in seconds which is used to get recharge_time.
power_efficiency

Divider for power_usage_per_teleport.
power_usage_per_teleport

Power used per teleported which gets divided by power_efficiency.
queue

Queue for purchases that the machine should receive and send.
receiving

Current /datum/market_purchase being received.
recharge_cooldown

Current recharge progress.
recharge_time

The time it takes for the machine to recharge before being able to send or receive items.
transmitting

Current /datum/market_purchase being sent to the target uplink.
Proc Details
add_to_queue
Adds /datum/market_purchase to queue unless the machine is free, then it sets the purchase to be instantly received