cigarette

Vars | |
chem_volume | The capacity for chems this cigarette has. |
---|---|
drag_cooldown | The cooldown that prevents just huffing the entire cigarette at once. |
dragtime | How much time between drags of the cigarette. |
icon_off | The icon state used when this is extinguished. |
icon_on | The icon state used when this is lit. |
list_reagents | The reagents that this cigarette starts with. |
lit | Whether this cigarette has been lit. |
lung_harm | How much damage this deals to the lungs per drag. |
smoke_all | Should we smoke all of the chems in the cig before it runs out. Splits each puff to take a portion of the overall chems so by the end you'll always have consumed all of the chems inside. |
smoketime | How long the cigarette lasts in seconds |
starts_lit | Whether this cigarette should start lit. |
type_butt | The type of cigarette butt spawned when this burns out. |
Procs | |
handle_reagents | Handles processing the reagents in the cigarette. |
light | Lights the cigarette with given flavor text. |
Var Details
chem_volume

The capacity for chems this cigarette has.
drag_cooldown

The cooldown that prevents just huffing the entire cigarette at once.
dragtime

How much time between drags of the cigarette.
icon_off

The icon state used when this is extinguished.
icon_on

The icon state used when this is lit.
list_reagents

The reagents that this cigarette starts with.
lit

Whether this cigarette has been lit.
lung_harm

How much damage this deals to the lungs per drag.
smoke_all

Should we smoke all of the chems in the cig before it runs out. Splits each puff to take a portion of the overall chems so by the end you'll always have consumed all of the chems inside.
smoketime

How long the cigarette lasts in seconds
starts_lit

Whether this cigarette should start lit.
type_butt

The type of cigarette butt spawned when this burns out.
Proc Details
handle_reagents
Handles processing the reagents in the cigarette.
light
Lights the cigarette with given flavor text.