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.
Vars | |
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 |
Procs | |
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. |
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.