complex_smell 
Used for smells with more complex behaviors, such as
- Having a duration
- Fading intensity over time
- Propagating to the wearer of an item
- Being removed by specific cleaning methods
Vars | |
| category | Category of the smell applied, tracked solely for dupe checking |
|---|---|
| clear_signals | Optional list of signals that immediately clear the effect if received. |
| fade_intensity_over_time | If TRUE, the smell intensity will fade over time until it reaches 0, at which point the component will be removed. |
| intensity | Intensity of the smell applied, tracked solely for dupe checking |
| intensity_loss_cooldown | Cooldown to handle intensity loss over time. |
| intensity_loss_period | Calculated period between intensity losses. |
| intensity_per_period | Calculated intensity loss per second if fading over time is enabled. |
| radius | Radius of the smell applied, tracked solely for dupe checking |
| smell | Smell applied, tracked solely for dupe checking |
| smell_basetype | Basetype of the smell to apply, used if smell is passed as a string and a smell singleton needs to be generated. Ignored otherwise. |
| wash_types | Flags indicating which cleaning types will remove this smell. If NONE, no cleaning type will remove it. |
Var Details
category 
Category of the smell applied, tracked solely for dupe checking
clear_signals 
Optional list of signals that immediately clear the effect if received.
fade_intensity_over_time 
If TRUE, the smell intensity will fade over time until it reaches 0, at which point the component will be removed.
intensity 
Intensity of the smell applied, tracked solely for dupe checking
intensity_loss_cooldown 
Cooldown to handle intensity loss over time.
intensity_loss_period 
Calculated period between intensity losses.
intensity_per_period 
Calculated intensity loss per second if fading over time is enabled.
radius 
Radius of the smell applied, tracked solely for dupe checking
smell 
Smell applied, tracked solely for dupe checking
smell_basetype 
Basetype of the smell to apply, used if smell is passed as a string and a smell singleton needs to be generated. Ignored otherwise.
wash_types 
Flags indicating which cleaning types will remove this smell. If NONE, no cleaning type will remove it.