Skip to content

Commit

Permalink
Last handedness check.
Browse files Browse the repository at this point in the history
  • Loading branch information
TyrantCerberus committed Jan 29, 2025
1 parent af8a6f6 commit d43dd8c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/modules/reagents/reagent_containers/cups/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,12 @@
to_chat(user, span_warning("The cap seems to be missing! Where did it go?"))
return CLICK_ACTION_BLOCKING

var/fumbled = HAS_TRAIT(user, TRAIT_CLUMSY) && prob(5)
//IRIS EDIT CHANGE BEGIN - HANDEDNESS_QUIRK
var/fumbled = FALSE
var/hand_index = user.active_hand_index
if(prob(5) && (HAS_TRAIT(user, TRAIT_CLUMSY) || (HAS_TRAIT(user, TRAIT_HANDEDNESS) && IS_LEFT_INDEX(hand_index)) || (HAS_TRAIT(user, TRAIT_HANDEDNESS_LEFT) && IS_RIGHT_INDEX(hand_index))))
fumbled = TRUE
//IRIS EDIT CHANGE END
if(cap_on || fumbled)
cap_on = FALSE
spillable = TRUE
Expand Down

0 comments on commit d43dd8c

Please sign in to comment.