mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-25 08:51:41 +00:00
* Add better-fitting hoods for monitor heads. * Fix some icons not animating properly, thanks IconDiffBot2! * Here you go * Incorporate linter feedback. * Re-order the checks slightly to make the hoods render. * Defluff --------- Co-authored-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
124 lines
6.3 KiB
Plaintext
124 lines
6.3 KiB
Plaintext
/****************Explorer's Suit and Mask****************/
|
|
/obj/item/clothing/suit/hooded/explorer
|
|
name = "explorer suit"
|
|
desc = "An armoured suit for exploring harsh environments."
|
|
icon_state = "explorer"
|
|
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
|
|
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
|
|
cold_protection = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
|
|
max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT
|
|
heat_protection = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
|
|
hoodtype = /obj/item/clothing/head/hooded/explorer
|
|
armor = list(MELEE = 20, BULLET = 5, LASER = 5, ENERGY = 5, BOMB = 50, RAD = 50, FIRE = 50, ACID = 50)
|
|
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator, /obj/item/pickaxe)
|
|
resistance_flags = FIRE_PROOF
|
|
hide_tail_by_species = list("Vox" , "Vulpkanin" , "Unathi" , "Tajaran")
|
|
sprite_sheets = list(
|
|
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
|
|
"Drask" = 'icons/mob/clothing/species/drask/suit.dmi',
|
|
"Tajaran" = 'icons/mob/clothing/species/tajaran/suit.dmi',
|
|
"Unathi" = 'icons/mob/clothing/species/unathi/suit.dmi',
|
|
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/suit.dmi'
|
|
)
|
|
|
|
/obj/item/clothing/head/hooded/explorer
|
|
name = "explorer hood"
|
|
desc = "An armoured hood for exploring harsh environments."
|
|
icon_state = "explorer"
|
|
flags = BLOCKHAIR | NODROP
|
|
flags_cover = HEADCOVERSEYES
|
|
min_cold_protection_temperature = FIRE_HELM_MIN_TEMP_PROTECT
|
|
max_heat_protection_temperature = FIRE_HELM_MAX_TEMP_PROTECT
|
|
cold_protection = HEAD
|
|
heat_protection = HEAD
|
|
armor = list(MELEE = 20, BULLET = 5, LASER = 5, ENERGY = 5, BOMB = 50, RAD = 50, FIRE = 50, ACID = 50)
|
|
resistance_flags = FIRE_PROOF
|
|
icon_monitor = 'icons/mob/clothing/species/machine/monitor/hood.dmi'
|
|
sprite_sheets = list(
|
|
"Vox" = 'icons/mob/clothing/species/vox/head.dmi',
|
|
"Drask" = 'icons/mob/clothing/species/drask/head.dmi',
|
|
"Grey" = 'icons/mob/clothing/species/grey/head.dmi',
|
|
"Skrell" = 'icons/mob/clothing/species/skrell/head.dmi'
|
|
)
|
|
|
|
/obj/item/clothing/suit/space/hostile_environment
|
|
name = "H.E.C.K. suit"
|
|
desc = "Hostile Environment Cross-Kinetic Suit: A suit designed to withstand the wide variety of hazards from Lavaland. It wasn't enough for its last owner."
|
|
icon_state = "hostile_env"
|
|
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
|
|
resistance_flags = FIRE_PROOF | LAVA_PROOF
|
|
flags_2 = RAD_PROTECT_CONTENTS_2
|
|
slowdown = 0
|
|
armor = list(MELEE = 120, BULLET = 35, LASER = 25, ENERGY = 25, BOMB = 150, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
|
|
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator, /obj/item/pickaxe, /obj/item/melee/spellblade)
|
|
hide_tail_by_species = list("Vox", "Vulpkanin", "Unathi", "Tajaran")
|
|
sprite_sheets = list(
|
|
"Vox" = 'icons/mob/clothing/species/vox/suit.dmi',
|
|
"Drask" = 'icons/mob/clothing/species/drask/suit.dmi',
|
|
"Grey" = 'icons/mob/clothing/species/grey/suit.dmi',
|
|
"Tajaran" = 'icons/mob/clothing/species/tajaran/suit.dmi',
|
|
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/suit.dmi',
|
|
"Unathi" = 'icons/mob/clothing/species/unathi/suit.dmi'
|
|
)
|
|
|
|
/obj/item/clothing/suit/space/hostile_environment/Initialize(mapload)
|
|
. = ..()
|
|
START_PROCESSING(SSobj, src)
|
|
|
|
/obj/item/clothing/suit/space/hostile_environment/Destroy()
|
|
STOP_PROCESSING(SSobj, src)
|
|
return ..()
|
|
|
|
/obj/item/clothing/suit/space/hostile_environment/process()
|
|
var/mob/living/carbon/C = loc
|
|
if(istype(C) && prob(2)) //cursed by bubblegum
|
|
if(prob(15))
|
|
to_chat(C, "<span class='colossus'><b>[pick("I AM IMMORTAL.","I SHALL TAKE BACK WHAT'S MINE.","I SEE YOU.","YOU CANNOT ESCAPE ME FOREVER.","DEATH CANNOT HOLD ME.")]</b></span>")
|
|
else
|
|
to_chat(C, "<span class='warning'>[pick("You hear faint whispers.","You smell ash.","You feel hot.","You hear a roar in the distance.")]</span>")
|
|
|
|
/obj/item/clothing/head/helmet/space/hostile_environment
|
|
name = "H.E.C.K. helmet"
|
|
desc = "Hostile Environment Cross-Kinetic Helmet: A helmet designed to withstand the wide variety of hazards from Lavaland. It wasn't enough for its last owner."
|
|
icon_state = "hostile_env"
|
|
max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT
|
|
armor = list(MELEE = 120, BULLET = 35, LASER = 25, ENERGY = 25, BOMB = 150, RAD = INFINITY, FIRE = INFINITY, ACID = INFINITY)
|
|
resistance_flags = FIRE_PROOF | LAVA_PROOF
|
|
flags_2 = RAD_PROTECT_CONTENTS_2
|
|
sprite_sheets = list(
|
|
"Vox" = 'icons/mob/clothing/species/vox/head.dmi',
|
|
"Drask" = 'icons/mob/clothing/species/drask/head.dmi',
|
|
"Grey" = 'icons/mob/clothing/species/grey/head.dmi',
|
|
"Tajaran" = 'icons/mob/clothing/species/tajaran/head.dmi',
|
|
"Vulpkanin" = 'icons/mob/clothing/species/vulpkanin/head.dmi',
|
|
"Unathi" = 'icons/mob/clothing/species/unathi/head.dmi'
|
|
)
|
|
|
|
/obj/item/clothing/suit/space/prisoner_gulag
|
|
name = "prisoner gulag suit"
|
|
desc = "An unarmored heat resistant mining suit, heavy and uncomfortable as a punishment in itself."
|
|
icon_state = "hardsuit_gulag"
|
|
inhand_icon_state = null
|
|
gas_transfer_coefficient = 0.90
|
|
permeability_coefficient = 0.50
|
|
allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator, /obj/item/pickaxe)
|
|
armor = list(MELEE = 10, BULLET = 5, LASER = 10, ENERGY = 5, BOMB = 50, RAD = 10, FIRE = 50, ACID = 50)
|
|
max_heat_protection_temperature = FIRE_SUIT_MAX_TEMP_PROTECT
|
|
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
|
|
strip_delay = 60
|
|
put_on_delay = 60
|
|
resistance_flags = FIRE_PROOF
|
|
hide_tail_by_species = list("Vox", "Vulpkanin", "Unathi", "Tajaran")
|
|
|
|
/obj/item/clothing/head/helmet/space/prisoner_gulag
|
|
name = "gulag helmet"
|
|
desc = "A metallic helmet designed to operate with the mining suit, while dense it offers little protection aside heat."
|
|
icon_state = "hardsuit_gulag"
|
|
inhand_icon_state = null
|
|
flags = BLOCKHAIR
|
|
flags_cover = HEADCOVERSEYES
|
|
min_cold_protection_temperature = FIRE_HELM_MIN_TEMP_PROTECT
|
|
max_heat_protection_temperature = FIRE_HELM_MAX_TEMP_PROTECT
|
|
armor = list(MELEE = 10, BULLET = 5, LASER = 10, ENERGY = 5, BOMB = 50, RAD = 10, FIRE = 50, ACID = 50)
|
|
resistance_flags = FIRE_PROOF
|