mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
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:
@@ -161,10 +161,7 @@
|
||||
var/obj/machinery/computer/C = target
|
||||
C.attack_alien(user) //muh copypasta
|
||||
|
||||
/obj/item/melee/arm_blade/customised_abstract_text()
|
||||
if(!ishuman(loc))
|
||||
return
|
||||
var/mob/living/carbon/human/owner = loc
|
||||
/obj/item/melee/arm_blade/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>"
|
||||
|
||||
/***************************************\
|
||||
@@ -209,10 +206,7 @@
|
||||
throw_speed = 0
|
||||
var/datum/action/changeling/weapon/parent_action
|
||||
|
||||
/obj/item/gun/magic/tentacle/customised_abstract_text()
|
||||
if(!ishuman(loc))
|
||||
return
|
||||
var/mob/living/carbon/human/owner = loc
|
||||
/obj/item/gun/magic/tentacle/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 tentacle.</span>"
|
||||
|
||||
/obj/item/gun/magic/tentacle/Initialize(mapload, silent, new_parent_action)
|
||||
|
||||
@@ -68,10 +68,7 @@
|
||||
parent_spell = null
|
||||
return ..()
|
||||
|
||||
/obj/item/vamp_claws/customised_abstract_text()
|
||||
if(!ishuman(loc))
|
||||
return
|
||||
var/mob/living/carbon/human/owner = loc
|
||||
/obj/item/vamp_claws/customised_abstract_text(mob/living/carbon/owner)
|
||||
return "<span class='warning'>[owner.p_they(TRUE)] [owner.p_have(FALSE)] bloodied claws extending from [owner.p_their(FALSE)] wrists.</span>"
|
||||
|
||||
/obj/item/vamp_claws/afterattack(atom/target, mob/user, proximity)
|
||||
|
||||
@@ -176,7 +176,7 @@
|
||||
msg += "<span class='warning'>[p_they(TRUE)] [p_are()] [bicon(legcuffed)] legcuffed!</span>\n"
|
||||
|
||||
for(var/obj/item/abstract_item in abstract_items)
|
||||
var/text = abstract_item.customised_abstract_text()
|
||||
var/text = abstract_item.customised_abstract_text(src)
|
||||
if(!text)
|
||||
continue
|
||||
msg += "[text]\n"
|
||||
|
||||
@@ -497,10 +497,7 @@
|
||||
var/disabled = FALSE
|
||||
var/force_when_disabled = 5 //still basically a metal pipe, just hard to move
|
||||
|
||||
/obj/item/shield/v1_arm/customised_abstract_text()
|
||||
if(!ishuman(loc))
|
||||
return
|
||||
var/mob/living/carbon/human/owner = loc
|
||||
/obj/item/shield/v1_arm/customised_abstract_text(mob/living/carbon/owner)
|
||||
return "<span class='warning'>[owner.p_their(TRUE)] [owner.l_hand == src ? "left arm" : "right arm"] is covered in metal.</span>"
|
||||
|
||||
/obj/item/shield/v1_arm/emp_act(severity)
|
||||
|
||||
Reference in New Issue
Block a user