Synditele kit now comes with chameleon mesons (#21227)

* chameleon mesons

* sirryan review

* destroy + emp
This commit is contained in:
Contrabang
2023-06-16 14:34:11 -04:00
committed by GitHub
parent f948bea9ad
commit 33a97a4c95
3 changed files with 27 additions and 1 deletions
+2 -1
View File
@@ -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
@@ -229,12 +229,15 @@
<b>Warning:</b> 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.<br>
<br>
Do not expose the teleporter to electromagnetic pulses or attempt to use with a bag of holding, unwanted malfunctions may occur.
<br><hr>
<font size =\"1\">Comes with free chameleon mesons, to help you stay stylish while seeing through walls.</font>
"}
/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
+22
View File
@@ -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"