From 33a97a4c95c4ecaaa2912ca0e1d11f5f23d0ebd6 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Fri, 16 Jun 2023 14:34:11 -0400 Subject: [PATCH] Synditele kit now comes with chameleon mesons (#21227) * chameleon mesons * sirryan review * destroy + emp --- code/datums/uplink_items/uplink_general.dm | 3 ++- .../objects/items/devices/traitordevices.dm | 3 +++ code/modules/clothing/chameleon.dm | 22 +++++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/code/datums/uplink_items/uplink_general.dm b/code/datums/uplink_items/uplink_general.dm index d84313ec488..d52fa14b090 100644 --- a/code/datums/uplink_items/uplink_general.dm +++ b/code/datums/uplink_items/uplink_general.dm @@ -543,7 +543,8 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) desc = "The Syndicate teleporter is a handheld device that teleports the user 4-8 meters forward. \ Beware, teleporting into a wall will make the teleporter do a parallel emergency teleport, \ but if that emergency teleport fails, it will kill you. \ - Has 4 charges, recharges, warranty voided if exposed to EMP." + Has 4 charges, recharges, warranty voided if exposed to EMP. \ + Comes with free chameleon mesons, to help you stay stylish while seeing through walls." reference = "TELE" item = /obj/item/storage/box/syndie_kit/teleporter cost = 8 diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm index 3a25569a921..b40ccf64171 100644 --- a/code/game/objects/items/devices/traitordevices.dm +++ b/code/game/objects/items/devices/traitordevices.dm @@ -229,12 +229,15 @@ Warning: Teleporting into walls will activate a failsafe teleport parallel up to 3 meters, but the user will be ripped apart and gibbed in a wall if it fails.

Do not expose the teleporter to electromagnetic pulses or attempt to use with a bag of holding, unwanted malfunctions may occur. +

+ Comes with free chameleon mesons, to help you stay stylish while seeing through walls. "} /obj/item/storage/box/syndie_kit/teleporter name = "syndicate teleporter kit" /obj/item/storage/box/syndie_kit/teleporter/populate_contents() new /obj/item/teleporter(src) + new /obj/item/clothing/glasses/meson/chameleon(src) new /obj/item/paper/teleporter(src) /obj/effect/temp_visual/teleport_abductor/syndi_teleporter diff --git a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm index a796d6ce26e..c77cb3809d0 100644 --- a/code/modules/clothing/chameleon.dm +++ b/code/modules/clothing/chameleon.dm @@ -353,6 +353,28 @@ . = ..() chameleon_action.emp_randomise(INFINITY) +// for style +// also its this typepath because random shit type checks based on the meson path +/obj/item/clothing/glasses/meson/chameleon + var/datum/action/item_action/chameleon/change/chameleon_action + +/obj/item/clothing/glasses/meson/chameleon/Initialize(mapload) + . = ..() + chameleon_action = new(src) + chameleon_action.chameleon_type = /obj/item/clothing/glasses + chameleon_action.chameleon_name = "Glasses" + chameleon_action.chameleon_blacklist = list() + chameleon_action.initialize_disguises() + +/obj/item/clothing/glasses/meson/chameleon/Destroy() + QDEL_NULL(chameleon_action) + return ..() + +/obj/item/clothing/glasses/meson/chameleon/emp_act(severity) + . = ..() + chameleon_action.emp_randomise() + + /obj/item/clothing/gloves/chameleon desc = "These gloves will protect the wearer from electric shock." name = "insulated gloves"