organ ![code/obj/item/organs/organ_parent.dm 5](git.png)
Vars | |
donor_original | Whoever had this organ first, the original owner |
---|---|
either_side | Can this organ be inserted on either side? (literally just kidneys, wegh) |
in_body | if the organ is currently acting as an organ in a body |
region | In which region is this organ supposed to be implanted? E.g. RIBS for the heart and lungs |
surgery_contexts | List of buttons we'll show when doing organ surgery |
surgery_flags | Which type of surgery tools do we need to operate on this organ? |
transplanted | If our organ's been severed and reattached. Used by heads to preserve their appearance across icon updates if reattached |
Procs | |
on_broken | What should happen each life tick when an organ is broken. |
Var Details
donor_original ![code/obj/item/organs/organ_parent.dm 29](git.png)
Whoever had this organ first, the original owner
either_side ![code/obj/item/organs/organ_parent.dm 85](git.png)
Can this organ be inserted on either side? (literally just kidneys, wegh)
in_body ![code/obj/item/organs/organ_parent.dm 75](git.png)
if the organ is currently acting as an organ in a body
region ![code/obj/item/organs/organ_parent.dm 83](git.png)
In which region is this organ supposed to be implanted? E.g. RIBS for the heart and lungs
surgery_contexts ![code/obj/item/organs/organ_parent.dm 77](git.png)
List of buttons we'll show when doing organ surgery
surgery_flags ![code/obj/item/organs/organ_parent.dm 80](git.png)
Which type of surgery tools do we need to operate on this organ?
transplanted ![code/obj/item/organs/organ_parent.dm 47](git.png)
If our organ's been severed and reattached. Used by heads to preserve their appearance across icon updates if reattached
Proc Details
on_broken
What should happen each life tick when an organ is broken.