Implements New Gas Mask Sprites (#5627)

Implements new gas mask sprites by DronzTheWolf.
Adds old ancient gas mask sprites.
Reworks how some of the gas masks works. The brand new gas mask sprites have the same protection as regular gas masks, except they don't hide your identity.
Ancient Gas Mask sprites have the same protection as regular gas masks, except they don't filter phoron.
This commit is contained in:
BurgerLUA
2018-12-10 11:38:33 -08:00
committed by Erki
parent 2a18e31e85
commit 7adb64e3dc
10 changed files with 91 additions and 4 deletions
@@ -104,7 +104,7 @@
/obj/item/weapon/storage/box/survival/fill()
..()
new /obj/item/clothing/mask/breath( src )
new /obj/item/clothing/mask/gas/alt( src )
new /obj/item/weapon/tank/emergency_oxygen(src)
for(var/obj/item/thing in contents)
thing.autodrobe_no_remove = 1
@@ -119,7 +119,7 @@
/obj/item/weapon/storage/box/engineer/fill()
..()
new /obj/item/clothing/mask/breath( src )
new /obj/item/clothing/mask/gas/alt( src )
new /obj/item/weapon/tank/emergency_oxygen/engi( src )
for(var/obj/item/thing in contents)
thing.autodrobe_no_remove = 1
+1
View File
@@ -706,6 +706,7 @@
/obj/item/clothing/head/helmet/augment = 0.1,
/obj/item/clothing/mask/balaclava = 1,
/obj/item/clothing/mask/gas = 1.5,
/obj/item/clothing/mask/gas/old = 1.0,
/obj/item/clothing/mask/gas/cyborg = 0.7,
/obj/item/clothing/mask/gas/owl_mask = 0.5,
/obj/item/clothing/mask/gas/syndicate = 0.4,
@@ -41,9 +41,9 @@
new /obj/item/airbubble(src)
if ("tank")
new /obj/item/weapon/tank/emergency_oxygen/engi(src)
new /obj/item/clothing/mask/breath(src)
new /obj/item/clothing/mask/gas/alt(src)
new /obj/item/weapon/tank/emergency_oxygen/engi(src)
new /obj/item/clothing/mask/breath(src)
new /obj/item/clothing/mask/gas/alt(src)
new /obj/item/device/oxycandle(src)
new /obj/item/device/oxycandle(src)
new /obj/item/airbubble(src)
+12
View File
@@ -27,6 +27,18 @@
return filtered
/obj/item/clothing/mask/gas/alt
desc = "A face-covering mask that can be connected to an air supply. Filters harmful gases from the air. Doesn't seem to mask the face as much as older designs."
flags_inv = HIDEEARS
item_state = "gas_alt_alt"
icon_state = "gas_alt_alt"
/obj/item/clothing/mask/gas/old
desc = "A face-covering mask that can be connected to an air supply. Seems to be an old, outdated design."
filtered_gases = list("sleeping_agent")
item_state = "gas_mask"
icon_state = "gas_mask"
//Plague Dr suit can be found in clothing/suits/bio.dm
/obj/item/clothing/mask/gas/plaguedoctor
name = "plague doctor mask"
@@ -0,0 +1,37 @@
################################
# 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
#################################
# Your name.
author: BurgerBB
# 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:
- rscadd: "Implements new gasmask sprites and replaces them with the breath mask in emergency boxes as well as some lockers."
+37
View File
@@ -0,0 +1,37 @@
################################
# 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
#################################
# Your name.
author: DronzTheWolf
# 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 gas mask sprites."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB