code/__DEFINES/defibrillator.dm

DEFIBRILLATOR_BASE_HEALING_VALUE | The base healing number for a defibrillator. |
---|---|
DEFIBRILLATOR_COOLDOWN | How often you can defib someone |
DEFIBRILLATOR_HEALING_TIMES_SKILL | A macro for healing with a defibrillator. |
DEFIB_POSSIBLE | Ready to defibrillate |
DEFIB_FAIL_DECAPITATED | Missing a head |
DEFIB_FAIL_BRAINDEAD | They have TRAIT_UNDEFIBBABLE |
DEFIB_FAIL_BAD_ORGANS | Doesn't have the required organs to sustain life OR heart is broken |
DEFIB_FAIL_TOO_MUCH_DAMAGE | Too much damage |
DEFIB_PREVENT_REVIVE_STATES | Revival states that strictly entail permadeath. These will prevent defibrillation |
DEFIB_REVIVABLE_STATES | All defibrillation outcomes that leave a revivable patient |
Define Details
DEFIBRILLATOR_BASE_HEALING_VALUE
The base healing number for a defibrillator.
DEFIBRILLATOR_COOLDOWN
How often you can defib someone
DEFIBRILLATOR_HEALING_TIMES_SKILL
A macro for healing with a defibrillator.
skill_input
- What to multiplyhealing_value
by. If this is less thanSKILL_MEDICAL_PRACTICED
, will be 8.healing_value
- The number to multiply. Should beDEFIBRILLATOR_BASE_HEALING_VALUE
unless you want to change the base healing value
DEFIB_FAIL_BAD_ORGANS
Doesn't have the required organs to sustain life OR heart is broken
DEFIB_FAIL_BRAINDEAD
They have TRAIT_UNDEFIBBABLE
DEFIB_FAIL_DECAPITATED
Missing a head
DEFIB_FAIL_TOO_MUCH_DAMAGE
Too much damage
DEFIB_POSSIBLE
Ready to defibrillate
DEFIB_PREVENT_REVIVE_STATES
Revival states that strictly entail permadeath. These will prevent defibrillation
DEFIB_REVIVABLE_STATES
All defibrillation outcomes that leave a revivable patient