[Modular] Adds the asset protection ert (#3470)

* adds the asset protection ert

* a

* real variable names
This commit is contained in:
Swiftfeather
2021-02-18 20:57:10 +00:00
committed by GitHub
parent 536f45bc4f
commit 855baad782
4 changed files with 69 additions and 0 deletions
@@ -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"
@@ -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"
@@ -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
+2
View File
@@ -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"