Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes digitigrade clothing alternate styles. #1729

Merged
merged 1 commit into from
Apr 23, 2024
Merged
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
8 changes: 5 additions & 3 deletions code/modules/clothing/under/_under.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
context[SCREENTIP_CONTEXT_LMB] = "Repair suit sensors"
. = CONTEXTUAL_SCREENTIP_SET

if(can_adjust && adjusted != DIGITIGRADE_STYLE)
if(can_adjust)
context[SCREENTIP_CONTEXT_ALT_LMB] = "Wear [adjusted == ALT_STYLE ? "normally" : "casually"]"
. = CONTEXTUAL_SCREENTIP_SET

Expand Down Expand Up @@ -150,12 +150,13 @@
if(adjusted == ALT_STYLE)
adjust_to_normal()

/* MONKESTATION EDIT
if((supports_variations_flags & CLOTHING_DIGITIGRADE_VARIATION) && ishuman(user))
var/mob/living/carbon/human/wearer = user
if(wearer.dna.species.bodytype & BODYTYPE_DIGITIGRADE)
adjusted = DIGITIGRADE_STYLE
update_appearance()

*/
/obj/item/clothing/under/equipped(mob/living/user, slot)
..()
if((slot & ITEM_SLOT_ICLOTHING) && freshly_laundered)
Expand Down Expand Up @@ -393,9 +394,10 @@
/// Returns the new state
/obj/item/clothing/under/proc/toggle_jumpsuit_adjust()
switch(adjusted)
/* MONKESTATION EDIT
if(DIGITIGRADE_STYLE)
return

*/
if(NORMAL_STYLE)
adjust_to_alt()

Expand Down
Loading