Files
Polaris/code/modules/client/preference_setup/loadout/loadout_head.dm
Nyarlthotep 5641b61c12 Adds colorable cowboy hats and minor clothing fixes
Adds two styles of colorable cowboy hat to loadout
Adds clear gas mask sprite for unathi to cover their full face
Fixes sash accessories to be properly colorable
2024-01-21 05:18:07 -04:00

454 lines
13 KiB
Plaintext

/datum/gear/head
display_name = "hat, boatsman"
path = /obj/item/clothing/head/boaterhat
slot = slot_head
sort_category = "Hats and Headwear"
/datum/gear/head/bandanas
display_name = "bandana selection"
path = /obj/item/clothing/head/bandana
/datum/gear/head/bandanas/New()
..()
var/list/bandanatype = list(
"bandana, pirate-red" = /obj/item/clothing/head/bandana,
"bandana, green" = /obj/item/clothing/head/greenbandana,
"bandana, orange" = /obj/item/clothing/head/orangebandana
)
gear_tweaks += new/datum/gear_tweak/path(bandanatype)
/datum/gear/head/beret
display_name = "beret, colored selection"
path = /obj/item/clothing/head/beret
/datum/gear/head/beret/New()
..()
var/berettype = list(
"beret, engineering orange" = /obj/item/clothing/head/beret/engineering,
"beret, purple" = /obj/item/clothing/head/beret/purple,
"beret, red" = /obj/item/clothing/head/beret
)
gear_tweaks += new/datum/gear_tweak/path(berettype)
/datum/gear/head/beretsec
display_name = "beret, security selection (Security)"
path = /obj/item/clothing/head/beret/sec/navy/officer
allowed_roles = list("Security Officer","Head of Security","Warden")
/datum/gear/head/beretsec/New()
..()
var/berettype = list(
"officer beret, navy" = /obj/item/clothing/head/beret/sec/navy/officer,
"officer beret, corporate" = /obj/item/clothing/head/beret/sec/corporate/officer,
"officer beret, red" = /obj/item/clothing/head/beret/sec,
"HoS beret, navy" = /obj/item/clothing/head/beret/sec/navy/hos,
"HoS beret, corporate" = /obj/item/clothing/head/beret/sec/corporate/hos,
"warden beret, navy" = /obj/item/clothing/head/beret/sec/navy/warden,
"warden beret, corporate" = /obj/item/clothing/head/beret/sec/corporate/warden
)
gear_tweaks += new/datum/gear_tweak/path(berettype)
/datum/gear/head/cap
display_name = "cap, soft selection"
path = /obj/item/clothing/head/soft/black
/datum/gear/head/cap/New()
..()
var/list/captype = list(
"soft cap, black" = /obj/item/clothing/head/soft/black,
"soft cap, blue" = /obj/item/clothing/head/soft/blue,
"soft cap, green" = /obj/item/clothing/head/soft/green,
"soft cap, grey" = /obj/item/clothing/head/soft/grey,
"soft cap, major bill's" = /obj/item/clothing/head/soft/mbill,
"soft cap, orange" = /obj/item/clothing/head/soft/orange,
"soft cap, purple" = /obj/item/clothing/head/soft/purple,
"soft cap, rainbow" = /obj/item/clothing/head/soft/rainbow,
"soft cap, red" = /obj/item/clothing/head/soft/red,
"soft cap, solgov" = /obj/item/clothing/head/soft/solgov,
"soft cap, white" = /obj/item/clothing/head/soft/mime,
"soft cap, yellow" = /obj/item/clothing/head/soft/yellow
)
gear_tweaks += new/datum/gear_tweak/path(captype)
/datum/gear/head/sec_cap
display_name = "cap, soft security selection (Security)"
path = /obj/item/clothing/head/soft/sec/corp
allowed_roles = list("Security Officer","Head of Security","Warden", "Detective")
/datum/gear/head/sec_cap/New()
..()
var/list/caps = list()
for(var/cap in typesof(/obj/item/clothing/head/soft/sec))
var/obj/item/clothing/head/soft/cap_type = cap
caps[initial(cap_type.name)] = cap_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(caps))
/datum/gear/head/cap_flat
display_name = "cap, flat brown"
path = /obj/item/clothing/head/flatcap
/datum/gear/head/cap_med
display_name = "cap, medical (Medical)"
path = /obj/item/clothing/head/soft/med
allowed_roles = list("Chief Medical Officer","Medical Doctor","Chemist","Psychiatrist","Paramedic","Search and Rescue")
/datum/gear/head/cap_colorable
display_name = "cap (colorable)"
path = /obj/item/clothing/head/soft/mime
/datum/gear/head/cap_colorable/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/cowboy
display_name = "cowboy hat selection"
path = /obj/item/clothing/head/cowboy_hat
/datum/gear/head/cowboy/New()
..()
var/list/hats = list(
"cowboy hat" = /obj/item/clothing/head/cowboy_hat,
"cowboy hat, black" = /obj/item/clothing/head/cowboy_hat/black,
"cowboy hat, wide" = /obj/item/clothing/head/cowboy_hat/wide,
"cowboy hat, small" = /obj/item/clothing/head/cowboy_hat/small,
)
gear_tweaks += new/datum/gear_tweak/path(hats)
/datum/gear/head/cowboy_colorable
display_name = "cowboy hat (colorable)"
description = "Draw. In any color of the rainbow."
path = /obj/item/clothing/head/cowboy_hat/white
/datum/gear/head/cowboy_colorable/New()
..()
var/list/whitehats = list(
"cowboy hat" = /obj/item/clothing/head/cowboy_hat/white,
"cowboy hat, wide" = /obj/item/clothing/head/cowboy_hat/white_wide,
)
gear_tweaks += new/datum/gear_tweak/path(whitehats)
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/fedora
display_name = "fedora, brown"
path = /obj/item/clothing/head/fedora/brown
/datum/gear/head/fedora/grey
display_name = "fedora, grey"
path = /obj/item/clothing/head/fedora/grey
/datum/gear/head/hairflower
display_name = "hair flower pin (colorable)"
path = /obj/item/clothing/head/pin/flower/white
/datum/gear/head/hairflower/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/pin
display_name = "pin selection"
path = /obj/item/clothing/head/pin
/datum/gear/head/pin/New()
..()
var/list/pins = list()
for(var/pin in typesof(/obj/item/clothing/head/pin))
var/obj/item/clothing/head/pin/pin_type = pin
pins[initial(pin_type.name)] = pin_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(pins))
/datum/gear/head/hardhat
display_name = "hardhat selection"
path = /obj/item/clothing/head/hardhat
cost = 2
/datum/gear/head/hardhat/New()
..()
var/list/hardhats = list()
for(var/hardhat in typesof(/obj/item/clothing/head/hardhat))
var/obj/item/clothing/head/hardhat/hardhat_type = hardhat
hardhats[initial(hardhat_type.name)] = hardhat_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(hardhats))
/datum/gear/head/bowler
display_name = "hat, bowler"
path = /obj/item/clothing/head/bowler
/datum/gear/head/fez
display_name = "hat, fez"
path = /obj/item/clothing/head/fez
/datum/gear/head/tophat
display_name = "hat, tophat"
path = /obj/item/clothing/head/that
/datum/gear/head/panama
display_name = "hat, panama"
path = /obj/item/clothing/head/panama
/datum/gear/head/wig/philosopher
display_name = "wig, natural philosopher"
path = /obj/item/clothing/head/collectable/philosopher_wig
/datum/gear/head/wig
display_name = "wig, powdered"
path = /obj/item/clothing/head/powdered_wig
/datum/gear/head/ushanka
display_name = "ushanka selection"
path = /obj/item/clothing/head/ushanka
/datum/gear/head/ushanka/New()
..()
var/list/ushankas = list()
for(var/ushanka in typesof(/obj/item/clothing/head/ushanka))
var/obj/item/clothing/head/ushanka/ushanka_type = ushanka
ushankas[initial(ushanka_type.name)] = ushanka_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(ushankas))
/datum/gear/head/santahat
display_name = "santa hat"
path = /obj/item/clothing/head/santa
cost = 2
/datum/gear/head/santahat/New()
..()
var/list/santahats = list()
for(var/santahat in typesof(/obj/item/clothing/head/santa))
var/obj/item/clothing/head/santa/santahat_type = santahat
santahats[initial(santahat_type.name)] = santahat_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(santahats))
/datum/gear/head/hijab
display_name = "hijab"
path = /obj/item/clothing/head/hijab
/datum/gear/head/hijab/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/kippa
display_name = "kippa"
path = /obj/item/clothing/head/kippa
/datum/gear/head/kippa/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/turban
display_name = "turban"
path = /obj/item/clothing/head/turban
/datum/gear/head/turban/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/taqiyah
display_name = "taqiyah"
path = /obj/item/clothing/head/taqiyah
/datum/gear/head/taqiyah/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/kitty
display_name = "ears, kitty"
path = /obj/item/clothing/head/kitty
/datum/gear/head/rabbit
display_name = "ears, rabbit"
path = /obj/item/clothing/head/rabbitears
/datum/gear/head/beanie
display_name = "beanie"
path = /obj/item/clothing/head/beanie
/datum/gear/head/beanie/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/loose_beanie
display_name = "beanie, loose"
path = /obj/item/clothing/head/beanie_loose
/datum/gear/head/loose_beanie/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/beretg
display_name = "beret (colorable)"
path = /obj/item/clothing/head/beretg
/datum/gear/head/beretg/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/sombrero
display_name = "sombrero"
path = /obj/item/clothing/head/sombrero
/datum/gear/head/flatcapg
display_name = "cap, flat (colorable)"
path = /obj/item/clothing/head/flatcap/grey
/datum/gear/head/flatcapg/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/bow/small
display_name = "hair bow, small (colorable)"
path = /obj/item/clothing/head/pin/bow
/datum/gear/head/bow/small/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/bow/large
display_name = "hair bow, large (colorable)"
path = /obj/item/clothing/head/pin/bow/big
/datum/gear/head/bow/large/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/welding/
display_name = "welding helmet selection (engineering/robotics)"
path = /obj/item/clothing/head/welding
cost = 2
allowed_roles = list("Chief Engineer","Station Engineer","Atmospheric Technician","Research Director","Roboticist")
/datum/gear/head/welding/New()
..()
var/list/welding_helmets = list()
for(var/welding_helmet in typesof(/obj/item/clothing/head/welding))
var/obj/item/clothing/head/welding/welding_helmet_type = welding_helmet
welding_helmets[initial(welding_helmet_type.name)] = welding_helmet_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(welding_helmets))
/datum/gear/head/beret_gov
display_name = "beret, government selection"
path = /obj/item/clothing/head/beret/solgov
/datum/gear/head/beret_gov/New()
..()
var/list/sols = list()
for(var/sol_style in typesof(/obj/item/clothing/head/beret/solgov))
var/obj/item/clothing/head/beret/solgov/sol = sol_style
sols[initial(sol.name)] = sol
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(sols))
/datum/gear/head/surgery
display_name = "cap, surgical selection"
description = "Choose from a number of rings of different caps."
path = /obj/item/clothing/head/surgery
/datum/gear/head/surgery/New()
..()
var/list/cap_type = list(
"purple cap" = /obj/item/clothing/head/surgery/purple,
"blue cap" = /obj/item/clothing/head/surgery/blue,
"green cap" = /obj/item/clothing/head/surgery/green,
"black cap" = /obj/item/clothing/head/surgery/black,
"navy cap" = /obj/item/clothing/head/surgery/navyblue
)
gear_tweaks += new/datum/gear_tweak/path(cap_type)
/datum/gear/head/hairnet
display_name = "hairnet (colorable)"
path = /obj/item/clothing/head/surgery/hairnet
/datum/gear/head/hairnet/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/circuitry
display_name = "headwear, circuitry (empty)"
path = /obj/item/clothing/head/circuitry
/datum/gear/head/maangtikka
display_name = "maang tikka"
path = /obj/item/clothing/head/maangtikka
/datum/gear/head/maid_headband
display_name = "maid headband"
path = /obj/item/clothing/head/headband/maid
/datum/gear/head/jingasa
display_name = "jingasa"
path = /obj/item/clothing/head/jingasa
/datum/gear/head/sunflower_crown
display_name = "flower crown, sunflower"
path = /obj/item/clothing/head/sunflower_crown
/datum/gear/head/lavender_crown
display_name = "flower crown, lavender"
path = /obj/item/clothing/head/lavender_crown
/datum/gear/head/poppy_crown
display_name = "flower crown, poppy"
path = /obj/item/clothing/head/poppy_crown
/datum/gear/head/rose_crown
display_name = "flower crown, rose"
path = /obj/item/clothing/head/rose_crown
/datum/gear/head/blackngoldheaddress
display_name = "black and gold headdress"
path = /obj/item/clothing/head/blackngoldheaddress
/datum/gear/head/nonla
display_name = "non la"
path = /obj/item/clothing/head/nonla
/datum/gear/head/buckethat
display_name = "hat, bucket"
path = /obj/item/clothing/head/buckethat
/datum/gear/head/buckethat/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/redcoat
display_name = "hat, tricorne"
path =/obj/item/clothing/head/redcoat
/datum/gear/head/tanker
display_name = "tanker cap selection"
path = /obj/item/clothing/head/hardhat
cost = 2
/datum/gear/head/tanker/New()
..()
var/list/tankercaps = list()
for(var/tankercap in typesof(/obj/item/clothing/head/helmet/tank))
var/obj/item/clothing/head/helmet/tank/cap_type = tankercap
tankercaps[initial(cap_type.name)] = cap_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(tankercaps))
/datum/gear/head/costumes
display_name = "costume hat selection"
description = "A selection of fancy-dress hats."
path = /obj/item/clothing/head/collectable
cost = 2
/datum/gear/head/costumes/New()
..()
var/list/costumes = list()
for(var/costume in typesof(/obj/item/clothing/head/collectable))
var/obj/item/clothing/head/collectable/costume_type = costume
costumes[initial(costume_type.name)] = costume_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(costumes))
/datum/gear/head/wooly
display_name = "wooly hat (colorable)"
path = /obj/item/clothing/head/wooly
/datum/gear/head/wooly/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/head/woolynt
display_name = "wooly hat, nanotrasen"
path = /obj/item/clothing/head/wooly/nt