Skip to content

Commit

Permalink
Changeling clothes can now be removed by monkeys (tgstation#82966)
Browse files Browse the repository at this point in the history
## About The Pull Request

It feels like Changeling clothes can be an element/component instead,
but for now this fixes a bug where if you turn into a monkey after
transforming into someone, unless you have Clever mutation to use attack
hand then you could not take off your nodrop clothes.

## Why It's Good For The Game

Closes tgstation#59182

## Changelog

:cl:
fix: Monkey changelings that are disguised as someone can now take off
their flesh clothes.
/:cl:
  • Loading branch information
JohnFulpWillard authored May 1, 2024
1 parent f5595a1 commit dccd6da
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions code/modules/antagonists/changeling/powers/transform.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
return
. = ..()

/obj/item/clothing/glasses/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/clothing/under/changeling
name = "flesh"
item_flags = DROPDEL
Expand All @@ -31,6 +34,9 @@
return
. = ..()

/obj/item/clothing/under/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/clothing/suit/changeling
name = "flesh"
allowed = list(/obj/item/changeling)
Expand All @@ -44,6 +50,9 @@
return
. = ..()

/obj/item/clothing/suit/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/clothing/head/changeling
name = "flesh"
icon_state = null
Expand All @@ -57,6 +66,9 @@
return
. = ..()

/obj/item/clothing/head/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/clothing/shoes/changeling
name = "flesh"
item_flags = DROPDEL
Expand All @@ -69,6 +81,9 @@
return
. = ..()

/obj/item/clothing/shoes/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/clothing/gloves/changeling
name = "flesh"
item_flags = DROPDEL
Expand All @@ -81,6 +96,9 @@
return
. = ..()

/obj/item/clothing/gloves/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/clothing/mask/changeling
name = "flesh"
item_flags = DROPDEL
Expand All @@ -93,6 +111,9 @@
return
. = ..()

/obj/item/clothing/mask/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/changeling
name = "flesh"
slot_flags = ALL
Expand All @@ -106,6 +127,9 @@
return
. = ..()

/obj/item/changeling/attack_paw(mob/user, list/modifiers)
attack_hand(user, modifiers)

/obj/item/changeling/id
slot_flags = ITEM_SLOT_ID
/// Cached flat icon of the ID
Expand Down

0 comments on commit dccd6da

Please sign in to comment.