Restricts the synthetic hair extensions to species that have hair. (#8851)

This commit is contained in:
Alberyk
2020-05-15 17:55:38 -03:00
committed by GitHub
parent 649c1c9558
commit b9e36a2c32
3 changed files with 9 additions and 0 deletions

View File

@@ -21,6 +21,8 @@
description = "A hair augment that allows the user to change the shape and color of their hair."
path = /obj/item/organ/internal/augment/cyber_hair
cost = 2
whitelisted = list("Human", "Off-Worlder Human", "Tajara", "Zhan-Khazan Tajara", "M'sai Tajara", "Shell Frame")
/datum/gear/augment/combitool
display_name = "retractable combitool"

View File

@@ -254,6 +254,7 @@
organ_tag = BP_AUG_HAIR
activable = TRUE
action_button_name = "Activate Synthetic Hair Extensions"
species_restricted = list("Human","Off-Worlder Human", "Tajara", "Zhan-Khazan Tajara", "M'sai Tajara", "Shell Frame")
/obj/item/organ/internal/augment/cyber_hair/attack_self(var/mob/user)
. = ..()