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

medical

Vars

apply_verbVerb used when applying this object to someone
flesh_regenerationHow much we add to flesh_healing for burn wounds on application
heal_bruteHow much brute we heal per application. This is the only number that matters for simplemobs
heal_burnHow much burn we heal per application
other_delayHow long it takes to apply it to someone else
repeatingIf we've still got more and the patient is still hurt, should we keep going automatically?
sanitizationHow much sanitization to apply to burn wounds on application
self_delayHow long it takes to apply it to yourself
stop_bleedingHow much we reduce bleeding per application on cut wounds
works_on_deadWhether this item can be used on dead bodies

Procs

begin_heal_loopUsed to begin the recursive healing loop. Returns TRUE if we entered the loop, FALSE if we didn't
can_healChecks if the passed patient can be healed by the passed user
heal_carbonThe healing effects on a carbon patient. Since we have extra details for dealing with bodyparts, we get our own fancy proc. Still returns TRUE on success and FALSE on fail
heal_simplemobHealing a simple mob, just an adjustbruteloss call
post_heal_effectsOverride this proc for special post heal effects. Only called for carbon patients.
try_healWhat actually handles printing the message that we're starting to heal someone, and trying to heal them
try_heal_checksChecks a bunch of stuff to see if we can heal the patient, including can_heal Gives a feedback if we can't ultimatly heal the patient (unless silent is TRUE)

Var Details

apply_verb

Verb used when applying this object to someone

flesh_regeneration

How much we add to flesh_healing for burn wounds on application

heal_brute

How much brute we heal per application. This is the only number that matters for simplemobs

heal_burn

How much burn we heal per application

other_delay

How long it takes to apply it to someone else

repeating

If we've still got more and the patient is still hurt, should we keep going automatically?

sanitization

How much sanitization to apply to burn wounds on application

self_delay

How long it takes to apply it to yourself

stop_bleeding

How much we reduce bleeding per application on cut wounds

works_on_dead

Whether this item can be used on dead bodies

Proc Details

begin_heal_loop

Used to begin the recursive healing loop. Returns TRUE if we entered the loop, FALSE if we didn't

can_heal

Checks if the passed patient can be healed by the passed user

heal_carbon

The healing effects on a carbon patient. Since we have extra details for dealing with bodyparts, we get our own fancy proc. Still returns TRUE on success and FALSE on fail

heal_simplemob

Healing a simple mob, just an adjustbruteloss call

post_heal_effects

Override this proc for special post heal effects. Only called for carbon patients.

try_heal

What actually handles printing the message that we're starting to heal someone, and trying to heal them

This proc is recursively called until we run out of charges OR until the patient is fully healed OR until the target zone is fully healed (if auto_change_zone is FALSE)

try_heal_checks

Checks a bunch of stuff to see if we can heal the patient, including can_heal Gives a feedback if we can't ultimatly heal the patient (unless silent is TRUE)