byond - Modules - TypesVar Details - Proc Details

reagent

A single reagent

Vars

addiction_stageincreases as addiction gets worse
addiction_thresholdabove this amount addictions start
can_synthcan this reagent be synthesized? (for example: odysseus syringe gun)
colorcolor it looks in containers etc
current_cycleincrements everytime on_mob_life is called
custom_metabolismhow fast the reagent is metabolized by the mob
dataspecial data associated with this like viruses etc
default_containerThe default reagent container for the reagent, used for icon generation
descriptionnor do they have descriptions
effect_strAffects the strength of reagent effects
holderreagent holder this belongs to
medbayblacklistUsed for certain chems we don't want being extracted via dialysis or being used in cryo, makes all important medical machines (dispenser, cryo etc...) refuse to interact with the reagent
namedatums don't have names by default
overdose_crit_thresholdabove this the big bad overdoses happen
overdose_thresholdabove this overdoses happen
overdosedYou fucked up and this is now triggering its overdose effects, purge that shit quick.
overdosed_critYou really fucked up and now getting the worst of the worse.
purge_listList of reagents removed by this chemical
purge_raterate at which it purges specific chems
reactindeadmobIf true allow foam and smoke to transfer reagent into dead mobs
reagent_stateLIQUID, SOLID, GAS
scannabledoes this show up on health analyzers
self_consumingif false stops metab in liverless mobs
specific_heatJ/(K*mol)
taste_descriptionused by taste messages
taste_multihow this taste compares to others. Higher values means it is more noticable
trait_flagsSpecific trait flags, like HEARTSTOPPER CHESTSTOPPER BRADYCARDICS TACHYCARDIC
volumepretend this is moles

Procs

addiction_act_stage1Called when addiction hits stage1, see /datum/reagents/proc/metabolize
addiction_act_stage2Called when addiction hits stage2, see /datum/reagents/proc/metabolize
addiction_act_stage3Called when addiction hits stage3, see /datum/reagents/proc/metabolize
addiction_act_stage4Called when addiction hits stage4, see /datum/reagents/proc/metabolize
ai_should_useChecks if an NPC should use give this to someone
on_ex_actCalled when the reagent container is hit by an explosion
on_mergeCalled when two reagents of the same are mixing.
on_mob_addCalled when this reagent is first added to a mob
on_mob_deleteCalled when this reagent is removed while inside a mob
on_mob_lifeCalled from /datum/reagents/proc/metabolize
on_moveCalled by [/datum/reagents/proc/conditional_update_move]
on_newCalled after add_reagents creates a new reagent.
on_overdose_crit_startCalled when a CRITICAL overdose starts.
on_overdose_startCalled when an overdose starts
on_overdose_stopCalled when an overdose stops
on_updateCalled by [/datum/reagents/proc/conditional_update]
overdose_crit_processCalled when a CRITICAL overdose threshold and is trigger effects.
overdose_processCalled if the reagent has passed the overdose threshold and is set to be triggering overdose effects
purgeCalled during metablism, checks to see if any chemicals need to purge other chemicals.
reaction_mobApplies this reagent to a /mob/living
reaction_objApplies this reagent to an /obj
reaction_turfApplies this reagent to a /turf

Var Details

addiction_stage

increases as addiction gets worse

addiction_threshold

above this amount addictions start

can_synth

can this reagent be synthesized? (for example: odysseus syringe gun)

color

color it looks in containers etc

current_cycle

increments everytime on_mob_life is called

custom_metabolism

how fast the reagent is metabolized by the mob

data

special data associated with this like viruses etc

default_container

The default reagent container for the reagent, used for icon generation

description

nor do they have descriptions

effect_str

Affects the strength of reagent effects

holder

reagent holder this belongs to

medbayblacklist

Used for certain chems we don't want being extracted via dialysis or being used in cryo, makes all important medical machines (dispenser, cryo etc...) refuse to interact with the reagent

name

datums don't have names by default

overdose_crit_threshold

above this the big bad overdoses happen

overdose_threshold

above this overdoses happen

overdosed

You fucked up and this is now triggering its overdose effects, purge that shit quick.

overdosed_crit

You really fucked up and now getting the worst of the worse.

purge_list

List of reagents removed by this chemical

purge_rate

rate at which it purges specific chems

reactindeadmob

If true allow foam and smoke to transfer reagent into dead mobs

reagent_state

LIQUID, SOLID, GAS

scannable

does this show up on health analyzers

self_consuming

if false stops metab in liverless mobs

specific_heat

J/(K*mol)

taste_description

used by taste messages

taste_multi

how this taste compares to others. Higher values means it is more noticable

trait_flags

Specific trait flags, like HEARTSTOPPER CHESTSTOPPER BRADYCARDICS TACHYCARDIC

volume

pretend this is moles

Proc Details

addiction_act_stage1

Called when addiction hits stage1, see /datum/reagents/proc/metabolize

addiction_act_stage2

Called when addiction hits stage2, see /datum/reagents/proc/metabolize

addiction_act_stage3

Called when addiction hits stage3, see /datum/reagents/proc/metabolize

addiction_act_stage4

Called when addiction hits stage4, see /datum/reagents/proc/metabolize

ai_should_use

Checks if an NPC should use give this to someone

on_ex_act

Called when the reagent container is hit by an explosion

on_merge

Called when two reagents of the same are mixing.

on_mob_add

Called when this reagent is first added to a mob

on_mob_delete

Called when this reagent is removed while inside a mob

on_mob_life

Called from /datum/reagents/proc/metabolize

on_move

Called by [/datum/reagents/proc/conditional_update_move]

on_new

Called after add_reagents creates a new reagent.

on_overdose_crit_start

Called when a CRITICAL overdose starts.

on_overdose_start

Called when an overdose starts

on_overdose_stop

Called when an overdose stops

on_update

Called by [/datum/reagents/proc/conditional_update]

overdose_crit_process

Called when a CRITICAL overdose threshold and is trigger effects.

overdose_process

Called if the reagent has passed the overdose threshold and is set to be triggering overdose effects

purge

Called during metablism, checks to see if any chemicals need to purge other chemicals.

reaction_mob

Applies this reagent to a /mob/living

reaction_obj

Applies this reagent to an /obj

reaction_turf

Applies this reagent to a /turf