decomposition 
Makes things decompose when exposed to germs. Requires /datum/component/germ_sensitive to detect exposure.
Vars | |
| decomp_flags | Used to give raw/gross food lower timers |
|---|---|
| decomp_result | Use for determining what kind of item the food decomposes into. |
| decomp_timerid | Used to stop decomposition & check for the examine proc |
| handled | Makes sure maploaded food only starts decomposing if a player's EVER picked it up before |
| original_time | The total time that this takes to decompose |
| produce_ants | Does our food attract ants? |
| protected | Used to stop food in someone's hand & in storage slots from decomposing. |
| stink_particles | Stink particle type, if we are supposed to create stink particles |
| stink_timerid | Used to create stink lines when the food is close to going bad |
| time_remaining | Used so the timer won't reset. |
Procs | |
| get_time | Returns the time remaining in decomp, either from our potential timer or our own value, whichever is more useful |
Var Details
decomp_flags 
Used to give raw/gross food lower timers
decomp_result 
Use for determining what kind of item the food decomposes into.
decomp_timerid 
Used to stop decomposition & check for the examine proc
handled 
Makes sure maploaded food only starts decomposing if a player's EVER picked it up before
original_time 
The total time that this takes to decompose
produce_ants 
Does our food attract ants?
protected 
Used to stop food in someone's hand & in storage slots from decomposing.
stink_particles 
Stink particle type, if we are supposed to create stink particles
stink_timerid 
Used to create stink lines when the food is close to going bad
time_remaining 
Used so the timer won't reset.
Proc Details
get_time
Returns the time remaining in decomp, either from our potential timer or our own value, whichever is more useful