Makes masks use their original, opaque sprite and properly implements polaris clear gasmask subtypes (#8113)

This commit is contained in:
Reo Lozzot
2024-04-04 19:56:48 +02:00
committed by GitHub
parent 7e4149ba21
commit 2ec2879552
39 changed files with 91 additions and 60 deletions
@@ -5,22 +5,33 @@
prob(20); /obj/item/weapon/storage/toolbox/emergency,
prob(50); /obj/item/weapon/melee/baton/cattleprod,
)
if(prob(25))
to_wear_mask = /obj/item/clothing/mask/gas/wwii
if(prob(50))
to_wear_mask = /obj/item/clothing/mask/gas
else
to_wear_mask = null
if(prob(5))
to_wear_helmet = /obj/item/clothing/head/cone //Hehe funny cone
else
to_wear_helmet = null
if(prob(70))
to_wear_gloves = pick(
prob(20); /obj/item/clothing/gloves/fyellow,
prob(1); /obj/item/clothing/gloves/yellow //Sometimes they get real glubs
)
else
to_wear_gloves = null
..()
/mob/living/carbon/human/ai_controlled/greytide
name = "John Greytide" //theyll get a normal name on spawn
to_wear_helmet = null
//to_wear_helmet = null
to_wear_glasses = null
//to_wear_mask =
to_wear_l_radio = /obj/item/device/radio/headset
to_wear_r_radio = null
to_wear_uniform = /obj/item/clothing/under/color/grey
to_wear_suit = null
to_wear_gloves = /obj/item/clothing/gloves/fyellow
//to_wear_gloves = /obj/item/clothing/gloves/fyellow
to_wear_shoes = /obj/item/clothing/shoes/black
to_wear_belt = /obj/item/weapon/storage/belt/utility/full
to_wear_l_pocket = /obj/item/weapon/soap