Skip to content

Commit

Permalink
Merge pull request #307 from CandleJaxx/froibk
Browse files Browse the repository at this point in the history
candle adds the half mask respirator
  • Loading branch information
Paxilmaniac authored Dec 28, 2024
2 parents 23d7996 + 17e0f4b commit ad97345
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modular_doppler/loadout_categories/categories/masks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@
/datum/loadout_item/mask/kitsune
name = "Kitsune Mask"
item_path = /obj/item/clothing/mask/kitsune

/datum/loadout_item/mask/respirator
name = "Half-Mask Respirator"
item_path = /obj/item/clothing/mask/gas/respirator
12 changes: 12 additions & 0 deletions modular_doppler/modular_cosmetics/GAGS/greyscale_configs_face.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@
name = "Neck Gaiter (Worn)"
icon_file = 'modular_doppler/modular_cosmetics/GAGS/icons/mob/face.dmi'
json_config = 'modular_doppler/modular_cosmetics/GAGS/json_configs/face/gaiter_worn.json'

// RESPIRATOR

/datum/greyscale_config/respirator
name = "Half-Mask Respirator"
icon_file = 'modular_doppler/modular_cosmetics/GAGS/icons/obj/face.dmi'
json_config = 'modular_doppler/modular_cosmetics/GAGS/json_configs/face/respirator.json'

/datum/greyscale_config/respirator/worn
name = "Half-Mask Respirator (Worn)"
icon_file = 'modular_doppler/modular_cosmetics/GAGS/icons/mob/face.dmi'
json_config = 'modular_doppler/modular_cosmetics/GAGS/json_configs/face/respirator_worn.json'
Binary file modified modular_doppler/modular_cosmetics/GAGS/icons/mob/face.dmi
Binary file not shown.
Binary file modified modular_doppler/modular_cosmetics/GAGS/icons/obj/face.dmi
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"respirator": [
{
"type": "icon_state",
"icon_state": "respirator",
"blend_mode": "overlay",
"color_ids": [ 1 ]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"respirator": [
{
"type": "icon_state",
"icon_state": "respirator_worn",
"blend_mode": "overlay",
"color_ids": [ 1 ]
}
]
}
22 changes: 22 additions & 0 deletions modular_doppler/modular_cosmetics/code/face/masks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,25 @@
return FALSE
if (prob(hit_reflect_chance))
return TRUE

/obj/item/clothing/mask/gas/respirator
name = "half mask respirator"
desc = "A half mask respirator that's really just a standard gas mask with the glass taken off."
icon_state = "respirator"
icon = 'modular_doppler/modular_cosmetics/GAGS/icons/obj/face.dmi'
worn_icon = 'modular_doppler/modular_cosmetics/GAGS/icons/mob/face.dmi'
supported_bodyshapes = null
bodyshape_icon_files = null
inhand_icon_state = "sechailer"
greyscale_config = /datum/greyscale_config/respirator
greyscale_config_worn = /datum/greyscale_config/respirator/worn
greyscale_colors = "#666666"
clothing_flags = BLOCK_GAS_SMOKE_EFFECT|MASKINTERNALS
w_class = WEIGHT_CLASS_SMALL
flags_inv = HIDEFACIALHAIR | HIDEFACE | HIDESNOUT
visor_flags = BLOCK_GAS_SMOKE_EFFECT | MASKINTERNALS
visor_flags_inv = HIDEFACIALHAIR | HIDEFACE | HIDESNOUT
flags_cover = MASKCOVERSMOUTH
visor_flags_cover = MASKCOVERSMOUTH
flags_1 = IS_PLAYER_COLORABLE_1
interaction_flags_click = NEED_DEXTERITY|ALLOW_RESTING

0 comments on commit ad97345

Please sign in to comment.