From 855baad7828c68a7ae1eaed45ac055a18b78ee83 Mon Sep 17 00:00:00 2001 From: Swiftfeather Date: Thu, 18 Feb 2021 14:57:10 -0600 Subject: [PATCH] [Modular] Adds the asset protection ert (#3470) * adds the asset protection ert * a * real variable names --- .../master_files/code/datums/ert.dm | 11 +++++ .../code/modules/antagonists/ert/ert.dm | 14 +++++++ .../code/modules/clothing/outfits/ert.dm | 42 +++++++++++++++++++ tgstation.dme | 2 + 4 files changed, 69 insertions(+) create mode 100644 modular_skyrat/master_files/code/datums/ert.dm create mode 100644 modular_skyrat/master_files/code/modules/antagonists/ert/ert.dm diff --git a/modular_skyrat/master_files/code/datums/ert.dm b/modular_skyrat/master_files/code/datums/ert.dm new file mode 100644 index 00000000000..7c64837138f --- /dev/null +++ b/modular_skyrat/master_files/code/datums/ert.dm @@ -0,0 +1,11 @@ +//////////////////////////// +/// Use this file to add /// +/// Modular ERT datums /// +//////////////////////////// +/datum/ert/asset_protection + roles = list(/datum/antagonist/ert/asset_protection) + leader_role = /datum/antagonist/ert/asset_protection/leader + rename_team = "Asset Protection Team" + code = "Red" + mission = "Protect Nanotrasen's assets, crew are assets." + polldesc = "a Nanotrasen asset protection team" diff --git a/modular_skyrat/master_files/code/modules/antagonists/ert/ert.dm b/modular_skyrat/master_files/code/modules/antagonists/ert/ert.dm new file mode 100644 index 00000000000..eb6c7bce8f4 --- /dev/null +++ b/modular_skyrat/master_files/code/modules/antagonists/ert/ert.dm @@ -0,0 +1,14 @@ +/datum/antagonist/ert/asset_protection + name = "Asset Protection Specialist" + outfit = /datum/outfit/centcom/asset_protection + role = "Specialist" + rip_and_tear = TRUE + +/datum/antagonist/ert/asset_protection/New() + . = ..() + name_source = GLOB.commando_names + +/datum/antagonist/ert/asset_protection/leader + name = "Asset Protection Officer" + outfit = /datum/outfit/centcom/asset_protection + role = "Officer" diff --git a/modular_skyrat/master_files/code/modules/clothing/outfits/ert.dm b/modular_skyrat/master_files/code/modules/clothing/outfits/ert.dm index d1b66083fcd..d3fe2687555 100644 --- a/modular_skyrat/master_files/code/modules/clothing/outfits/ert.dm +++ b/modular_skyrat/master_files/code/modules/clothing/outfits/ert.dm @@ -3,3 +3,45 @@ //PUT ANY NEW ERT OUTFITS HERE ////////////////////////////// +/datum/outfit/centcom/asset_protection + name = "Asset Protection" + + uniform = /obj/item/clothing/under/rank/centcom/commander + suit = /obj/item/clothing/suit/space/hardsuit/deathsquad + shoes = /obj/item/clothing/shoes/combat/swat + gloves = /obj/item/clothing/gloves/tackler/combat/insulated + mask = /obj/item/clothing/mask/gas/sechailer/swat + glasses = /obj/item/clothing/glasses/hud/toggle/thermal + back = /obj/item/storage/backpack/security + l_pocket = /obj/item/crowbar/power //this is their "all access" pass lmao + suit_store = /obj/item/tank/internals/emergency_oxygen/double + belt = /obj/item/storage/belt/security/full + l_hand = /obj/item/gun/energy/pulse/carbine/loyalpin //if this is still bulky make it not bulky and storable on belt/back/bag/exosuit + id = /obj/item/card/id/ert + ears = /obj/item/radio/headset/headset_cent/alt + + skillchips = list(/obj/item/skillchip/disk_verifier) + + backpack_contents = list(/obj/item/storage/box/survival/engineer=1,\ + /obj/item/storage/firstaid/regular=1,\ + /obj/item/flashlight=1,\ + /obj/item/storage/box/handcuffs=1) + +/datum/outfit/centcom/asset_protection/post_equip(mob/living/carbon/human/person, visualsOnly = FALSE) + if(visualsOnly) + return + + var/obj/item/radio/Radio = person.ears + Radio.set_frequency(FREQ_CENTCOM) + Radio.freqlock = TRUE + var/obj/item/card/id/ID = person.wear_id + ID.access = get_all_accesses()//They get full station access. + ID.access += get_centcom_access("Death Commando")//Let's add their alloted CentCom access. + ID.assignment = "Asset Protection" + ID.registered_name = person.real_name + ID.update_label() + ..() + +/datum/outfit/centcom/asset_protection/leader + name = "Asset Protection Officer" + head = /obj/item/clothing/head/helmet/space/beret diff --git a/tgstation.dme b/tgstation.dme index 54bef3473dd..6c8e720f78d 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3408,6 +3408,7 @@ #include "modular_skyrat\master_files\code\_globalvars\maint_loot_uncommon.dm" #include "modular_skyrat\master_files\code\_globalvars\~maint_loot.dm" #include "modular_skyrat\master_files\code\controllers\configuration\entries.dm" +#include "modular_skyrat\master_files\code\datums\ert.dm" #include "modular_skyrat\master_files\code\datums\traits\good.dm" #include "modular_skyrat\master_files\code\datums\traits\negative.dm" #include "modular_skyrat\master_files\code\datums\traits\neutral.dm" @@ -3420,6 +3421,7 @@ #include "modular_skyrat\master_files\code\game\objects\items\storage\boxes.dm" #include "modular_skyrat\master_files\code\game\objects\structures\sauna_oven.dm" #include "modular_skyrat\master_files\code\game\objects\structures\trash_pile.dm" +#include "modular_skyrat\master_files\code\modules\antagonists\ert\ert.dm" #include "modular_skyrat\master_files\code\modules\clothing\anthro_clothes.dm" #include "modular_skyrat\master_files\code\modules\clothing\non_anthro_clothes.dm" #include "modular_skyrat\master_files\code\modules\clothing\outfits\ert.dm"