mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 20:14:31 +01:00
Port tg statpanel (#16463)
* Port tg statpanel * Add verb descriptions using the title attribute * Fix a dreamchecker error * Remove chomp edits * Add mentor tickets to ticket panel --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -548,11 +548,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)
|
||||
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)
|
||||
return
|
||||
|
||||
/obj/item/organ/proc/handle_organ_proc_special() // Called when processed.
|
||||
|
||||
@@ -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)
|
||||
|
||||
/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)
|
||||
|
||||
/obj/item/organ/external/update_health()
|
||||
damage = min(max_damage, (brute_dam + burn_dam))
|
||||
@@ -1223,7 +1223,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
|
||||
owner.verbs += /mob/proc/yank_out_object
|
||||
add_verb(owner, /mob/proc/yank_out_object)
|
||||
owner.throw_alert("embeddedobject", /obj/screen/alert/embeddedobject)
|
||||
W.add_blood(owner)
|
||||
if(ismob(W.loc))
|
||||
|
||||
Reference in New Issue
Block a user