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

acid

Component representing acid applied to an object. Must be attached to an atom. Processes, repeatedly damaging whatever it is attached to. If the parent atom is a turf it applies acid to the contents of the turf. If not being applied to a mob or turf, the atom must use the integrity system.

Vars

acid_overlayAcid overlay appearance we apply
acid_powerThe strength of the acid on the parent /atom.
acid_volumeThe volume of acid on the parent /atom.
max_volumeThe maximum volume of acid on the parent /atom.
parent_integrityUsed exclusively for melting turfs. TODO: Move integrity to the atom level so that this can be dealt with there.
particle_effectParticle holder for acid particles (sick). Still utilized over shared holders because they're movable-only
particle_typeParticle type we're using for cleaning up our shared holder
process_effectThe proc used to handle the parent /atom when processing. TODO: Unify damage and resistance flags so that this doesn't need to exist!
sizzleThe ambient sound of acid eating away at the parent /atom.
stageHow far the acid melting of turfs has progressed
turf_acid_ignores_mobsBoolean for if we ignore mobs when applying acid to turf contents

Procs

InheritComponentAverages corrosive power and sums volume.
on_attack_handHandles searing the hand of anyone who tries to touch parent without protection.
on_cleanMakes it possible to clean acid off of objects.
on_enteredHandles searing the feet of whoever walks over this without protection. Only active if the parent is a turf.
on_examineAlerts any examiners to the acid on the parent atom.
on_expose_reagentHandles water diluting the acid on the object.
on_update_overlaysUsed to maintain the acid overlay on the parent /atom.
processHandles the slow corrosion of the parent /atom.
process_mobHandles processing on a /mob/living.
process_movableHandles processing on an /atom/movable (that uses atom_integrity).
process_turfHandles processing on a /turf.
set_volumeSets the acid volume to a new value. Limits the acid volume by the amount allowed to exist on the parent atom.

Var Details

acid_overlay

Acid overlay appearance we apply

acid_power

The strength of the acid on the parent /atom.

acid_volume

The volume of acid on the parent /atom.

max_volume

The maximum volume of acid on the parent /atom.

parent_integrity

Used exclusively for melting turfs. TODO: Move integrity to the atom level so that this can be dealt with there.

particle_effect

Particle holder for acid particles (sick). Still utilized over shared holders because they're movable-only

particle_type

Particle type we're using for cleaning up our shared holder

process_effect

The proc used to handle the parent /atom when processing. TODO: Unify damage and resistance flags so that this doesn't need to exist!

sizzle

The ambient sound of acid eating away at the parent /atom.

stage

How far the acid melting of turfs has progressed

turf_acid_ignores_mobs

Boolean for if we ignore mobs when applying acid to turf contents

Proc Details

InheritComponent

Averages corrosive power and sums volume.

on_attack_hand

Handles searing the hand of anyone who tries to touch parent without protection.

on_clean

Makes it possible to clean acid off of objects.

on_entered

Handles searing the feet of whoever walks over this without protection. Only active if the parent is a turf.

on_examine

Alerts any examiners to the acid on the parent atom.

on_expose_reagent

Handles water diluting the acid on the object.

on_update_overlays

Used to maintain the acid overlay on the parent /atom.

process

Handles the slow corrosion of the parent /atom.

process_mob

Handles processing on a /mob/living.

process_movable

Handles processing on an /atom/movable (that uses atom_integrity).

process_turf

Handles processing on a /turf.

set_volume

Sets the acid volume to a new value. Limits the acid volume by the amount allowed to exist on the parent atom.