Files
FluffyandGitHub c5dabb9cda Armor defines (#20563)
Added armor defines
Converted raw strings use to defines
Added UT test to ensure people set the armor var correctly (to a list)

No player facing changes
2025-03-09 21:37:46 +00:00

43 lines
1.1 KiB
Plaintext

//
// Hazmat Suits
//
// Hazmat Suit
/obj/item/clothing/suit/hazmat
name = "hazmat suit"
desc = "A suit that protects against biological hazards."
icon = 'icons/obj/item/clothing/suit/hazmat.dmi'
icon_state = "hazmat"
item_state = "hazmat"
contained_sprite = TRUE
permeability_coefficient = 0
gas_transfer_coefficient = 0
siemens_coefficient = 0.75
armor = list(
BIO = ARMOR_BIO_SHIELDED,
RAD = ARMOR_RAD_SMALL
)
body_parts_covered = UPPER_TORSO | LOWER_TORSO | LEGS | FEET | ARMS | HANDS
flags_inv = HIDEWRISTS | HIDEGLOVES | HIDESHOES | HIDEJUMPSUIT | HIDETAIL
allowed = list(/obj/item/tank/emergency_oxygen)
// General
/obj/item/clothing/suit/hazmat/general
icon_state = "hazmat_general"
item_state = "hazmat_general"
// Research
/obj/item/clothing/suit/hazmat/research
icon_state = "hazmat_research"
item_state = "hazmat_research"
// Security
/obj/item/clothing/suit/hazmat/security
icon_state = "hazmat_security"
item_state = "hazmat_security"
// Custodial
/obj/item/clothing/suit/hazmat/custodial
icon_state = "hazmat_custodial"
item_state = "hazmat_custodial"