mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
73 lines
2.5 KiB
Plaintext
73 lines
2.5 KiB
Plaintext
/obj/item/clothing/head/hardhat
|
|
name = "hard hat"
|
|
desc = "A piece of headgear used in dangerous working conditions to protect the head. Comes with a built-in flashlight."
|
|
icon_state = "hardhat0_yellow"
|
|
brightness_on = 4 //luminosity when on
|
|
light_overlay = "hardhat_light"
|
|
armor = list(melee = 30, bullet = 5, laser = 20,energy = 10, bomb = 20, bio = 10, rad = 20)
|
|
flags_inv = 0
|
|
siemens_coefficient = 0.9
|
|
action_button_name = "Toggle Head-light"
|
|
w_class = ITEMSIZE_NORMAL
|
|
ear_protection = 1
|
|
drop_sound = 'sound/items/drop/helm.ogg'
|
|
pickup_sound = 'sound/items/pickup/helm.ogg'
|
|
|
|
/obj/item/clothing/head/hardhat/orange
|
|
icon_state = "hardhat0_orange"
|
|
name = "orange hard hat"
|
|
|
|
/obj/item/clothing/head/hardhat/red
|
|
icon_state = "hardhat0_red"
|
|
name = "firefighter helmet"
|
|
heat_protection = HEAD
|
|
max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECTION_TEMPERATURE
|
|
min_pressure_protection = 0.2* ONE_ATMOSPHERE
|
|
max_pressure_protection = 20 * ONE_ATMOSPHERE
|
|
|
|
|
|
/obj/item/clothing/head/hardhat/white
|
|
icon_state = "hardhat0_white"
|
|
name = "sleek hard hat"
|
|
heat_protection = HEAD
|
|
max_heat_protection_temperature = FIRE_HELMET_MAX_HEAT_PROTECTION_TEMPERATURE
|
|
min_pressure_protection = 0.2* ONE_ATMOSPHERE
|
|
max_pressure_protection = 20 * ONE_ATMOSPHERE
|
|
|
|
/obj/item/clothing/head/hardhat/dblue
|
|
name = "blue hard hat"
|
|
icon_state = "hardhat0_dblue"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger
|
|
var/hatcolor = "white"
|
|
name = "ranger helmet"
|
|
desc = "A special helmet designed for the Go Go ERT-Rangers, able to withstand a pressureless environment, filter gas and provide air. It has thermal vision and sometimes \
|
|
mesons to find breaches, as well as an integrated radio... well, only in the show, of course. This one has none of those features- it just has a flashlight instead."
|
|
icon = 'icons/obj/clothing/ranger.dmi'
|
|
icon_state = "ranger_helmet"
|
|
light_overlay = "helmet_light"
|
|
flags_inv = HIDEMASK|HIDEEARS|HIDEEYES|HIDEFACE|BLOCKHAIR
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/Initialize()
|
|
. = ..()
|
|
if(icon_state == "ranger_helmet")
|
|
name = "[hatcolor] ranger helmet"
|
|
icon_state = "[hatcolor]_ranger_helmet"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/black
|
|
hatcolor = "black"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/pink
|
|
hatcolor = "pink"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/green
|
|
hatcolor = "green"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/cyan
|
|
hatcolor = "cyan"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/orange
|
|
hatcolor = "orange"
|
|
|
|
/obj/item/clothing/head/hardhat/ranger/yellow
|
|
hatcolor = "yellow" |