Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modular_doppler/loadout_categories/categories/undersuit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@
name = "Bodysuit"
item_path = /obj/item/clothing/under/bodysuit

/datum/loadout_item/undersuit/fullbody/latexsuit
name = "Bodysuit (Latex)"
item_path = /obj/item/clothing/under/latexsuit

/datum/loadout_item/undersuit/fullbody/jumpsuit
name = "Colorable Jumpsuit"
item_path = /obj/item/clothing/under/color
Expand Down
48 changes: 48 additions & 0 deletions modular_doppler/modular_cosmetics/code/under/miscellania.dm
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,51 @@
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION_NO_NEW_ICON
can_adjust = TRUE
alt_covers_chest = TRUE

/obj/item/clothing/under/latexsuit
name = "latex bodysuit"
desc = "A form-fitting bodysuit made of a shiny latex polymer. Ages ago, it would've been a pain in the ass \
to get into, but centuries of clothing technology have made wearing it easier than ever before. \
Still, it takes longer to take off than an equivalent cloth garment."
icon_state = "latexsuit"
icon = 'modular_doppler/modular_cosmetics/icons/obj/under/miscellania.dmi'
worn_icon = 'modular_doppler/modular_cosmetics/icons/mob/under/miscellania.dmi'
equip_sound = 'modular_doppler/modular_sounds/sound/items/latex.ogg'
inhand_icon_state = "latexsuit"
lefthand_file = 'modular_doppler/modular_cosmetics/icons/mob/inhands/miscellania_left.dmi'
righthand_file = 'modular_doppler/modular_cosmetics/icons/mob/inhands/miscellania_right.dmi'
strip_delay = 8 SECONDS
body_parts_covered = CHEST|GROIN|LEGS|ARMS
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION
supported_bodyshapes = list(BODYSHAPE_HUMANOID, BODYSHAPE_DIGITIGRADE, BODYSHAPE_TAUR_SNAKE, BODYSHAPE_TAUR_HOOF, BODYSHAPE_TAUR_PAW)
bodyshape_icon_files = list(
BODYSHAPE_HUMANOID_T = 'modular_doppler/modular_cosmetics/icons/mob/under/miscellania.dmi',
BODYSHAPE_DIGITIGRADE_T = 'modular_doppler/modular_cosmetics/icons/obj/under/miscellania-digi.dmi',
BODYSHAPE_TAUR_SNAKE_T = 'modular_doppler/modular_cosmetics/icons/mob/under/miscellania_snake.dmi',
BODYSHAPE_TAUR_HOOF_T = 'modular_doppler/modular_cosmetics/icons/mob/under/miscellania_hoof.dmi',
BODYSHAPE_TAUR_PAW_T = 'modular_doppler/modular_cosmetics/icons/mob/under/miscellania_paw.dmi',
)
can_adjust = FALSE
obj_flags = parent_type::obj_flags | INFINITE_RESKIN
unique_reskin = list(
"Masculine" = "latexsuit",
"Feminine" = "latexsuit_d",
"Masculine Half-suit" = "halflatexsuit",
"Feminine Half-suit" = "halflatexsuit_d"
)

//This makes the player have to sit through a 6 Second do_after when taking off the latex suit
/obj/item/clothing/under/latexsuit/allow_attack_hand_drop(mob/user)
if(!iscarbon(src.loc))
return TRUE
var/mob/living/carbon/human/wearer = src.loc
if(wearer.w_uniform != src)
return TRUE

if(!do_after(user, 6 SECONDS, target = src))
return FALSE
return TRUE

//Stops a player from click-dragging the latex suit into their hand, since we'd like them to take the latex suit off with a simple left-click and have to do the do_after
/obj/item/clothing/under/latexsuit/mouse_drop_dragged(atom/over, mob/user, src_location, over_location, params)
return
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified modular_doppler/modular_cosmetics/icons/obj/under/miscellania.dmi
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
/obj/item/clothing/under/misc/gear_harness = 5,
/obj/item/clothing/under/misc/gear_harness/visible = 5,
/obj/item/clothing/under/bodysuit = 5,
/obj/item/clothing/under/latexsuit = 5,
/obj/item/clothing/under/athletas_bodysuit = 5,
)
)
Expand Down
Loading