From ac3d975b9f5a4cf4339605b18edcc4f12cc18a29 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Mon, 17 Jul 2023 18:57:56 +0900 Subject: [PATCH] feat: Security Records Console prints photos (#21669) https://github.com/ss220-space/Paradise/pull/2473 --- code/game/machinery/computer/security_records.dm | 7 +++++++ icons/effects/64x32.dmi | Bin 0 -> 323 bytes 2 files changed, 7 insertions(+) create mode 100644 icons/effects/64x32.dmi diff --git a/code/game/machinery/computer/security_records.dm b/code/game/machinery/computer/security_records.dm index 4d14336ef5c..4a5b30a9ef1 100644 --- a/code/game/machinery/computer/security_records.dm +++ b/code/game/machinery/computer/security_records.dm @@ -397,6 +397,13 @@
\nPhysical Status: [record_general.fields["p_stat"]]
\nMental Status: [record_general.fields["m_stat"]]
"} P.name = "paper - 'Security Record: [record_general.fields["name"]]'" + var/obj/item/photo/photo = new(loc) + var/icon/new_photo = icon('icons/effects/64x32.dmi', "records") + new_photo.Blend(icon(record_general.fields["photo"], dir = SOUTH), ICON_OVERLAY, 0) + new_photo.Blend(icon(record_general.fields["photo"], dir = WEST), ICON_OVERLAY, 32) + new_photo.Scale(new_photo.Width() * 3, new_photo.Height() * 3) + photo.img = new_photo + photo.name = "photo - 'Security Record: [record_general.fields["name"]]'" else P.info += "General Record Lost!
" if(record_security && GLOB.data_core.security.Find(record_security)) diff --git a/icons/effects/64x32.dmi b/icons/effects/64x32.dmi new file mode 100644 index 0000000000000000000000000000000000000000..cef5e368738ab00d18842511a0b500ed51f26500 GIT binary patch literal 323 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH!3HE3&8=$zQh8M&5hX6E#mPmP1tppJc?=8{ zbArPPib}tK2`>2f^@*0ZuGYCT=Yuzd8eBAf@JQ#pkLF2+qBA}_ER2JUFB^L`$RsPT zdo=0Dq!5MRl^Uj&`!$wEbaor7ZeAgwk#yqd%&;jlW^*NKYw!5Avw@e5p(a?G>EoI| z;Xs=wc)B=-RLprhHIS=8L4ehG*NO)lS^6Ju>}qj3@wcb7)>y!0Prqr6^~&#cd57NI zW3Di+bI?q+(K_?oc8!Be*4p{`ow5q&Rvf5(`uz39sAB0C{zd2B|1M6`dSKgNo^gT8 zg@spd!hOb!30xh`Y-=4{E<9lRDciudvcUq2WSG<*2H`sy>x3j9Tmia`!PC{xWt~$( F69C6Jf;9jD literal 0 HcmV?d00001