diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 497d1fa611d..1c2293746d6 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -288,7 +288,7 @@ if(!unique_reskin) return - if(current_skin && !(item_flags & INFINITE_RESKIN)) + if(current_skin && !(obj_flags & INFINITE_RESKIN)) return context[SCREENTIP_CONTEXT_ALT_LMB] = "Reskin" diff --git a/code/modules/clothing/masks/costume.dm b/code/modules/clothing/masks/costume.dm index 626d8ce4a65..844b823880a 100644 --- a/code/modules/clothing/masks/costume.dm +++ b/code/modules/clothing/masks/costume.dm @@ -4,6 +4,7 @@ icon_state = "joy" clothing_flags = MASKINTERNALS flags_inv = HIDESNOUT + obj_flags = parent_type::obj_flags | INFINITE_RESKIN unique_reskin = list( "Joy" = "joy", "Flushed" = "flushed", @@ -16,7 +17,6 @@ /obj/item/clothing/mask/joy/reskin_obj(mob/user) . = ..() user.update_worn_mask() - current_skin = null//so we can infinitely reskin /obj/item/clothing/mask/mummy name = "mummy mask" diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index a2e560743ff..a39a10d26f8 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -66,6 +66,7 @@ . = ..() var/changed = FALSE + if(isnull(held_item) && has_sensor == HAS_SENSORS) context[SCREENTIP_CONTEXT_RMB] = "Toggle suit sensors" changed = TRUE @@ -86,7 +87,7 @@ context[SCREENTIP_CONTEXT_ALT_LMB] = "Wear [adjusted == ALT_STYLE ? "normally" : "casually"]" changed = TRUE - return changed ? CONTEXTUAL_SCREENTIP_SET : NONE + return changed ? CONTEXTUAL_SCREENTIP_SET : . /obj/item/clothing/under/worn_overlays(mutable_appearance/standing, isinhands = FALSE) diff --git a/code/modules/clothing/under/accessories/_accessories.dm b/code/modules/clothing/under/accessories/_accessories.dm index fdaf666638d..bfc6c1293fe 100644 --- a/code/modules/clothing/under/accessories/_accessories.dm +++ b/code/modules/clothing/under/accessories/_accessories.dm @@ -210,8 +210,9 @@ . += "It can be worn above or below your suit. Right-click to toggle." /obj/item/clothing/accessory/add_context(atom/source, list/context, obj/item/held_item, mob/user) - if(!isnull(held_item)) - return NONE + . = ..() + if(held_item != source) + return . context[SCREENTIP_CONTEXT_RMB] = "Wear [above_suit ? "below" : "above"] suit" return CONTEXTUAL_SCREENTIP_SET diff --git a/code/modules/reagents/reagent_containers/spray.dm b/code/modules/reagents/reagent_containers/spray.dm index 389396ed3fc..be40215039d 100644 --- a/code/modules/reagents/reagent_containers/spray.dm +++ b/code/modules/reagents/reagent_containers/spray.dm @@ -438,15 +438,6 @@ "Yellow" = "sprayer_med_yellow", "Blue" = "sprayer_med_blue") - -/obj/item/reagent_containers/spray/medical/add_context(atom/source, list/context, obj/item/held_item, mob/user) - . = ..() - - if(!current_skin) - context[SCREENTIP_CONTEXT_ALT_LMB] = "Reskin" - return CONTEXTUAL_SCREENTIP_SET - - /obj/item/reagent_containers/spray/medical/reskin_obj(mob/M) ..() switch(icon_state)