bluespace_vendor 
Vars | |
connected_machine | The bluespace sender that this vendor is connected to |
---|---|
empty_tanks | Amount of usable tanks inside the machine |
gas_price | Stores the current price of the gases inside the tank |
inserted_tank | Has the user prepared a tank to be filled with gases? |
internal_tank | Reference to the current in use tank to be filled |
map_spawned | Helper for mappers, will automatically connect to the sender (ensure to only place one sender per map) |
mode | Current operating mode of the vendor |
pumping | Is the vendor trying to move gases from the network to the tanks? |
selected_gas | Path of the gas selected from the UI to be pumped inside the tanks |
tank_cost | Base price of the tank |
tank_filling_amount | Amount of the tank already filled with gas (from 0 to 100) |
Procs | |
check_mode | Check what is the current operating mode |
check_price | Check the price of the current tank, if the user doesn't have the money the gas will be merged back into the network |
register_machine | Register the sender as the connected_machine |
unregister_machine | Unregister the connected_machine (either when qdel this or the sender) |
Var Details
connected_machine 
The bluespace sender that this vendor is connected to
empty_tanks 
Amount of usable tanks inside the machine
gas_price 
Stores the current price of the gases inside the tank
inserted_tank 
Has the user prepared a tank to be filled with gases?
internal_tank 
Reference to the current in use tank to be filled
map_spawned 
Helper for mappers, will automatically connect to the sender (ensure to only place one sender per map)
mode 
Current operating mode of the vendor
pumping 
Is the vendor trying to move gases from the network to the tanks?
selected_gas 
Path of the gas selected from the UI to be pumped inside the tanks
tank_cost 
Base price of the tank
tank_filling_amount 
Amount of the tank already filled with gas (from 0 to 100)
Proc Details
check_mode
Check what is the current operating mode
check_price
Check the price of the current tank, if the user doesn't have the money the gas will be merged back into the network
register_machine
Register the sender as the connected_machine
unregister_machine
Unregister the connected_machine (either when qdel this or the sender)