inhaler 
Vars | |
canister | The currently installed canister, from which we get our reagents. Nullable. |
---|---|
canister_underlay | The underlay of our canister, if one is installed. |
canister_underlay_y_offset | The y offset to be applied to [canister_underlay]. |
initial_casister_path | The path for our initial canister to be generated by. If not null, we start with that canister type. |
show_puffs_left | If true, we will show a rotary display with how many puffs we can be used for until the canister runs out. |
Procs | |
can_puff | Determines if we can be used. Fails on no canister, empty canister, invalid targets, or non-breathing targets. |
set_canister | Setter proc for [canister]. Moves the existing canister out of the inhaler, while moving a new canister inside and registering it. |
try_remove_canister | Tries to remove the canister, if any is inserted. |
Var Details
canister 
The currently installed canister, from which we get our reagents. Nullable.
canister_underlay 
The underlay of our canister, if one is installed.
canister_underlay_y_offset 
The y offset to be applied to [canister_underlay].
initial_casister_path 
The path for our initial canister to be generated by. If not null, we start with that canister type.
show_puffs_left 
If true, we will show a rotary display with how many puffs we can be used for until the canister runs out.
Proc Details
can_puff
Determines if we can be used. Fails on no canister, empty canister, invalid targets, or non-breathing targets.
set_canister
Setter proc for [canister]. Moves the existing canister out of the inhaler, while moving a new canister inside and registering it.
try_remove_canister
Tries to remove the canister, if any is inserted.