Files
CRUNCH bec388228b Migrates /obj/item/clothing to the New Attack Chain (#31421)
* the beginning of my torment

* This was a very small piece of torment

* God agghhghhhh the suffering

* pain and suffering and destruction

* Update bot_construction.dm

* Update heretic_necks.dm

* Update heretic_armor.dm

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>

* Apply suggestion from @DGamerL

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Signed-off-by: CRUNCH <143041327+CRUNCH-Borg@users.noreply.github.com>
Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
2026-02-09 19:36:38 +00:00

265 lines
11 KiB
Plaintext

//Captain's space suit, not hardsuits because no flashlight!
/obj/item/clothing/head/helmet/space/capspace
name = "captain's space helmet"
desc = "A special helmet designed for only the most fashionable of military figureheads."
icon_state = "capspace"
inhand_icon_state = "capspacehelmet"
flags_inv = HIDEFACE
armor = list(MELEE = 35, BULLET = 50, LASER = 50, ENERGY = 15, BOMB = 50, RAD = 50, FIRE = INFINITY, ACID = INFINITY)
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/helmet.dmi',
"Grey" = 'icons/mob/clothing/species/grey/helmet.dmi'
)
/obj/item/clothing/head/helmet/space/capspace/equipped(mob/living/carbon/human/user, slot)
if(ishuman(user) && slot == ITEM_SLOT_HEAD)
if(isvox(user))
if(flags & BLOCKHAIR)
flags &= ~BLOCKHAIR
else
if((initial(flags) & BLOCKHAIR) && !(flags & BLOCKHAIR))
flags |= BLOCKHAIR
/obj/item/clothing/suit/space/captain
name = "captain's space suit"
desc = "A bulky, heavy-duty piece of exclusive Nanotrasen armor. YOU are in charge!"
icon_state = "caparmor"
inhand_icon_state = "capspacesuit"
allowed = list(/obj/item/tank/internals, /obj/item/flashlight,/obj/item/gun/energy, /obj/item/gun/projectile, /obj/item/ammo_box, /obj/item/ammo_casing, /obj/item/melee/baton,/obj/item/restraints/handcuffs)
armor = list(MELEE = 35, BULLET = 50, LASER = 50, ENERGY = 15, BOMB = 50, RAD = 50, FIRE = INFINITY, ACID = INFINITY)
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
"Skkulakin" = 'icons/mob/clothing/species/skkulakin/suit.dmi'
)
//Deathsquad space suit, not hardsuits because no flashlight!
/obj/item/clothing/head/helmet/space/deathsquad
name = "Deathsquad helmet"
desc = "That's not red paint. That's real blood."
icon_state = "deathsquad"
armor = list(MELEE = 200, BULLET = 200, LASER = 50, ENERGY = 50, BOMB = INFINITY, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
resistance_flags = FIRE_PROOF | ACID_PROOF
flags_2 = RAD_PROTECT_CONTENTS_2
vision_flags = SEE_MOBS
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE //don't render darkness while wearing these
see_in_dark = 8
HUDType = MEDHUD
strip_delay = 130
/obj/item/clothing/suit/space/deathsquad
name = "Deathsquad suit"
desc = "A heavily armored, advanced space suit that protects against most forms of damage."
icon_state = "deathsquad"
inhand_icon_state = "swat_suit"
allowed = list(/obj/item/gun,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/restraints/handcuffs,/obj/item/tank/internals,/obj/item/kitchen/knife/combat,/obj/item/flashlight)
armor = list(MELEE = 200, BULLET = 200, LASER = 50, ENERGY = 50, BOMB = INFINITY, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
flags_inv = HIDESHOES | HIDEJUMPSUIT | HIDETAIL
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
resistance_flags = FIRE_PROOF | ACID_PROOF
flags_2 = RAD_PROTECT_CONTENTS_2
strip_delay = 130
dog_fashion = /datum/dog_fashion/back/deathsquad
/obj/item/clothing/suit/space/deathsquad/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_HYPOSPRAY_IMMUNE, ROUNDSTART_TRAIT)
ADD_TRAIT(src, TRAIT_RSG_IMMUNE, ROUNDSTART_TRAIT)
/obj/item/clothing/head/helmet/space/deathsquad/beret
name = "officer beret"
desc = "An armored beret commonly used by special operations officers."
icon = 'icons/obj/clothing/head/beret.dmi'
icon_state = "beret_soo"
inhand_icon_state = null
worn_icon = 'icons/mob/clothing/head/beret.dmi'
icon_monitor = null
flags = STOPSPRESSUREDMAGE | THICKMATERIAL
flags_inv = null
sprite_sheets = list("Vox" = 'icons/mob/clothing/species/vox/head/beret.dmi')
/obj/item/clothing/head/helmet/space/deathsquad/beret/Initialize(mapload)
. = ..()
AddElement(/datum/element/clothing_adjustment/monitor_headgear, 0, 1)
/obj/item/clothing/head/helmet/space/deathsquad/beret/solgov
name = "\improper TSF staff officer's beret"
desc = "A camouflaged beret adorned with the star of the Trans-Solar Federation, worn by high-ranking officers of the Trans-Solar Federation."
icon_state = "beret_solgovcelite"
/obj/item/clothing/suit/space/deathsquad/officer
name = "officer jacket"
desc = "An armored jacket used in special operations."
icon_state = "detective"
inhand_icon_state = "det_suit"
blood_overlay_type = "coat"
flags_inv = 0
slowdown = 0
armor = list(MELEE = 200, BULLET = 200, LASER = 50, ENERGY = 50, BOMB = INFINITY, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
w_class = WEIGHT_CLASS_NORMAL
/obj/item/clothing/suit/space/deathsquad/officer/solgov
name = "\improper TSF staff officer's jacket"
desc = "A stylish, heavily armored jacket worn by high-ranking officers of the Trans-Solar Federation."
icon_state = "solgovcommander"
inhand_icon_state = null
//Space santa outfit suit
/obj/item/clothing/head/helmet/space/santahat
name = "Santa's hat"
desc = "Ho ho ho. Merrry X-mas! This one is spaceworthy."
icon_state = "santahat"
inhand_icon_state = null
sprite_sheets = list(
"Grey" = 'icons/mob/clothing/species/Grey/head.dmi',
"Drask" = 'icons/mob/clothing/species/Drask/helmet.dmi'
)
flags = BLOCKHAIR | STOPSPRESSUREDMAGE
flags_cover = HEADCOVERSEYES
flags_inv = HIDEEARS
dog_fashion = /datum/dog_fashion/head/santa
/obj/item/clothing/head/helmet/space/santahat/examine(mob/user)
. = ..()
. += SPAN_NOTICE("Use in hand to toggle the hat's beard.")
/obj/item/clothing/head/helmet/space/santahat/activate_self(mob/user)
if(..())
return ITEM_INTERACT_COMPLETE
if(icon_state == "santahat")
icon_state = "santahat_beard"
to_chat(user, "Santa's beard expands out from the hat!")
else
icon_state = "santahat"
to_chat(user, "The beard slinks back into the hat...")
return ITEM_INTERACT_COMPLETE
/obj/item/clothing/suit/space/santa
name = "Santa's suit"
desc = "Festive! This one is spaceworthy."
icon_state = "santa"
inhand_icon_state = null
slowdown = 0
flags = STOPSPRESSUREDMAGE
allowed = list(/obj/item) //for stuffing extra special presents
//Space pirate outfit
/obj/item/clothing/head/helmet/space/pirate
name = "pirate hat"
desc = "Yarr."
icon_state = "pirate"
inhand_icon_state = null
armor = list(MELEE = 20, BULLET = 50, LASER = 20, ENERGY = 10, BOMB = 20, RAD = 20, FIRE = 75, ACID = 150)
flags = BLOCKHAIR | STOPSPRESSUREDMAGE
flags_cover = HEADCOVERSEYES
strip_delay = 40
put_on_delay = 20
icon_monitor = 'icons/mob/clothing/species/machine/monitor/hat.dmi'
/obj/item/clothing/suit/space/pirate
name = "pirate coat"
desc = "Yarr."
icon_state = "pirate"
inhand_icon_state = null
w_class = WEIGHT_CLASS_NORMAL
allowed = list(/obj/item/gun,/obj/item/ammo_box,/obj/item/ammo_casing,/obj/item/melee/baton,/obj/item/restraints/handcuffs,/obj/item/tank/internals)
slowdown = 0
armor = list(MELEE = 20, BULLET = 50, LASER = 20, ENERGY = 10, BOMB = 20, RAD = 20, FIRE = 75, ACID = 150)
strip_delay = 40
put_on_delay = 20
//Paramedic EVA suit
/obj/item/clothing/head/helmet/space/eva/paramedic
name = "paramedic EVA helmet"
desc = "A brand new paramedic EVA helmet. It seems to mold to your head shape. Used for retrieving bodies in space."
icon_state = "paramedic-eva-helmet"
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/helmet.dmi',
"Grey" = 'icons/mob/clothing/species/grey/helmet.dmi',
"Skrell" = 'icons/mob/clothing/species/skrell/helmet.dmi',
"Tajaran" = 'icons/mob/clothing/species/tajaran/helmet.dmi',
"Drask" = 'icons/mob/clothing/species/drask/helmet.dmi',
"Unathi" = 'icons/mob/clothing/species/unathi/helmet.dmi',
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/helmet.dmi',
)
/obj/item/clothing/suit/space/eva/paramedic
name = "paramedic EVA suit"
icon_state = "paramedic-eva"
desc = "A brand new paramedic EVA suit. The nitrile seems a bit too thin to be space proof. Used for retrieving bodies in space."
slowdown = 0.25
w_class = WEIGHT_CLASS_NORMAL
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
"Skkulakin" = 'icons/mob/clothing/species/skkulakin/suit.dmi',
"Skrell" = 'icons/mob/clothing/species/skrell/suit.dmi',
"Tajaran" = 'icons/mob/clothing/species/tajaran/suit.dmi',
"Drask" = 'icons/mob/clothing/species/drask/suit.dmi',
"Unathi" = 'icons/mob/clothing/species/unathi/suit.dmi',
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/suit.dmi',
)
/obj/item/clothing/suit/space/eva
name = "EVA suit"
desc = "A lightweight space suit with the basic ability to protect the wearer from the vacuum of space during emergencies."
icon_state = "spacenew"
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, RAD = 10, FIRE = 50, ACID = 95)
sprite_sheets = list(
"Tajaran" = 'icons/mob/clothing/species/tajaran/suit.dmi',
"Unathi" = 'icons/mob/clothing/species/unathi/suit.dmi',
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
"Skkulakin" = 'icons/mob/clothing/species/skkulakin/suit.dmi',
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/suit.dmi',
)
/obj/item/clothing/head/helmet/space/eva
name = "EVA helmet"
desc = "A lightweight space helmet with the basic ability to protect the wearer from the vacuum of space during emergencies."
icon_state = "spacenew"
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, RAD = 10, FIRE = 50, ACID = 95)
flash_protect = FLASH_PROTECTION_NONE
sprite_sheets = list(
"Tajaran" = 'icons/mob/clothing/species/tajaran/helmet.dmi',
"Unathi" = 'icons/mob/clothing/species/unathi/helmet.dmi',
"Vox" = 'icons/mob/clothing/species/vox/helmet.dmi',
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/helmet.dmi',
"Grey" = 'icons/mob/clothing/species/grey/helmet.dmi'
)
// Mime's EVA
/obj/item/clothing/head/helmet/space/eva/mime
name = "mime EVA helmet"
desc = ". . ."
icon_state = "spacemimehelmet"
inhand_icon_state = null
sprite_sheets = list("Vox" = 'icons/mob/clothing/species/vox/helmet.dmi')
/obj/item/clothing/suit/space/eva/mime
name = "mime EVA suit"
desc = ". . ."
icon_state = "spacemime_suit"
inhand_icon_state = null
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
"Skkulakin" = 'icons/mob/clothing/species/skkulakin/suit.dmi'
)
/obj/item/clothing/head/helmet/space/eva/clown
name = "clown EVA helmet"
desc = "An EVA helmet specifically designed for the clown. SPESSHONK!"
icon_state = "clownhelmet"
inhand_icon_state = null
sprite_sheets = list("Vox" = 'icons/mob/clothing/species/vox/helmet.dmi')
/obj/item/clothing/suit/space/eva/clown
name = "clown EVA suit"
desc = "An EVA suit specifically designed for the clown. SPESSHONK!"
icon_state = "spaceclown_suit"
inhand_icon_state = null
sprite_sheets = list(
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
"Skkulakin" = 'icons/mob/clothing/species/skkulakin/suit.dmi'
)