mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-10 14:45:40 +01:00
no conflicts this time please,
This commit is contained in:
@@ -38,3 +38,16 @@
|
||||
/datum/gear/mask/emotionalmask
|
||||
display_name = "emotional mask"
|
||||
path = /obj/item/clothing/mask/emotions
|
||||
|
||||
/datum/gear/mask/gaiter
|
||||
display_name = "neck gaiter selection"
|
||||
path = /obj/item/clothing/mask/gaiter
|
||||
cost = 1
|
||||
|
||||
/datum/gear/mask/gaiter/New()
|
||||
..()
|
||||
var/list/gaiters = list()
|
||||
for(var/gaiter in typesof(/obj/item/clothing/mask/gaiter))
|
||||
var/obj/item/clothing/mask/gaiter_type = gaiter
|
||||
gaiters[initial(gaiter_type.name)] = gaiter_type
|
||||
gear_tweaks += new/datum/gear_tweak/path(sortTim(gaiters, /proc/cmp_text_asc))
|
||||
@@ -361,3 +361,30 @@
|
||||
if("flushed")
|
||||
src.icon_state = "flushed"
|
||||
return
|
||||
|
||||
//Gaiter scarves
|
||||
/obj/item/clothing/mask/gaiter
|
||||
name = "red neck gaiter"
|
||||
desc = "A slightly worn neck gaiter, it's loose enough to be worn comfortably like a scarf. Commonly used by outdoorsmen and mercenaries, both to keep warm and keep debris away from the face."
|
||||
icon_state = "gaiter_red"
|
||||
|
||||
/obj/item/clothing/mask/gaiter/attack_self(mob/user as mob)
|
||||
if(src.icon_state == initial(icon_state))
|
||||
src.icon_state = "[icon_state]_up"
|
||||
to_chat(user, "You pull the gaiter up over your nose.")
|
||||
else
|
||||
src.icon_state = initial(icon_state)
|
||||
to_chat(user, "You tug the gaiter down around your neck.")
|
||||
update_clothing_icon() //so our mob-overlays update
|
||||
|
||||
/obj/item/clothing/mask/gaiter/tan
|
||||
name = "tan neck gaiter"
|
||||
icon_state = "gaiter_tan"
|
||||
|
||||
/obj/item/clothing/mask/gaiter/gray
|
||||
name = "gray neck gaiter"
|
||||
icon_state = "gaiter_gray"
|
||||
|
||||
/obj/item/clothing/mask/gaiter/green
|
||||
name = "green neck gaiter"
|
||||
icon_state = "gaiter_green"
|
||||
Reference in New Issue
Block a user