/tg/ Station 13 - Modules - TypesVar Details - Proc Details

decomposition

Makes things decompose when exposed to germs. Requires /datum/component/germ_sensitive to detect exposure.

Vars

decomp_flagsUsed to give raw/gross food lower timers
decomp_resultUse for determining what kind of item the food decomposes into.
decomp_timeridUsed to stop decomposition & check for the examine proc
handledMakes sure maploaded food only starts decomposing if a player's EVER picked it up before
original_timeThe total time that this takes to decompose
particle_effectStink particle holder
produce_antsDoes our food attract ants?
protectedUsed to stop food in someone's hand & in storage slots from decomposing.
stink_particlesStink particle type, if we are supposed to create stink particles
stink_timeridUsed to create stink lines when the food is close to going bad
time_remainingUsed so the timer won't reset.

Procs

get_timeReturns 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

particle_effect

Stink particle holder

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