[MIRROR] Port tg statpanel (#9242)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-17 14:29:59 -07:00
committed by GitHub
parent e68994c99d
commit 4d9879937f
207 changed files with 709 additions and 956 deletions
+2 -2
View File
@@ -548,11 +548,11 @@ var/list/organ_cache = list()
if(!removed && organ_verbs && check_verb_compatability())
for(var/verb_path in organ_verbs)
add_verb(owner,verb_path) //CHOMPEdit TGPanel
add_verb(owner, verb_path)
else if(organ_verbs)
for(var/verb_path in organ_verbs)
if(!(verb_path in save_verbs))
remove_verb(owner,verb_path) //CHOMPEdit
remove_verb(owner, verb_path)
return
/obj/item/organ/proc/handle_organ_proc_special() // Called when processed.
+3 -3
View File
@@ -221,7 +221,7 @@
dislocated = 1
if(istype(owner))
add_verb(owner,/mob/living/carbon/human/proc/relocate) //CHOMPEdit TGPanel
add_verb(owner, /mob/living/carbon/human/proc/relocate)
/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
remove_verb(owner,/mob/living/carbon/human/proc/relocate) //CHOMPEdit
remove_verb(owner, /mob/living/carbon/human/proc/relocate)
/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_danger("\The [W] sticks in the wound!"))
implants += W
owner.embedded_flag = 1
add_verb(owner,/mob/proc/yank_out_object) //CHOMPEdit
add_verb(owner, /mob/proc/yank_out_object)
owner.throw_alert("embeddedobject", /obj/screen/alert/embeddedobject)
W.add_blood(owner)
if(ismob(W.loc))