From 1b4e07dfef77ff7630b11a9fc7bc10d6bc54c8b9 Mon Sep 17 00:00:00 2001
From: SkyratBot <59378654+SkyratBot@users.noreply.github.com>
Date: Mon, 24 Apr 2023 23:40:09 +0100
Subject: [PATCH] [MIRROR] Turn TactiCOOL turtlenecks into TactiCAL using a
washing machine and a telecrystal [MDB IGNORE] (#20745)
* Turn TactiCOOL turtlenecks into TactiCAL using a washing machine and a telecrystal (#74895)
## About The Pull Request
What is says in the PR title. Take a tacticool turtleneck or
turtleskirt, throw it into washing machine with a telecrystal, and hey
presto, tactical turtleneck.
## Why It's Good For The Game
I noticed some folk were confused how they were meant to get a tactical
turtleneck for a Regal Condor. This provides tots a method of getting
one without going to space, at the expense of 1 tc.
## Changelog
:cl:
add: You can make a tactical turtleneck or turtleskirt by putting a
telecrystal and a tactiCOOL varient of the turtleneck into a washing
machine. Watch it change before your eyes!
/:cl:
* Turn TactiCOOL turtlenecks into TactiCAL using a washing machine and a telecrystal
---------
Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
---
code/modules/clothing/clothing.dm | 6 ++++++
code/modules/clothing/under/syndicate.dm | 19 +++++++++++++++++++
2 files changed, 25 insertions(+)
diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm
index ca63961f425..a8d0efb2626 100644
--- a/code/modules/clothing/clothing.dm
+++ b/code/modules/clothing/clothing.dm
@@ -23,6 +23,9 @@
var/can_be_bloody = TRUE
+ ///Prevents the article of clothing from gaining the mood boost from washing. Used for the tacticool turtleneck.
+ var/stubborn_stains = FALSE
+
/// What items can be consumed to repair this clothing (must by an /obj/item/stack)
var/repairable_by = /obj/item/stack/sheet/cloth
@@ -397,6 +400,9 @@
// you just dont get the same feeling with handwashed clothes
/obj/item/clothing/machine_wash()
. = ..()
+ if(stubborn_stains) //Just can't make it feel right
+ return
+
var/fresh_mood = AddComponent( \
/datum/component/onwear_mood, \
saved_event_type = /datum/mood_event/fresh_laundry, \
diff --git a/code/modules/clothing/under/syndicate.dm b/code/modules/clothing/under/syndicate.dm
index 51533953c18..ca640f49a0f 100644
--- a/code/modules/clothing/under/syndicate.dm
+++ b/code/modules/clothing/under/syndicate.dm
@@ -70,12 +70,31 @@
inhand_icon_state = "bl_suit"
has_sensor = HAS_SENSORS
armor_type = /datum/armor/syndicate_tacticool
+ stubborn_stains = TRUE
/datum/armor/syndicate_tacticool
bio = 10
fire = 50
acid = 40
+/obj/item/clothing/under/syndicate/tacticool/examine(mob/user)
+ . = ..()
+ . += "It has a label that says cleaning this 'genuine' Waffle Corp. product with cleaning solutions other than Grime Liberator telelocational podcrystals will void the warranty."
+ . += "What on earth is a telelocational podcrystal?"
+
+/obj/item/clothing/under/syndicate/tacticool/dye_item(dye_color, dye_key_override)
+ if(dye_color == DYE_SYNDICATE)
+ if(dying_key == DYE_REGISTRY_JUMPSKIRT)
+ special_wash(/obj/item/clothing/under/syndicate/skirt)
+ else
+ special_wash(/obj/item/clothing/under/syndicate)
+ qdel(src)
+ return
+ return ..()
+
+/obj/item/clothing/under/syndicate/tacticool/proc/special_wash(obj/item/clothing/under/syndicate/our_jumpsuit)
+ new our_jumpsuit(loc)
+
/obj/item/clothing/under/syndicate/tacticool/skirt
name = "tacticool skirtleneck"
desc = "Just looking at it makes you want to buy an SKS, go into the woods, and -operate-."