simple_smell 
Smellement
The actual element that applies a smell to an atom
Vars | |
| intensity | How strong the smell is |
|---|---|
| radius | How big the smell radius is |
| smell | Smell singleton this element owns |
Procs | |
| Attach | Arguments: |
Var Details
intensity 
How strong the smell is
radius 
How big the smell radius is
smell 
Smell singleton this element owns
Proc Details
Attach
Arguments:
- smell - either a string representing the smell type or a /datum/smell typepath. If a string is passed, a smell singleton will be generated for that string and the provided category. If a smell typepath is passed, it will be used directly. Smell basetype and category arguments will be ignored in this case.
- intensity - how strong the smell is.
- radius - how far the smell reaches. Smell intensity will fall off linearly over distance.
- category - Optional: the smell category, used for categorizing smells and determining how they interact with each other. Only used if smell is passed as a string.
- smell_basetype - Optional: the basetype to use when generating a smell singleton from a string. Defaults to /datum/smell.