Files

162 lines
5.0 KiB
Plaintext

/obj/item/clothing/head/helmet/space/hardsuit/ert
light_overlay = "helmet_light_dual"
camera_networks = list(NETWORK_ERT)
/datum/armor/hardsuit/ert
melee = 0.6
melee_tier = 4
bullet = 0.5
bullet_tier = 4
laser = 0.5
laser_tier = 4.5
energy = 0.15
bomb = 0.3
bio = 1.0
rad = 1.0
fire = 0.7
acid = 1.0
/obj/item/hardsuit/ert
name = "ERT-C hardsuit control module"
desc = "A suit worn by the commander of an Emergency Response Team. Has blue highlights. Armoured and space ready."
suit_type = "ERT commander"
icon_state = "ert_commander_rig"
helm_type = /obj/item/clothing/head/helmet/space/hardsuit/ert
req_access = list(ACCESS_CENTCOM_ERT)
siemens_coefficient= 0.5
armor_type = /datum/armor/hardsuit/ert
initial_modules = list(
/obj/item/hardsuit_module/ai_container,
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/datajack,
)
/obj/item/hardsuit/ert/engineer
name = "ERT-E suit control module"
desc = "A suit worn by the engineering division of an Emergency Response Team. Has orange highlights. Armoured and space ready."
suit_type = "ERT engineer"
icon_state = "ert_engineer_rig"
glove_type = /obj/item/clothing/gloves/gauntlets/hardsuit/eva
initial_modules = list(
/obj/item/hardsuit_module/ai_container,
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/device/plasmacutter,
/obj/item/hardsuit_module/device/rcd
)
/obj/item/hardsuit/ert/medical
name = "ERT-M suit control module"
desc = "A suit worn by the medical division of an Emergency Response Team. Has white highlights. Armoured and space ready."
suit_type = "ERT medic"
icon_state = "ert_medical_rig"
initial_modules = list(
/obj/item/hardsuit_module/ai_container,
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/device/healthscanner,
/obj/item/hardsuit_module/chem_dispenser/injector/advanced
)
/obj/item/hardsuit/ert/security
name = "ERT-S suit control module"
desc = "A suit worn by the security division of an Emergency Response Team. Has red highlights. Armoured and space ready."
suit_type = "ERT security"
icon_state = "ert_security_rig"
initial_modules = list(
/obj/item/hardsuit_module/ai_container,
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/grenade_launcher,
/obj/item/hardsuit_module/mounted/egun,
)
/obj/item/hardsuit/ert/janitor
name = "ERT-J suit control module"
desc = "A suit worn by the janitorial division of an Emergency Response Team. Has purple highlights. Armoured and space ready."
suit_type = "ERT janitor"
icon_state = "ert_janitor_rig"
initial_modules = list(
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/grenade_launcher/cleaner,
)
/datum/armor/hardsuit/ert/deathsquad
melee_tier = 5
bullet_tier = 6
laser_tier = 6
bomb = 0.8
energy = 0.45
/obj/item/hardsuit/ert/assetprotection
name = "Heavy Asset Protection suit control module"
desc = "A heavy suit worn by the highest level of Asset Protection, don't mess with the person wearing this. Armoured and space ready."
suit_type = "heavy asset protection"
icon_state = "asset_protection_rig"
armor_type = /datum/armor/hardsuit/ert/deathsquad
siemens_coefficient= 0.3
glove_type = /obj/item/clothing/gloves/gauntlets/hardsuit/eva
initial_modules = list(
/obj/item/hardsuit_module/ai_container,
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/grenade_launcher,
/obj/item/hardsuit_module/vision/multi,
/obj/item/hardsuit_module/mounted/egun,
/obj/item/hardsuit_module/chem_dispenser/injector,
/obj/item/hardsuit_module/device/plasmacutter,
/obj/item/hardsuit_module/device/rcd,
/obj/item/hardsuit_module/datajack
)
/obj/item/hardsuit/ert/para
name = "PARA suit control module"
desc = "A sleek module decorated with intricate glyphs and alien wards. When worn by a trained agent, the various glyphs faintly glow."
suit_type = "PMD agent"
icon_state = "para_ert_rig"
item_action_name = "Enable RIG Sigils"
var/anti_magic = FALSE
var/blessed = FALSE
var/emp_proof = FALSE
initial_modules = list(
/obj/item/hardsuit_module/ai_container,
/obj/item/hardsuit_module/device/anomaly_scanner,
/obj/item/hardsuit_module/armblade,
/obj/item/hardsuit_module/datajack,
/obj/item/hardsuit_module/grenade_launcher/holy,
/obj/item/hardsuit_module/maneuvering_jets,
/obj/item/hardsuit_module/vision/meson,
/obj/item/hardsuit_module/self_destruct
)
/obj/item/hardsuit/ert/para/attack_self(mob/user, datum/event_args/actor/actor)
. = ..()
if(.)
return
if(user.mind.isholy && !anti_magic && !emp_proof && !blessed)
anti_magic = TRUE
blessed = TRUE
emp_proof = TRUE
to_chat(user, "<font color=#4F49AF>You enable the RIG's protective sigils.</font>")
else
anti_magic = FALSE
blessed = FALSE
emp_proof = FALSE
to_chat(user, "<font color=#4F49AF>You disable the RIG's protective sigils.</font>")
if(!user.mind.isholy)
to_chat(user, "<font color='red'>You can't figure out what these symbols do.</font>")
/obj/item/hardsuit/ert/para/emp_act(severity)
if(emp_proof)
emp_protection = 75
else
return