[MIRROR] Creates prompt to rename faxes if using default name, updates bundle naming logic (#7149)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
Co-authored-by: Darlantan <forlirnglacignis@gmail.com>
This commit is contained in:
CHOMPStation2
2023-10-31 14:27:32 -07:00
committed by GitHub
parent 23e99fbb8c
commit 016c9a38e7
5 changed files with 64 additions and 5 deletions

View File

@@ -570,9 +570,9 @@
add_fingerprint(user)
return
var/obj/item/weapon/paper_bundle/B = new(src.loc)
if (name != "paper")
if (name != initial(name))
B.name = name
else if (P.name != "paper" && P.name != "photo")
else if (P.name != initial(P.name))
B.name = P.name
user.drop_from_inventory(P)
if (istype(user, /mob/living/carbon/human))