mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Hazardous materials (#14219)
This commit is contained in:
@@ -1627,6 +1627,7 @@
|
||||
#include "code\modules\clothing\spacesuits\void\void.dm"
|
||||
#include "code\modules\clothing\suits\armor.dm"
|
||||
#include "code\modules\clothing\suits\bio.dm"
|
||||
#include "code\modules\clothing\suits\hazardvests.dm"
|
||||
#include "code\modules\clothing\suits\hoodies.dm"
|
||||
#include "code\modules\clothing\suits\jobs.dm"
|
||||
#include "code\modules\clothing\suits\labcoat.dm"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
name = "IAC Doctor"
|
||||
|
||||
uniform = /obj/item/clothing/under/rank/iacjumpsuit
|
||||
suit = /obj/item/clothing/suit/storage/iacvest
|
||||
suit = /obj/item/clothing/suit/storage/hazardvest/iac
|
||||
head = /obj/item/clothing/head/softcap/iac
|
||||
mask = /obj/item/clothing/mask/surgical
|
||||
glasses = /obj/item/clothing/glasses/hud/health/aviator
|
||||
|
||||
@@ -67,9 +67,13 @@ datum/gear/suit/colorvest
|
||||
..()
|
||||
var/list/hazard = list()
|
||||
hazard["hazard vest, orange"] = /obj/item/clothing/suit/storage/hazardvest
|
||||
hazard["hazard vest, blue"] = /obj/item/clothing/suit/storage/hazardvest/blue
|
||||
hazard["hazard vest, white"] = /obj/item/clothing/suit/storage/hazardvest/white
|
||||
hazard["hazard vest, green"] = /obj/item/clothing/suit/storage/hazardvest/green
|
||||
hazard["hazard vest, nanotrasen navy blue"] = /obj/item/clothing/suit/storage/hazardvest/nblue
|
||||
hazard["hazard vest, zavodskoi red"] = /obj/item/clothing/suit/storage/hazardvest/red
|
||||
hazard["hazard vest, zeng-hu purple"] = /obj/item/clothing/suit/storage/hazardvest/purple
|
||||
hazard["hazard vest, PMCG blue"] = /obj/item/clothing/suit/storage/hazardvest/blue
|
||||
hazard["hazard vest, idris teal"] = /obj/item/clothing/suit/storage/hazardvest/teal
|
||||
hazard["hazard vest, hephaestus green"] = /obj/item/clothing/suit/storage/hazardvest/green
|
||||
gear_tweaks += new /datum/gear_tweak/path(hazard)
|
||||
|
||||
/datum/gear/suit/hoodie
|
||||
@@ -122,14 +126,14 @@ datum/gear/suit/colorvest
|
||||
|
||||
/datum/gear/suit/iac_outerwear
|
||||
display_name = "IAC outerwear (jackets, vests, rigs)"
|
||||
path = /obj/item/clothing/suit/storage/iacvest
|
||||
path = /obj/item/clothing/suit/storage/hazardvest/iac
|
||||
allowed_roles = list("Chief Medical Officer", "Physician", "Surgeon", "Pharmacist", "First Responder", "Medical Intern")
|
||||
flags = GEAR_HAS_DESC_SELECTION
|
||||
|
||||
/datum/gear/suit/iac_outerwear/New()
|
||||
..()
|
||||
var/list/iac_outerwear = list()
|
||||
iac_outerwear["IAC vest"] = /obj/item/clothing/suit/storage/iacvest
|
||||
iac_outerwear["IAC hazard vest"] = /obj/item/clothing/suit/storage/hazardvest/iac
|
||||
iac_outerwear["IAC labcoat"] = /obj/item/clothing/suit/storage/toggle/labcoat/iac
|
||||
gear_tweaks += new /datum/gear_tweak/path(iac_outerwear)
|
||||
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
/obj/item/clothing/suit/storage/hazardvest
|
||||
name = "hazard vest"
|
||||
desc = "A high-visibility vest used in work zones."
|
||||
icon = 'icons/mob/clothing/suit/hazardvest.dmi'
|
||||
icon_state = "hazard"
|
||||
item_state = "hazard"
|
||||
contained_sprite = TRUE
|
||||
blood_overlay_type = "armor"
|
||||
allowed = list (/obj/item/device/analyzer, /obj/item/device/flashlight, /obj/item/device/multitool, /obj/item/device/pipe_painter, /obj/item/device/radio, /obj/item/device/t_scanner, \
|
||||
/obj/item/crowbar, /obj/item/screwdriver, /obj/item/weldingtool, /obj/item/wirecutters, /obj/item/wrench, /obj/item/tank/emergency_oxygen, \
|
||||
/obj/item/clothing/mask/gas, /obj/item/taperoll/engineering, /obj/item/storage/bag/inflatable)
|
||||
body_parts_covered = UPPER_TORSO
|
||||
var/opened
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/verb/Toggle() //copied from storage toggle
|
||||
set name = "Toggle Hazard Vest"
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
|
||||
if(use_check_and_message(usr))
|
||||
return 0
|
||||
|
||||
opened = !opened
|
||||
to_chat(usr, SPAN_NOTICE("You [opened ? "unzip" : "zip"] \the [src]."))
|
||||
playsound(src, 'sound/items/zip.ogg', EQUIP_SOUND_VOLUME, TRUE)
|
||||
icon_state = "[initial(icon_state)][opened ? "_open" : ""]"
|
||||
item_state = icon_state
|
||||
update_clothing_icon()
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/blue
|
||||
name = "blue hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is blue."
|
||||
icon_state = "hazard_b"
|
||||
item_state = "hazard_b"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/blue/atmos
|
||||
name = "atmospheric hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is used by atmospheric technicians."
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/white
|
||||
name = "white hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is white."
|
||||
icon_state = "hazard_w"
|
||||
item_state = "hazard_w"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/green
|
||||
name = "green hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is green."
|
||||
icon_state = "hazard_g"
|
||||
item_state = "hazard_g"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/purple
|
||||
name = "purple hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is purple."
|
||||
icon_state = "hazard_p"
|
||||
item_state = "hazard_p"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/nblue
|
||||
name = "navy blue hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is navy blue."
|
||||
icon_state = "hazard_nb"
|
||||
item_state = "hazard_nb"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/red
|
||||
name = "red hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is red."
|
||||
icon_state = "hazard_r"
|
||||
item_state = "hazard_r"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/teal
|
||||
name = "teal hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is teal."
|
||||
icon_state = "hazard_t"
|
||||
item_state = "hazard_t"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/ce
|
||||
name = "chief engineer's hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is white with a gold stripe."
|
||||
icon_state = "hazard_ce"
|
||||
item_state = "hazard_ce"
|
||||
|
||||
|
||||
// Misc
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/fsf
|
||||
name = "gunner's mate vest"
|
||||
desc = "A high-visibility vest worn by a gunner's mate in the Solarian Navy. This one is green.";
|
||||
icon_state = "hazard_fsf"
|
||||
item_state = "hazard_fsf"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/iac
|
||||
desc = "It's a lightweight vest. Made of a dark, navy mesh with highly-reflective white material, designed to be worn by the Interstellar Aid Corps as a high-visibility vest, over any other clothing. The I.A.C. logo is prominently displayed on the back of the vest, between the shoulders."
|
||||
name = "IAC hazard vest"
|
||||
icon_state = "hazard_iac"
|
||||
item_state = "hazard_iac"
|
||||
permeability_coefficient = 0.50
|
||||
armor = list(
|
||||
bio = ARMOR_BIO_MINOR
|
||||
)
|
||||
@@ -227,71 +227,6 @@ obj/item/clothing/suit/apron/overalls/blue
|
||||
icon_state = "idris_warden_coat"
|
||||
item_state = "idris_warden_coat"
|
||||
|
||||
//Engineering
|
||||
/obj/item/clothing/suit/storage/hazardvest
|
||||
name = "hazard vest"
|
||||
desc = "A high-visibility vest used in work zones."
|
||||
icon_state = "hazard"
|
||||
item_state = "hazard"
|
||||
blood_overlay_type = "armor"
|
||||
allowed = list (/obj/item/device/analyzer, /obj/item/device/flashlight, /obj/item/device/multitool, /obj/item/device/pipe_painter, /obj/item/device/radio, /obj/item/device/t_scanner, \
|
||||
/obj/item/crowbar, /obj/item/screwdriver, /obj/item/weldingtool, /obj/item/wirecutters, /obj/item/wrench, /obj/item/tank/emergency_oxygen, \
|
||||
/obj/item/clothing/mask/gas, /obj/item/taperoll/engineering, /obj/item/storage/bag/inflatable)
|
||||
body_parts_covered = UPPER_TORSO
|
||||
var/opened
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/verb/Toggle() //copied from storage toggle
|
||||
set name = "Toggle Hazard Vest"
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
|
||||
if(use_check_and_message(usr))
|
||||
return 0
|
||||
|
||||
opened = !opened
|
||||
to_chat(usr, SPAN_NOTICE("You [opened ? "unzip" : "zip"] \the [src]."))
|
||||
playsound(src, 'sound/items/zip.ogg', EQUIP_SOUND_VOLUME, TRUE)
|
||||
icon_state = "[initial(icon_state)][opened ? "_open" : ""]"
|
||||
item_state = icon_state
|
||||
update_clothing_icon()
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/blue
|
||||
name = "blue hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is blue."
|
||||
icon_state = "hazard_b"
|
||||
item_state = "hazard_b"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/blue/atmos
|
||||
name = "atmospheric hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is used by atmospheric technicians."
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/white
|
||||
name = "white hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is white."
|
||||
icon_state = "hazard_w"
|
||||
item_state = "hazard_w"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/green
|
||||
name = "green hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is green."
|
||||
icon_state = "hazard_g"
|
||||
item_state = "hazard_g"
|
||||
|
||||
/obj/item/clothing/suit/storage/hazardvest/ce
|
||||
name = "chief engineer's hazard vest"
|
||||
desc = "A high-visibility vest used in work zones. This one is a green-blue color with a gold stripe."
|
||||
icon_state = "hazard_ce"
|
||||
item_state = "hazard_ce"
|
||||
|
||||
/obj/item/clothing/suit/storage/iacvest // todo : make this hazard vest subtype
|
||||
desc = "It's a lightweight vest. Made of a dark, navy mesh with highly-reflective white material, designed to be worn by the Interstellar Aid Corps as a high-visibility vest, over any other clothing. The I.A.C. logo is prominently displayed on the back of the vest, between the shoulders."
|
||||
name = "IAC vest"
|
||||
icon_state = "iac_vest"
|
||||
item_state = "iac_vest"
|
||||
permeability_coefficient = 0.50
|
||||
armor = list(
|
||||
bio = ARMOR_BIO_MINOR
|
||||
)
|
||||
|
||||
//Lawyer
|
||||
/obj/item/clothing/suit/storage/toggle/lawyer/bluejacket
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
################################
|
||||
# Example Changelog File
|
||||
#
|
||||
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||
#
|
||||
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||
# When it is, any changes listed below will disappear.
|
||||
#
|
||||
# Valid Prefixes:
|
||||
# bugfix
|
||||
# wip (For works in progress)
|
||||
# tweak
|
||||
# soundadd
|
||||
# sounddel
|
||||
# rscadd (general adding of nice things)
|
||||
# rscdel (general deleting of nice things)
|
||||
# imageadd
|
||||
# imagedel
|
||||
# maptweak
|
||||
# spellcheck (typo fixes)
|
||||
# experiment
|
||||
# balance
|
||||
# admin
|
||||
# backend
|
||||
# security
|
||||
# refactor
|
||||
#################################
|
||||
|
||||
# Your name.
|
||||
author: Wowzewow (Wezzy)
|
||||
|
||||
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||
delete-after: True
|
||||
|
||||
# Any changes you've made. See valid prefix list above.
|
||||
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||
# SCREW THIS UP AND IT WON'T WORK.
|
||||
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||
changes:
|
||||
- imageadd: "Adds new hazard vest sprites."
|
||||
- rscadd: "Adds new corporate hazard vests."
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 277 KiB After Width: | Height: | Size: 275 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 95 KiB |
@@ -2582,10 +2582,7 @@
|
||||
/obj/structure/bed/stool/chair/office/bridge/generic{
|
||||
icon_state = "bridge_legion"
|
||||
},
|
||||
/obj/item/clothing/suit/storage/hazardvest/green{
|
||||
desc = "A high-visibility vest worm by a gunner's mate in the Solarian Navy. This one is green.";
|
||||
name = "gunner's mate vest"
|
||||
},
|
||||
/obj/item/clothing/suit/storage/hazardvest/fsf,
|
||||
/turf/simulated/floor/tiled/dark,
|
||||
/area/ship/fsf_patrol_ship)
|
||||
"xdk" = (
|
||||
|
||||
@@ -2714,10 +2714,7 @@
|
||||
/obj/structure/bed/stool/chair/office/bridge/generic{
|
||||
icon_state = "bridge_legion"
|
||||
},
|
||||
/obj/item/clothing/suit/storage/hazardvest/green{
|
||||
desc = "A high-visibility vest worm by a gunner's mate in the Solarian Navy. This one is green.";
|
||||
name = "gunner's mate vest"
|
||||
},
|
||||
/obj/item/clothing/suit/storage/hazardvest/fsf,
|
||||
/turf/simulated/floor/tiled/dark,
|
||||
/area/ship/sfa_patrol_ship)
|
||||
"xdk" = (
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
},
|
||||
/obj/item/clothing/shoes/iac,
|
||||
/obj/item/clothing/under/rank/iacjumpsuit,
|
||||
/obj/item/clothing/suit/storage/iacvest,
|
||||
/obj/item/clothing/suit/storage/hazardvest/iac,
|
||||
/obj/item/clothing/mask/balaclava/iac,
|
||||
/obj/item/clothing/accessory/armband/iac,
|
||||
/obj/item/clothing/head/softcap/iac,
|
||||
|
||||
Reference in New Issue
Block a user