Skip to content

Commit

Permalink
Merge pull request #34637 from Spookerton/spkrtn/cng/fake-moustache-buff
Browse files Browse the repository at this point in the history
fake moustache fits in pockets and can change names
  • Loading branch information
Spookerton committed Jun 7, 2024
2 parents 7c9f780 + 9fce33f commit af1bff9
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion code/modules/clothing/masks/miscellaneous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,31 @@
down_icon_state = "steriledown"
pull_mask = 1


/obj/item/clothing/mask/fakemoustache
name = "fake moustache"
desc = "Warning: moustache is fake."
icon_state = "fake-moustache"
item_state = "fake-moustache"
flags_inv = HIDEFACE
body_parts_covered = 0
body_parts_covered = EMPTY_BITFIELD
visible_name = "Scoundrel"
w_class = ITEM_SIZE_SMALL


/obj/item/clothing/mask/fakemoustache/verb/ChangeVisibleName()
set name = "Change Visible Name"
set src in usr
if (usr.incapacitated())
return
var/response = input(usr, null, "Change Visible Name", visible_name) as null | text
response = sanitizeName(response, MAX_NAME_LEN, TRUE, FALSE)
if (!response)
return
if (usr.incapacitated() || !(src in usr))
return
visible_name = response


/obj/item/clothing/mask/snorkel
name = "snorkel"
Expand Down

0 comments on commit af1bff9

Please sign in to comment.