borghypo ![code/game/objects/items/robot/items/hypo.dm 97](git.png)
Borg Hypospray
Vars | |
bypass_protection | If the hypospray can go through armor or thick material |
---|---|
charge_cost | Cell cost for charging a reagent |
charge_timer | Counts up to the next time we charge |
default_reagent_types | The basic reagents that come with this hypo |
dispensed_temperature | Optional variable to override the temperature add_reagent() will use |
expanded_reagent_types | The expanded suite of reagents that comes from upgrading this hypo |
max_volume_per_reagent | |
recharge_time | Time it takes for shots to recharge (in seconds) |
selected_reagent | The reagent we've selected to dispense |
stored_reagents | The reagents we're actually storing |
tgui_theme | The theme for our UI (hacked hypos get syndicate UI) |
upgraded | If this hypospray has been upgraded |
Procs | |
add_new_reagent | Use this to add more chemicals for the borghypo to produce. |
process | Every [recharge_time] seconds, recharge some reagents for the cyborg |
regenerate_reagents | Regenerate our supply of all reagents (if they're not full already) |
Var Details
bypass_protection ![code/game/objects/items/robot/items/hypo.dm 122](git.png)
If the hypospray can go through armor or thick material
charge_cost ![code/game/objects/items/robot/items/hypo.dm 114](git.png)
Cell cost for charging a reagent
charge_timer ![code/game/objects/items/robot/items/hypo.dm 116](git.png)
Counts up to the next time we charge
default_reagent_types ![code/game/objects/items/robot/items/hypo.dm 127](git.png)
The basic reagents that come with this hypo
dispensed_temperature ![code/game/objects/items/robot/items/hypo.dm 120](git.png)
Optional variable to override the temperature add_reagent() will use
expanded_reagent_types ![code/game/objects/items/robot/items/hypo.dm 129](git.png)
The expanded suite of reagents that comes from upgrading this hypo
max_volume_per_reagent ![code/game/objects/items/robot/items/hypo.dm 112](git.png)
- The maximum volume for each reagent stored in this hypospray
- In most places we add + 1 because we're secretly keeping [max_volume_per_reagent + 1]
- units, so that when this reagent runs out it's not wholesale removed from the reagents
recharge_time ![code/game/objects/items/robot/items/hypo.dm 118](git.png)
Time it takes for shots to recharge (in seconds)
selected_reagent ![code/game/objects/items/robot/items/hypo.dm 134](git.png)
The reagent we've selected to dispense
stored_reagents ![code/game/objects/items/robot/items/hypo.dm 132](git.png)
The reagents we're actually storing
tgui_theme ![code/game/objects/items/robot/items/hypo.dm 136](git.png)
The theme for our UI (hacked hypos get syndicate UI)
upgraded ![code/game/objects/items/robot/items/hypo.dm 124](git.png)
If this hypospray has been upgraded
Proc Details
add_new_reagent
Use this to add more chemicals for the borghypo to produce.
process
Every [recharge_time] seconds, recharge some reagents for the cyborg
regenerate_reagents
Regenerate our supply of all reagents (if they're not full already)