medical
Vars | |
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 |
Procs | |
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 |
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) |
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)
- patient - The mob we're trying to heal
- user - The mob that's trying to heal the patient
- healed_zone - The zone we're trying to heal on the patient Disregarded if auto_change_zone is TRUE
- silent - If we should not print the message that we're starting to heal the patient Used so looping the proc doesn't spam messages
- auto_change_zone - Handles the behavior when we finish healing a zone If auto_change_zone is set to TRUE, it picks the next most damaged zone to heal If auto_change_zone is set to FALSE, it'll give the user a chance to pick a new zone to heal
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)