reagent

A single reagent
Vars | |
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 |
Procs | |
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 |
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