Files
Polaris/code/modules/clothing/gloves/miscellaneous.dm
2022-10-24 21:54:22 +01:00

176 lines
6.2 KiB
Plaintext

/obj/item/clothing/gloves/captain
desc = "Regal blue gloves, with a nice gold trim. Swanky."
name = "site manager's gloves"
icon_state = "captain"
item_state_slots = list(slot_r_hand_str = "blue", slot_l_hand_str = "blue")
/obj/item/clothing/gloves/cyborg
desc = "beep boop borp"
name = "cyborg gloves"
icon_state = "black"
item_state = "r_hands"
siemens_coefficient = 1.0
/obj/item/clothing/gloves/forensic
desc = "Specially made gloves for forensic technicians. The luminescent threads woven into the material stand out under scrutiny."
name = "forensic gloves"
icon_state = "forensic"
item_state = "black"
permeability_coefficient = 0.05
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECTION_TEMPERATURE
heat_protection = HANDS
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
/obj/item/clothing/gloves/swat
desc = "These tactical gloves are somewhat fire and impact-resistant."
name = "\improper SWAT Gloves"
icon_state = "swat"
item_state = "swat"
siemens_coefficient = 0.50
permeability_coefficient = 0.05
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECTION_TEMPERATURE
heat_protection = HANDS
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
/obj/item/clothing/gloves/combat //Combined effect of SWAT gloves and insulated gloves
desc = "These tactical gloves are somewhat fire and impact resistant."
name = "combat gloves"
icon_state = "swat"
item_state = "swat"
siemens_coefficient = 0
permeability_coefficient = 0.05
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECTION_TEMPERATURE
heat_protection = HANDS
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
/obj/item/clothing/gloves/sterile
name = "sterile gloves"
desc = "Sterile gloves."
icon_state = "latex"
item_state_slots = list(slot_r_hand_str = "white", slot_l_hand_str = "white")
siemens_coefficient = 1.0 //thin latex gloves, much more conductive than fabric gloves (basically a capacitor for AC)
permeability_coefficient = 0.01
germ_level = 0
fingerprint_chance = 25
drop_sound = 'sound/items/drop/rubber.ogg'
pickup_sound = 'sound/items/pickup/rubber.ogg'
var/balloon = /obj/item/toy/balloon/latex
/obj/item/clothing/gloves/sterile/attackby(var/obj/O, mob/user as mob)
if(istype(O, /obj/item/stack/cable_coil))
var/obj/item/stack/cable_coil/C = O
if(C.use(1))
var/obj/item/L = new src.balloon
user.drop_from_inventory(L,get_turf(src))
to_chat(user, "<span class='notice'>You make a balloon.</span>")
qdel(src)
else
to_chat(user, "<span class='warning'>You need one length of cable to finish the balloon!</span>")
/obj/item/clothing/gloves/sterile/latex
name = "latex gloves"
desc = "Sterile latex gloves."
/obj/item/clothing/gloves/sterile/nitrile
name = "nitrile gloves"
desc = "Sterile nitrile gloves"
icon_state = "nitrile"
item_state = "ngloves"
balloon = /obj/item/toy/balloon/nitrile
/obj/item/clothing/gloves/botanic_leather
desc = "These leather work gloves protect against thorns, barbs, prickles, spikes and other harmful objects of floral origin."
name = "botanist's leather gloves"
icon_state = "leather"
item_state_slots = list(slot_r_hand_str = "lightbrown", slot_l_hand_str = "lightbrown")
permeability_coefficient = 0.05
siemens_coefficient = 0.75 //thick work gloves
drop_sound = 'sound/items/drop/leather.ogg'
pickup_sound = 'sound/items/pickup/leather.ogg'
/obj/item/clothing/gloves/duty
desc = "These brown duty gloves are made from a durable synthetic."
name = "work gloves"
icon_state = "work"
item_state = "wgloves"
armor = list(melee = 10, bullet = 10, laser = 10, energy = 5, bomb = 0, bio = 0, rad = 0)
/obj/item/clothing/gloves/tactical
desc = "These brown tactical gloves are made from a durable synthetic, and have hardened knuckles."
name = "tactical gloves"
icon_state = "work"
item_state = "wgloves"
force = 5
punch_force = 3
siemens_coefficient = 0.75
permeability_coefficient = 0.05
armor = list(melee = 30, bullet = 10, laser = 10, energy = 15, bomb = 20, bio = 0, rad = 0)
/obj/item/clothing/gloves/vox
desc = "These bizarre gauntlets seem to be fitted for... bird claws?"
name = "insulated gauntlets"
icon_state = "gloves-vox"
item_state = "gloves-vox"
item_flags = PHORONGUARD
siemens_coefficient = 0
permeability_coefficient = 0.05
species_restricted = list("Vox")
drop_sound = 'sound/items/drop/metalboots.ogg'
pickup_sound = 'sound/items/pickup/toolbox.ogg'
cold_protection = HANDS
min_cold_protection_temperature = GLOVES_MIN_COLD_PROTECTION_TEMPERATURE
heat_protection = HANDS
max_heat_protection_temperature = GLOVES_MAX_HEAT_PROTECTION_TEMPERATURE
/obj/item/clothing/gloves/knuckledusters
name = "knuckle dusters"
desc = "A pair of brass knuckles. Generally used to enhance the user's punches."
icon_state = "knuckledusters"
matter = list(MAT_STEEL = 500)
attack_verb = list("punched", "beaten", "struck")
item_flags = THICKMATERIAL // Stops rings from increasing hit strength
siemens_coefficient = 1
fingerprint_chance = 100
overgloves = 1
force = 5
punch_force = 5
drop_sound = 'sound/items/drop/metalboots.ogg'
pickup_sound = 'sound/items/pickup/toolbox.ogg'
/obj/item/clothing/gloves/ranger
var/glovecolor = "white"
name = "ranger gloves"
desc = "The gloves of the Rangers are the least memorable part. They're not even insulated in the show, so children \
don't try and take apart a toaster with inadequate protection. They only serve to complete the fancy outfit."
icon = 'icons/obj/clothing/ranger.dmi'
icon_state = "ranger_gloves"
/obj/item/clothing/gloves/ranger/Initialize()
. = ..()
if(icon_state == "ranger_gloves")
name = "[glovecolor] ranger gloves"
icon_state = "[glovecolor]_ranger_gloves"
/obj/item/clothing/gloves/ranger/black
glovecolor = "black"
/obj/item/clothing/gloves/ranger/pink
glovecolor = "pink"
/obj/item/clothing/gloves/ranger/green
glovecolor = "green"
/obj/item/clothing/gloves/ranger/cyan
glovecolor = "cyan"
/obj/item/clothing/gloves/ranger/orange
glovecolor = "orange"
/obj/item/clothing/gloves/ranger/yellow
glovecolor = "yellow"