Files
VOREStation/code/modules/clothing/accessories/hands.dm
T
Kashargul 39a0bcd60e Encode changes (#18052)
* change encode

* guhh

* .

* .

* .

* Update code/game/antagonist/antagonist_objectives.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/clothing/spacesuits/rig/modules/specific/voice.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/news/new_newspaper.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/admin/DB ban/functions.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/tgui/modules/communications.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-08-05 00:19:22 +02:00

144 lines
4.7 KiB
Plaintext

/obj/item/clothing/accessory/knuckledusters
name = "knuckle dusters"
desc = "A pair of brass knuckles. Generally used to enhance the user's punches."
icon_state = "knuckledusters"
slot = ACCESSORY_SLOT_RING
slot_flags = SLOT_GLOVES
matter = list(MAT_STEEL = 500)
attack_verb = list("punched", "beaten", "struck")
siemens_coefficient = 1
force = 10 //base punch strength is 5
punch_force = 5 //added to base punch strength when added as a glove accessory
icon = 'icons/inventory/hands/item.dmi'
item_icons = list(
slot_l_hand_str = 'icons/mob/items/lefthand_gloves.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_gloves.dmi',
)
drop_sound = 'sound/items/drop/metalboots.ogg'
pickup_sound = 'sound/items/pickup/toolbox.ogg'
//bracelets
/obj/item/clothing/accessory/bracelet
name = "bracelet"
desc = "A simple silver bracelet with a clasp."
icon = 'icons/inventory/accessory/item.dmi'
icon_state = "bracelet"
w_class = ITEMSIZE_TINY
slot_flags = SLOT_GLOVES | SLOT_TIE
slot = ACCESSORY_SLOT_WRIST
/obj/item/clothing/accessory/bracelet/friendship
name = "friendship bracelet"
desc = "A beautiful friendship bracelet in all the colors of the rainbow."
icon_state = "friendbracelet"
/obj/item/clothing/accessory/bracelet/friendship/verb/dedicate_bracelet()
set name = "Dedicate Bracelet"
set category = "Object"
set desc = "Dedicate your friendship bracelet to a special someone."
var/mob/M = usr
if(!M.mind)
return 0
var/input = sanitizeSafe(tgui_input_text(M, "Who do you want to dedicate the bracelet to?","Friendship Bracelet" ,"", MAX_NAME_LEN, encode = FALSE), MAX_NAME_LEN)
if(src && input && !M.stat && in_range(M,src))
desc = "A beautiful friendship bracelet in all the colors of the rainbow. It's dedicated to [input]."
to_chat(M, "You dedicate the bracelet to [input], remembering the times you've had together.")
return 1
/obj/item/clothing/accessory/bracelet/material
icon_state = "materialbracelet"
material_slowdown_multiplier = 0
slowdown = 0
/obj/item/clothing/accessory/bracelet/material/Initialize(mapload, var/new_material)
. = ..()
if(!new_material)
new_material = MAT_STEEL
material = get_material_by_name(new_material)
if(!istype(material))
qdel(src)
return
name = "[material.display_name] bracelet"
desc = "A bracelet made from [material.display_name]."
color = material.icon_colour
/obj/item/clothing/accessory/bracelet/material/get_material()
return material
/obj/item/clothing/accessory/bracelet/material/wood/Initialize(mapload)
. = ..(mapload, MAT_WOOD)
/obj/item/clothing/accessory/bracelet/material/plastic/Initialize(mapload)
. = ..(mapload, MAT_PLASTIC)
/obj/item/clothing/accessory/bracelet/material/iron/Initialize(mapload)
. = ..(mapload, MAT_IRON)
/obj/item/clothing/accessory/bracelet/material/steel/Initialize(mapload)
. = ..(mapload, MAT_STEEL)
/obj/item/clothing/accessory/bracelet/material/silver/Initialize(mapload)
. = ..(mapload, MAT_SILVER)
/obj/item/clothing/accessory/bracelet/material/gold/Initialize(mapload)
. = ..(mapload, MAT_GOLD)
/obj/item/clothing/accessory/bracelet/material/platinum/Initialize(mapload)
. = ..(mapload, MAT_PLATINUM)
/obj/item/clothing/accessory/bracelet/material/phoron/Initialize(mapload)
. = ..(mapload, MAT_PHORON)
/obj/item/clothing/accessory/bracelet/material/glass/Initialize(mapload)
. = ..(mapload, MAT_GLASS)
//wristbands
/obj/item/clothing/accessory/wristband
name = "wristband"
desc = "A simple plastic wristband."
icon = 'icons/inventory/accessory/item.dmi'
icon_state = "wristband"
w_class = ITEMSIZE_TINY
slot_flags = SLOT_GLOVES | SLOT_TIE
slot = ACCESSORY_SLOT_WRIST
/obj/item/clothing/accessory/wristband/spiked
name = "wristband (spiked)"
desc = "A black wristband with short spikes around it."
icon_state = "wristband_spiked"
/obj/item/clothing/accessory/wristband/collection
name = "wristband collection"
desc = "A mix of colourable plastic wristbands."
icon_state = "wristband_collection"
/obj/item/clothing/accessory/wristband/collection/pink
name = "wristband collection"
desc = "A mix of colourable plastic wristbands."
icon_state = "wristband_collection2"
/obj/item/clothing/accessory/wristband/collection/les
name = "wristband collection"
desc = "A mix of colourable plastic wristbands."
icon_state = "wristband_collection3"
/obj/item/clothing/accessory/wristband/collection/trans
name = "wristband collection"
desc = "A mix of colourable plastic wristbands."
icon_state = "wristband_collection4"
/obj/item/clothing/accessory/wristband/collection/bi
name = "wristband collection"
desc = "A mix of colourable plastic wristbands."
icon_state = "wristband_collection5"
/obj/item/clothing/accessory/wristband/collection/ace
name = "wristband collection"
desc = "A mix of colourable plastic wristbands."
icon_state = "wristband_collection6"