code/datums/extensions/scent/_scent.dm
/decl/scent_intensity | Scent intensity |
---|---|
/datum/extension/scent | Scent extensions Usage: To add: set_extension(atom, /datum/extension/scent/PATH/TO/SPECIFIC/SCENT) This will set up the extension and will make it begin to emit_scent. To remove: remove_extension(atom, /datum/extension/scent) |
/proc/set_scent_by_reagents | Reagents have the following vars, which coorelate to the vars on the standard scent extension: scent, scent_intensity, scent_descriptor, scent_range To add a scent extension to an atom using a reagent's info, where R. is the reagent, use set_scent_by_reagents(). |