Files
CHOMPStation2/code/modules/client/preference_setup/loadout/loadout_shoes.dm
CHOMPStation2StaffMirrorBot 789db280cc [MIRROR] space cleanup (#10414)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-15 00:47:51 +01:00

347 lines
11 KiB
Plaintext

// Shoelocker
/datum/gear/shoes
display_name = "sandals"
path = /obj/item/clothing/shoes/sandal
slot = slot_shoes
sort_category = "Shoes and Footwear"
/datum/gear/shoes/tourist_1
display_name = "tourist, black"
path = /obj/item/clothing/shoes/tourist_1
/datum/gear/shoes/tourist_2
display_name = "tourist, green"
path = /obj/item/clothing/shoes/tourist_2
/datum/gear/shoes/sneakerspurple
display_name = "sneakers, purple"
path = /obj/item/clothing/shoes/sneakerspurple
/datum/gear/shoes/sneakersblue
display_name = "sneakers, blue"
path = /obj/item/clothing/shoes/sneakersblue
/datum/gear/shoes/sneakersred
display_name = "sneakers, red"
path = /obj/item/clothing/shoes/sneakersred
/datum/gear/shoes/jackboots
display_name = "jackboots"
path = /obj/item/clothing/shoes/boots/jackboots
/datum/gear/shoes/kneeboots
display_name = "jackboots, knee-length"
path = /obj/item/clothing/shoes/boots/jackboots/knee
/datum/gear/shoes/thighboots
display_name = "jackboots, thigh-length"
path = /obj/item/clothing/shoes/boots/jackboots/thigh
/datum/gear/shoes/colorboots
display_name = "jackboots, recolorable"
path = /obj/item/clothing/shoes/boots/jackboots/recolorable
/datum/gear/shoes/colorboots/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/jackboots_white
display_name = "jackboots, white"
path = /obj/item/clothing/shoes/boots/jackboots/white
/datum/gear/shoes/jackboots_silver
display_name = "jackboots, silver"
path = /obj/item/clothing/shoes/boots/jackboots/silver
/datum/gear/shoes/workboots
display_name = "workboots"
path = /obj/item/clothing/shoes/boots/workboots
/datum/gear/shoes/workboots/toeless
display_name = "toe-less workboots"
path = /obj/item/clothing/shoes/boots/workboots/toeless
/datum/gear/shoes/black
display_name = "shoes, black"
path = /obj/item/clothing/shoes/black
/datum/gear/shoes/blue
display_name = "shoes, blue"
path = /obj/item/clothing/shoes/blue
/datum/gear/shoes/brown
display_name = "shoes, brown"
path = /obj/item/clothing/shoes/brown
/datum/gear/shoes/lacey
display_name = "shoes, oxford selection"
path = /obj/item/clothing/shoes/laceup
/datum/gear/shoes/lacey/New()
..()
var/list/laces = list()
for(var/lace in typesof(/obj/item/clothing/shoes/laceup))
var/obj/item/clothing/shoes/laceup/lace_type = lace
laces[initial(lace_type.name)] = lace_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(laces))
/datum/gear/shoes/green
display_name = "shoes, green"
path = /obj/item/clothing/shoes/green
/datum/gear/shoes/orange
display_name = "shoes, orange"
path = /obj/item/clothing/shoes/orange
/datum/gear/shoes/purple
display_name = "shoes, purple"
path = /obj/item/clothing/shoes/purple
/datum/gear/shoes/rainbow
display_name = "shoes, rainbow"
path = /obj/item/clothing/shoes/rainbow
/datum/gear/shoes/red
display_name = "shoes, red"
path = /obj/item/clothing/shoes/red
/datum/gear/shoes/white
display_name = "shoes, white"
path = /obj/item/clothing/shoes/white
/datum/gear/shoes/yellow
display_name = "shoes, yellow"
path = /obj/item/clothing/shoes/yellow
/datum/gear/shoes/hitops/
display_name = "high-top selection"
path = /obj/item/clothing/shoes/hitops/
/datum/gear/shoes/hitops/New()
..()
var/list/hitops = list()
for(var/hitop in typesof(/obj/item/clothing/shoes/hitops))
var/obj/item/clothing/shoes/hitops/hitop_type = hitop
hitops[initial(hitop_type.name)] = hitop_type
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(hitops))
/datum/gear/shoes/flipflops
display_name = "flip flops"
path = /obj/item/clothing/shoes/flipflop
/datum/gear/shoes/flipflops/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/athletic
display_name = "athletic shoes"
path = /obj/item/clothing/shoes/athletic
/datum/gear/shoes/athletic/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/skater
display_name = "skater shoes"
path = /obj/item/clothing/shoes/skater
/datum/gear/shoes/skater/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/flats
display_name = "flats"
path = /obj/item/clothing/shoes/flats/white/color
/datum/gear/shoes/flats/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/cowboy
display_name = "cowboy boots selection"
description = "Pick from a (free) range of rootin' tootin' cowboy boot(in'). Yee-haw!"
path = /obj/item/clothing/shoes/boots/cowboy
/datum/gear/shoes/cowboy/New()
..()
var/list/selector_uniforms = list(
"cowboy boots"=/obj/item/clothing/shoes/boots/cowboy,
"cowboy boots, classic"=/obj/item/clothing/shoes/boots/cowboy/classic,
"cowboy boots, brown"=/obj/item/clothing/shoes/boots/cowboy/brown,
"cowboy boots, black"=/obj/item/clothing/shoes/boots/cowboy/black,
"cowboy boots, white"=/obj/item/clothing/shoes/boots/cowboy/white,
"cowboy boots, fancy"=/obj/item/clothing/shoes/boots/cowboy/fancy,
"cowboy boots, snakeskin"=/obj/item/clothing/shoes/boots/cowboy/snakeskin
//"cowboy boots, green"=/obj/item/clothing/shoes/boots/cowboy/green,
//"cowboy boots, blue"=/obj/item/clothing/shoes/boots/cowboy/blue
)
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(selector_uniforms))
/datum/gear/shoes/jungle
display_name = "jungle boots"
path = /obj/item/clothing/shoes/boots/jungle
cost = 2
/datum/gear/shoes/duty
display_name = "duty boots"
path = /obj/item/clothing/shoes/boots/duty
cost = 2
/datum/gear/shoes/dress
display_name = "shoes, dress"
path = /obj/item/clothing/shoes/dress
/datum/gear/shoes/dress/white
display_name = "shoes, dress white"
path = /obj/item/clothing/shoes/dress/white
/datum/gear/shoes/heels
display_name = "high heels"
path = /obj/item/clothing/shoes/heels
/datum/gear/shoes/heels/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/slippers
display_name = "bunny slippers"
path = /obj/item/clothing/shoes/slippers
/datum/gear/shoes/boots/winter
display_name = "winter boots"
path = /obj/item/clothing/shoes/boots/winter
/datum/gear/shoes/boots/winter/security
display_name = "security winter boots"
path = /obj/item/clothing/shoes/boots/winter/security
allowed_roles = list(JOB_SECURITY_OFFICER, JOB_HEAD_OF_SECURITY, JOB_WARDEN, JOB_DETECTIVE, JOB_BLUESHIELD_GUARD, JOB_SECURITY_PILOT) //YW ADDITIONS
/datum/gear/shoes/boots/winter/science
display_name = "science winter boots"
path = /obj/item/clothing/shoes/boots/winter/science
/datum/gear/shoes/boots/winter/command
display_name = "site manager's winter boots"
path = /obj/item/clothing/shoes/boots/winter/command
allowed_roles = list(JOB_SITE_MANAGER)
/datum/gear/shoes/boots/winter/engineering
display_name = "engineering winter boots"
path = /obj/item/clothing/shoes/boots/winter/engineering
/datum/gear/shoes/boots/winter/atmos
display_name = "atmospherics winter boots"
path = /obj/item/clothing/shoes/boots/winter/atmos
/datum/gear/shoes/boots/winter/medical
display_name = "medical winter boots"
path = /obj/item/clothing/shoes/boots/winter/medical
allowed_roles = list(JOB_MEDICAL_DOCTOR,JOB_CHIEF_MEDICAL_OFFICER,JOB_CHEMIST,JOB_PARAMEDIC,JOB_GENETICIST, JOB_PSYCHIATRIST,JOB_FIELD_MEDIC) //CHOMP keep explo
/datum/gear/shoes/boots/winter/mining
display_name = "mining winter boots"
path = /obj/item/clothing/shoes/boots/winter/mining
/datum/gear/shoes/boots/winter/supply
display_name = "supply winter boots"
path = /obj/item/clothing/shoes/boots/winter/supply
/datum/gear/shoes/boots/winter/hydro
display_name = "hydroponics winter boots"
path = /obj/item/clothing/shoes/boots/winter/hydro
/datum/gear/shoes/circuitry
display_name = "boots, circuitry (empty)"
path = /obj/item/clothing/shoes/circuitry
/datum/gear/shoes/ballet
display_name = "pointe shoes"
path = /obj/item/clothing/shoes/ballet
/datum/gear/shoes/ballet/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/halfmoon
display_name = "half moon boots"
path = /obj/item/clothing/shoes/boots/half_moon
/datum/gear/shoes/sandals
display_name = "sandals, colorable"
path = /obj/item/clothing/shoes/sandals
/datum/gear/shoes/sandals/New()
..()
gear_tweaks += gear_tweak_free_color_choice
/datum/gear/shoes/black/cuffs
display_name = "legwraps, black"
path = /obj/item/clothing/shoes/black/cuffs
/datum/gear/shoes/black/cuffs/blue
display_name = "legwraps, blue"
path = /obj/item/clothing/shoes/black/cuffs/blue
/datum/gear/shoes/black/cuffs/red
display_name = "legwraps, red"
path = /obj/item/clothing/shoes/black/cuffs/red
/datum/gear/shoes/siren
display_name = "boots, Siren"
path = /obj/item/clothing/shoes/boots/fluff/siren
/datum/gear/shoes/toeless
display_name = "toe-less jackboots"
path = /obj/item/clothing/shoes/boots/jackboots/toeless
/datum/gear/shoes/singer_blue
display_name = "blue performer's boots"
path = /obj/item/clothing/shoes/boots/singer
/datum/gear/shoes/singer_yellow
display_name = "yellow performer's boots"
path = /obj/item/clothing/shoes/boots/singer/yellow
/datum/gear/shoes/antediluvian
display_name = "legwraps, antediluvian"
path = /obj/item/clothing/shoes/antediluvian
/datum/gear/shoes/flats/alt
display_name = "flats, alt"
path = /obj/item/clothing/shoes/flats/white/color/alt
/datum/gear/shoes/sandals_elegant
display_name = "sandals, elegant"
path = /obj/item/clothing/shoes/sandals_elegant
/datum/gear/shoes/sandals_elegant/New()
..()
gear_tweaks += gear_tweak_free_color_choice
//CHOMP ADDITION, trying to make a no shoes shoe option
/datum/gear/shoes/none
display_name = "Adjust - No Shoes"
path = /obj/item/clothing/shoes/none
cost = 0
/obj/item/clothing/shoes/none
name = DEVELOPER_WARNING_NAME // These shoes qdel theirself 0.1 second after being created, so...whatever. You'll never see their name and the unit test requires this. Honestly, this entire item should be nuked from orbit and a toggle added to the loadout like coats, but I digress. Outside the scope of this PR.
desc = "shoeless?"
icon = 'icons/effects/effects.dmi' //This is to make the unit test happy. These are invisible which are... Less than ideal. This should probably be moved to a trait or sound selector, but I digress. Outside scope of this PR.
icon_state = "nothing" // Horribly illegal and shouldn't be a thing, but whatever.
species_restricted = null
/obj/item/clothing/shoes/none/Initialize(mapload)
. = ..()
if(istype(loc, /mob)) // are we in a mob?
var/mob/m = loc
m.drop_from_inventory(src, get_turf(m))
if(contents.len) // spill out contents (e.g. microholders)
for(var/atom/movable/thing in contents)
thing.loc = get_turf(src)
moveToNullspace() // go to nullspace
QDEL_IN(src, 1)
/obj/item/clothing/shoes/none/make_worn_icon(body_type, slot_name, inhands, default_icon, default_layer, icon/clip_mask) // override this to ensure that no worn icon is generated
return