Files
Bloop cf14dcfc1a Converts 3 components into elements (#94589)
## About The Pull Request

`adjust_fishing_difficulty` is a good one to make into a bespoke element
since a number of the same clothing item are created in the wardrobe
system.

climb_walkable is also good due to how prevalent it is, and it is a bit
of a two for one since it also removes the need for the
`/component/connect_loc_behalf`

Also stops adding the on_climbable trait to literally everything in the
turf, it now only applies it to atoms with density. So no more pipes and
stuff getting trait lists created for no reason.

<details><summary> Tested + things still work as before </summary>

<img width="422" height="122" alt="image"
src="https://github.com/user-attachments/assets/b23696f5-cd16-4150-aeb3-14ea6bd256fc"
/>

</details>

## Why It's Good For The Game

Lessens overhead, fixes a bug as well.

## Changelog

🆑
fix: fixes a pushed crate not removing on_climbable trait properly off
the mob standing atop it
/🆑
2025-12-30 01:05:50 +01:00

152 lines
4.6 KiB
Plaintext

/obj/item/clothing/under/misc
icon = 'icons/obj/clothing/under/misc.dmi'
worn_icon = 'icons/mob/clothing/under/misc.dmi'
abstract_type = /obj/item/clothing/under/misc
/obj/item/clothing/under/misc/pj
name = "\improper PJs"
desc = "A comfy set of sleepwear, for taking naps or being lazy instead of working."
can_adjust = FALSE
inhand_icon_state = "w_suit"
/obj/item/clothing/under/misc/pj/red
icon_state = "red_pyjamas"
/obj/item/clothing/under/misc/pj/blue
icon_state = "blue_pyjamas"
/obj/item/clothing/under/misc/patriotsuit
name = "patriotic suit"
desc = "Motorcycle not included."
icon_state = "ek"
inhand_icon_state = null
can_adjust = FALSE
/obj/item/clothing/under/misc/mailman
name = "mailman's jumpsuit"
desc = "<i>'Special delivery!'</i>"
icon_state = "mailman"
inhand_icon_state = "b_suit"
clothing_traits = list(TRAIT_HATED_BY_DOGS)
custom_premium_price = PAYCHECK_CREW
/obj/item/clothing/under/misc/psyche
name = "psychedelic jumpsuit"
desc = "Groovy!"
icon_state = "psyche"
inhand_icon_state = "p_suit"
/obj/item/clothing/under/misc/psyche/get_general_color(icon/base_icon)
return "#3f3f3f"
/obj/item/clothing/under/misc/vice_officer
name = "vice officer's jumpsuit"
desc = "It's the standard issue pretty-boy outfit, as seen on Holo-Vision."
icon_state = "vice"
inhand_icon_state = "gy_suit"
can_adjust = FALSE
/obj/item/clothing/under/misc/adminsuit
name = "administrative cybernetic jumpsuit"
icon = 'icons/obj/clothing/under/syndicate.dmi'
icon_state = "syndicate"
inhand_icon_state = "bl_suit"
worn_icon = 'icons/mob/clothing/under/syndicate.dmi'
desc = "A cybernetically enhanced jumpsuit used for administrative duties."
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
armor_type = /datum/armor/clothing_under/adminsuit
cold_protection = CHEST | GROIN | LEGS | FEET | ARMS | HANDS
min_cold_protection_temperature = SPACE_SUIT_MIN_TEMP_PROTECT
heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
max_heat_protection_temperature = SPACE_SUIT_MAX_TEMP_PROTECT
can_adjust = FALSE
resistance_flags = FIRE_PROOF | ACID_PROOF
/obj/item/clothing/under/misc/adminsuit/Initialize(mapload)
. = ..()
AddElement(/datum/element/adjust_fishing_difficulty, -25)
/datum/armor/clothing_under/adminsuit
melee = 100
bullet = 100
laser = 100
energy = 100
bomb = 100
bio = 100
fire = 100
acid = 100
wound = 100
/obj/item/clothing/under/misc/burial
name = "burial garments"
desc = "Traditional burial garments from the early 22nd century."
icon_state = "burial"
inhand_icon_state = null
can_adjust = FALSE
has_sensor = NO_SENSORS
/obj/item/clothing/under/misc/overalls
name = "laborer's overalls"
desc = "A set of durable overalls for getting the job done."
icon_state = "overalls"
inhand_icon_state = "lb_suit"
can_adjust = FALSE
custom_price = PAYCHECK_CREW
/obj/item/clothing/under/misc/assistantformal
name = "assistant's formal uniform"
desc = "An assistant's formal-wear. Why an assistant needs formal-wear is still unknown."
icon_state = "assistant_formal"
inhand_icon_state = "gy_suit"
can_adjust = FALSE
/obj/item/clothing/under/misc/durathread
name = "durathread jumpsuit"
desc = "A jumpsuit made from durathread, its resilient fibres provide some protection to the wearer."
icon_state = "durathread"
inhand_icon_state = null
can_adjust = FALSE
armor_type = /datum/armor/clothing_under/durathread
/datum/armor/clothing_under/durathread
melee = 10
laser = 10
fire = 40
acid = 10
bomb = 5
wound = 10
/obj/item/clothing/under/misc/bouncer
name = "bouncer uniform"
desc = "A uniform made from a little bit more resistant fibers, makes you seem like a cool guy."
icon_state = "bouncer"
inhand_icon_state = null
can_adjust = FALSE
armor_type = /datum/armor/clothing_under/bouncer
/datum/armor/clothing_under/bouncer
melee = 5
fire = 30
acid = 30
/obj/item/clothing/under/misc/coordinator
name = "coordinator jumpsuit"
desc = "A jumpsuit made by party people, from party people, for party people."
icon = 'icons/obj/clothing/under/captain.dmi'
worn_icon = 'icons/mob/clothing/under/captain.dmi'
icon_state = "captain_parade"
inhand_icon_state = null
can_adjust = FALSE
/obj/item/clothing/under/misc/syndicate_souvenir
name = "syndicate souvenir tee"
desc = "I got kidnapped by a Syndicate operative and all I got was this lousy t-shirt!"
icon = 'icons/obj/clothing/under/syndicate_souvenir.dmi'
worn_icon = 'icons/mob/clothing/under/syndicate_souvenir.dmi'
icon_state = "syndicate_souvenir"
inhand_icon_state = "syndicate_souvenir"
random_sensor = FALSE
sensor_mode = NO_SENSORS
can_adjust = FALSE
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY