diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 52c3c7cdc6..6a6c374730 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -78,6 +78,19 @@ BLIND // can't see anything attack_verb = list("challenged") species_restricted = list("exclude","Unathi","Tajara") +/obj/item/clothing/under/attackby(obj/item/I, mob/user) + + if(istype(I, /obj/item/weapon/wirecutters)) + if("excluded" in species_restricted && ("Tajaran" in species_restricted || "Unathi" in species_restricted)) + species_restricted -= "Unathi" + species_restricted -= "Tajaran" + name = "mangled [name]" + user.visible_message("\red [user] snips the fingertips off [src].","\red You snip the fingertips off [src].") + else + user << "\red You cannot modify [src]." + return + ..() + /obj/item/clothing/gloves/examine() set src in usr ..() diff --git a/code/modules/clothing/spacesuits/rig.dm b/code/modules/clothing/spacesuits/rig.dm index 24b209f9a6..b075d92916 100644 --- a/code/modules/clothing/spacesuits/rig.dm +++ b/code/modules/clothing/spacesuits/rig.dm @@ -1,3 +1,33 @@ +//Species modification item. + +/obj/item/weapon/modkit/tajaran + name = "hardsuit modification kit" + desc = "A kit containing all the needed tools and parts to modify a hardsuit for another species. This one looks like it's meant for Tajara." + icon = 'icons/obj/custom_items.dmi' + icon_state = "royce_kit" + +/obj/item/clothing/head/helmet/space/rig/attackby(obj/item/I as obj, mob/user as mob) + if(istype(I,/obj/item/weapon/modkit/tajaran)) + user.drop_item() + playsound(src.loc, 'sound/items/Screwdriver.ogg', 100, 1) + user << "\red You painstakingly modify [src] to make it more suitable for a Tajaran user." + new /obj/item/clothing/head/helmet/space/rig/tajara(user.loc) + del(I) + del(src) + return + ..() + +/obj/item/clothing/suit/space/rig/attackby(obj/item/I as obj, mob/user as mob) + if(istype(I,/obj/item/weapon/modkit/tajaran)) + user.drop_item() + playsound(src.loc, 'sound/items/Screwdriver.ogg', 100, 1) + user << "\red You painstakingly modify [src] to make it more suitable for a Tajaran user." + new /obj/item/clothing/suit/space/rig/tajara(user.loc) + del(I) + del(src) + return + ..() + //Regular rig suits /obj/item/clothing/head/helmet/space/rig name = "engineering hardsuit helmet" @@ -12,7 +42,7 @@ icon_action_button = "action_hardhat" heat_protection = HEAD max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECITON_TEMPERATURE - species_restricted = list("exclude","Unathi","Tajara","Skrell","Diona","Vox") + species_restricted = list("exclude","Unathi","Tajaran","Skrell","Diona","Vox") attack_self(mob/user) if(!isturf(user.loc)) @@ -47,7 +77,7 @@ allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank,/obj/item/weapon/storage/bag/ore,/obj/item/device/t_scanner,/obj/item/weapon/pickaxe, /obj/item/weapon/rcd) heat_protection = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECITON_TEMPERATURE - species_restricted = list("exclude","Unathi","Tajara","Diona","Vox") + species_restricted = list("exclude","Unathi","Tajaran","Diona","Vox") //Chief Engineer's rig /obj/item/clothing/head/helmet/space/rig/elite