SS1984 - Modules - Types — Var Details - Proc Details

organ

Vars

autopsy_dataData saved for autopsy scanner
bleeding_amountCurrent bleeding amount
damageAmount of damage to the organ.
destroy_on_removalShould this organ be destroyed on removal?
dnaDNA organ obtains from its holder
emp_proofIs the organ immune to EMPs?
freezer_update_periodHow much time we can survive before start decay without open freezer on our turf
hidden_painWill it skip pain messages?
last_freezer_update_timeStuff for tracking if this is on a tile with an open freezer or not
last_pain_messageWhat was the last pain message that was sent?
max_bleeding_amountMaximum of bleeding amount for this organ
max_damageBasically organ max health.
min_arterial_bleeding_damageMinimal threshold for arterial bleeding to occure
min_broken_damageMinimal threshold for fracture to occure
min_bruised_damageMinimal threshold after which various bad effects can happen (lung rupture, eyes temporary blindness etc.)
min_internal_bleeding_damageMinimal threshold for internal bleeding to occure
ownerCurrent organ holder
parent_organ_zoneDefined body zone of parent organ.
species_typeSpecies datum typepath, assumed to be a /datum/species/human if null
statusBitflags of organ status
sterileCan the organ be infected by germs?
toughCan organ be easily damaged?
trace_chemicalsTraces of chemicals in the organ, links chemical IDs to number of ticks for which they'll stay in the blood
vitalLose a vital organ, die immediately.

Procs

apply_species_nameAppends the owner's species name to this organ's Russian names.
declent_ru_baseReturns 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_organsOrgans don't die instantly, and neither should you when you get fucked up
has_damageChecks if organ has damage that can be cured in the "mend organs" operation. Returns TRUE if there is damage, otherwise FALSE.
internal_receive_damageAdjusts 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:

Returns TRUE on success

organ_failure