iv_drip
Universal IV that can drain blood or feed reagents over a period of time from or to a replaceable container
Vars | |
attached | What are we sticking our needle in? |
---|---|
internal_list_reagents | If we're using the internal container, fill us UP with the below : list(/datum/reagent/water = 5000) |
internal_volume_maximum | How many reagents can we hold? |
mode | Are we donating or injecting? |
reagent_container | Internal beaker |
transfer_rate | The chemicals flow speed |
use_internal_storage | Set false to block beaker use and instead use an internal reagent holder |
Procs | |
attach_iv | called when an IV is attached |
detach_iv | Called when an iv is detached. doesnt include chat stuff because there's multiple options and its better handled by the caller |
get_reagents | Get the reagents used by IV drip |
set_transfer_rate | Sets the transfer rate to the provided value |
Var Details
attached
What are we sticking our needle in?
internal_list_reagents
If we're using the internal container, fill us UP with the below : list(/datum/reagent/water = 5000)
internal_volume_maximum
How many reagents can we hold?
mode
Are we donating or injecting?
reagent_container
Internal beaker
transfer_rate
The chemicals flow speed
use_internal_storage
Set false to block beaker use and instead use an internal reagent holder
Proc Details
attach_iv
called when an IV is attached
detach_iv
Called when an iv is detached. doesnt include chat stuff because there's multiple options and its better handled by the caller
get_reagents
Get the reagents used by IV drip
set_transfer_rate
Sets the transfer rate to the provided value