reagent_refiller ![code/datums/components/reagent_refiller.dm 5](git.png)
Reagent refiller
Refills any drinks poured out of the reagent container (and is allowed within the whitelisted reagents).
Vars | |
power_draw_callback | Callback to consume power |
---|---|
power_to_draw | Amount of power to use from the cell |
time_to_refill | Time to refill |
whitelisted_reagents | Whitelist of reagents allowed to be synthesized |
Procs | |
add_reagents | Refills the reagent container, and uses cell power if applicable |
refill | Preps the reagent container for being refilled |
Var Details
power_draw_callback ![code/datums/components/reagent_refiller.dm 9](git.png)
Callback to consume power
power_to_draw ![code/datums/components/reagent_refiller.dm 11](git.png)
Amount of power to use from the cell
time_to_refill ![code/datums/components/reagent_refiller.dm 7](git.png)
Time to refill
whitelisted_reagents ![code/datums/components/reagent_refiller.dm 15](git.png)
Whitelist of reagents allowed to be synthesized
Proc Details
add_reagents
Refills the reagent container, and uses cell power if applicable
refill
Preps the reagent container for being refilled