Daedalus Dock - Modules - TypesVar Details - Proc Details

acid

Vars

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.
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!
stageHow far the acid melting of turfs has progressed

Procs

InheritComponentAverages corrosive power and sums volume.
on_attack_handHandles searing the hand of anyone who tries to touch this 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_objHandles processing on a /obj.
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_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.

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!

stage

How far the acid melting of turfs has progressed

Proc Details

InheritComponent

Averages corrosive power and sums volume.

on_attack_hand

Handles searing the hand of anyone who tries to touch this 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_obj

Handles processing on a /obj.

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.