From 92118d275cd5527ab64154efbc550ac6967b51ad Mon Sep 17 00:00:00 2001 From: Totally not Nathan Sanford <44721288+Ctr-Truescreen@users.noreply.github.com> Date: Wed, 11 Oct 2023 23:15:14 +0200 Subject: [PATCH] Advanced business cards - Initial commit (#17545) - Business cards can be now renamed in the loadout. - Photocopiers now also copy descriptions to account for the above change. --- code/modules/client/preference_setup/loadout/items/utility.dm | 4 ++-- code/modules/paperwork/photocopier.dm | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/client/preference_setup/loadout/items/utility.dm b/code/modules/client/preference_setup/loadout/items/utility.dm index acde27ae767..3d47be81263 100644 --- a/code/modules/client/preference_setup/loadout/items/utility.dm +++ b/code/modules/client/preference_setup/loadout/items/utility.dm @@ -121,7 +121,7 @@ display_name = "business card" description = "A selection of business cards." // I'm not smart enough to make it spawn inside the holders and carry over the text so we'll have to live with this path = /obj/item/paper/business_card - flags = GEAR_HAS_COLOR_SELECTION + flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION /datum/gear/utility/business_card/New() ..() @@ -163,4 +163,4 @@ /datum/gear/utility/buddy_tag/New() ..() - gear_tweaks += new /datum/gear_tweak/buddy_tag_config() \ No newline at end of file + gear_tweaks += new /datum/gear_tweak/buddy_tag_config() diff --git a/code/modules/paperwork/photocopier.dm b/code/modules/paperwork/photocopier.dm index 60eb03a79d8..e08362da119 100644 --- a/code/modules/paperwork/photocopier.dm +++ b/code/modules/paperwork/photocopier.dm @@ -183,6 +183,7 @@ info += copied info += ""// pname = copy.name // -- Doohl + c.desc = copy.desc if(istype(copy, /obj/item/paper/business_card)) c.color = copy.color else