Co-authored-by: ItsSelis <selis@xynolabs.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
Cadyn
2024-03-24 04:19:07 -07:00
committed by GitHub
parent 89552c2af4
commit ccad338c93
259 changed files with 3497 additions and 1176 deletions

View File

@@ -540,11 +540,11 @@ var/list/organ_cache = list()
if(!removed && organ_verbs && check_verb_compatability())
for(var/verb_path in organ_verbs)
owner.verbs |= verb_path
add_verb(owner,verb_path) //CHOMPEdit TGPanel
else if(organ_verbs)
for(var/verb_path in organ_verbs)
if(!(verb_path in save_verbs))
owner.verbs -= verb_path
remove_verb(owner,verb_path) //CHOMPEdit
return
/obj/item/organ/proc/handle_organ_proc_special() // Called when processed.

View File

@@ -221,7 +221,7 @@
dislocated = 1
if(istype(owner))
owner.verbs |= /mob/living/carbon/human/proc/relocate
add_verb(owner,/mob/living/carbon/human/proc/relocate) //CHOMPEdit TGPanel
/obj/item/organ/external/proc/relocate()
if(dislocated == -1)
@@ -235,7 +235,7 @@
for(var/obj/item/organ/external/limb in owner.organs)
if(limb.dislocated == 1)
return
owner.verbs -= /mob/living/carbon/human/proc/relocate
remove_verb(owner,/mob/living/carbon/human/proc/relocate) //CHOMPEdit
/obj/item/organ/external/update_health()
damage = min(max_damage, (brute_dam + burn_dam))
@@ -1225,7 +1225,7 @@ Note that amputating the affected organ does in fact remove the infection from t
owner.visible_message("<span class='danger'>\The [W] sticks in the wound!</span>")
implants += W
owner.embedded_flag = 1
owner.verbs += /mob/proc/yank_out_object
add_verb(owner,/mob/proc/yank_out_object) //CHOMPEdit
owner.throw_alert("embeddedobject", /obj/screen/alert/embeddedobject)
W.add_blood(owner)
if(ismob(W.loc))
@@ -1432,4 +1432,4 @@ Note that amputating the affected organ does in fact remove the infection from t
for(var/M in markings)
var/datum/sprite_accessory/marking/mark = markings[M]["datum"]
if(mark.hide_body_parts && (organ_tag in mark.hide_body_parts))
return 1
return 1