organ 
Vars | |
| autopsy_data | Data saved for autopsy scanner |
|---|---|
| bleeding_amount | Current bleeding amount |
| damage | Amount of damage to the organ. |
| destroy_on_removal | Should this organ be destroyed on removal? |
| dna | DNA organ obtains from its holder |
| emp_proof | Is the organ immune to EMPs? |
| freezer_update_period | How much time we can survive before start decay without open freezer on our turf |
| hidden_pain | Will it skip pain messages? |
| last_freezer_update_time | Stuff for tracking if this is on a tile with an open freezer or not |
| last_pain_message | What was the last pain message that was sent? |
| max_bleeding_amount | Maximum of bleeding amount for this organ |
| max_damage | Basically organ max health. |
| min_arterial_bleeding_damage | Minimal threshold for arterial bleeding to occure |
| min_broken_damage | Minimal threshold for fracture to occure |
| min_bruised_damage | Minimal threshold after which various bad effects can happen (lung rupture, eyes temporary blindness etc.) |
| min_internal_bleeding_damage | Minimal threshold for internal bleeding to occure |
| owner | Current organ holder |
| parent_organ_zone | Defined body zone of parent organ. |
| species_type | Species datum typepath, assumed to be a /datum/species/human if null |
| status | Bitflags of organ status |
| sterile | Can the organ be infected by germs? |
| tough | Can organ be easily damaged? |
| trace_chemicals | Traces of chemicals in the organ, links chemical IDs to number of ticks for which they'll stay in the blood |
| vital | Lose a vital organ, die immediately. |
Procs | |
| apply_species_name | Appends the owner's species name to this organ's Russian names. |
| declent_ru_base | Returns the declined Russian name of the organ WITHOUT the species suffix added by apply_species_name() Uses the cached type-level declension, which set_ru_names_suffix() never modifies. |
| handle_failing_organs | Organs don't die instantly, and neither should you when you get fucked up |
| has_damage | Checks if organ has damage that can be cured in the "mend organs" operation. Returns TRUE if there is damage, otherwise FALSE. |
| internal_receive_damage | Adjusts internal organ damage value. |
| organ_failure | |
Var Details
autopsy_data 
Data saved for autopsy scanner
bleeding_amount 
Current bleeding amount
damage 
Amount of damage to the organ.
destroy_on_removal 
Should this organ be destroyed on removal?
dna 
DNA organ obtains from its holder
emp_proof 
Is the organ immune to EMPs?
freezer_update_period 
How much time we can survive before start decay without open freezer on our turf
hidden_pain 
Will it skip pain messages?
last_freezer_update_time 
Stuff for tracking if this is on a tile with an open freezer or not
last_pain_message 
What was the last pain message that was sent?
max_bleeding_amount 
Maximum of bleeding amount for this organ
max_damage 
Basically organ max health.
min_arterial_bleeding_damage 
Minimal threshold for arterial bleeding to occure
min_broken_damage 
Minimal threshold for fracture to occure
min_bruised_damage 
Minimal threshold after which various bad effects can happen (lung rupture, eyes temporary blindness etc.)
min_internal_bleeding_damage 
Minimal threshold for internal bleeding to occure
owner 
Current organ holder
parent_organ_zone 
Defined body zone of parent organ.
species_type 
Species datum typepath, assumed to be a /datum/species/human if null
status 
Bitflags of organ status
sterile 
Can the organ be infected by germs?
tough 
Can organ be easily damaged?
trace_chemicals 
Traces of chemicals in the organ, links chemical IDs to number of ticks for which they'll stay in the blood
vital 
Lose a vital organ, die immediately.
Proc Details
apply_species_name
Appends the owner's species name to this organ's Russian names.
Generic bodyparts such as /obj/item/organ/external/leg are shared between every species, so on their own they read as "левая нога". This bolts the species name onto every grammatical case, producing "левая нога человека" and "левой ноги человека".
declent_ru_base
Returns the declined Russian name of the organ WITHOUT the species suffix added by apply_species_name() Uses the cached type-level declension, which set_ru_names_suffix() never modifies.
handle_failing_organs
Organs don't die instantly, and neither should you when you get fucked up
has_damage
Checks if organ has damage that can be cured in the "mend organs" operation. Returns TRUE if there is damage, otherwise FALSE.
internal_receive_damage
Adjusts internal organ damage value.
Arguments:
- amount - Amount of damage.
- silent - Stops custom pain messaged for organ owner.
Returns TRUE on success
organ_failure
-
organ_failure
-
generic proc for handling dying organs
-
Arguments:
-
seconds_per_tick - seconds since last tick