customised_abstract_text - removed useless check, changed var (#23282)

* customiZed, removed check that is not needed

* one more typo

* fuck it this is right in brenglish

* not need /human here

* even better
This commit is contained in:
HMBGERDO
2023-11-24 15:36:24 +00:00
committed by GitHub
parent c1900f2d4f
commit 53f6b905e6
9 changed files with 11 additions and 38 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
in_storage = TRUE
// this proc is used to add text for items with ABSTRACT flag after default examine text
/obj/item/proc/customised_abstract_text()
/obj/item/proc/customised_abstract_text(mob/living/carbon/owner)
return
/obj/item/proc/determine_move_resist()
@@ -122,10 +122,7 @@
damtype = BURN
attack_verb = list("punched", "cross countered", "pummeled")
/obj/item/nullrod/godhand/customised_abstract_text()
if(!ishuman(loc))
return
var/mob/living/carbon/human/owner = loc
/obj/item/nullrod/godhand/customised_abstract_text(mob/living/carbon/owner)
return "<span class='warning'>[owner.p_their(TRUE)] [owner.l_hand == src ? "left hand" : "right hand"] is burning in holy fire.</span>"
/obj/item/nullrod/staff
@@ -437,10 +434,7 @@
w_class = WEIGHT_CLASS_HUGE
sharp = TRUE
/obj/item/nullrod/armblade/customised_abstract_text()
if(!ishuman(loc))
return
var/mob/living/carbon/human/owner = loc
/obj/item/nullrod/armblade/customised_abstract_text(mob/living/carbon/owner)
return "<span class='warning'>[owner.p_their(TRUE)] [owner.l_hand == src ? "left arm" : "right arm"] has been turned into a grotesque meat-blade.</span>"
/obj/item/nullrod/armblade/mining
+1 -4
View File
@@ -749,10 +749,7 @@
STOP_PROCESSING(SSobj, src)
return ..()
/obj/item/pyro_claws/customised_abstract_text()
if(!ishuman(loc))
return
var/mob/living/carbon/human/owner = loc
/obj/item/pyro_claws/customised_abstract_text(mob/living/carbon/owner)
return "<span class='warning'>[owner.p_they(TRUE)] [owner.p_have(FALSE)] energy claws extending [owner.p_their(FALSE)] wrists.</span>"
/obj/item/pyro_claws/process()