From c00678c1428b17fd29fd0d574605ecf7a39c41a0 Mon Sep 17 00:00:00 2001 From: PhantornRU Date: Sat, 7 Oct 2023 00:35:44 +1000 Subject: [PATCH 1/5] initial --- modular_ss220/jobs/_jobs.dm | 2 +- modular_ss220/jobs/_jobs.dme | 12 ++++ modular_ss220/jobs/code/cards_ids.dm | 55 ++++++++++++++++++ .../jobs/code/clothing/medical_clothing.dm | 38 ++++++++++++ modular_ss220/jobs/code/job/medical_jobs.dm | 51 ++++++++++++++++ modular_ss220/jobs/icons/card.dmi | Bin 0 -> 5448 bytes .../jobs/icons/clothing/mob/uniform.dmi | Bin 0 -> 6808 bytes .../jobs/icons/clothing/uniforms.dmi | Bin 0 -> 2408 bytes modular_ss220/jobs/icons/hud.dmi | Bin 0 -> 492 bytes modular_ss220/jobs/icons/uniforms.dmi | Bin 0 -> 2408 bytes 10 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 modular_ss220/jobs/code/cards_ids.dm create mode 100644 modular_ss220/jobs/code/clothing/medical_clothing.dm create mode 100644 modular_ss220/jobs/code/job/medical_jobs.dm create mode 100644 modular_ss220/jobs/icons/card.dmi create mode 100644 modular_ss220/jobs/icons/clothing/mob/uniform.dmi create mode 100644 modular_ss220/jobs/icons/clothing/uniforms.dmi create mode 100644 modular_ss220/jobs/icons/hud.dmi create mode 100644 modular_ss220/jobs/icons/uniforms.dmi diff --git a/modular_ss220/jobs/_jobs.dm b/modular_ss220/jobs/_jobs.dm index cd20e61a4ff3..47f40207e7b0 100644 --- a/modular_ss220/jobs/_jobs.dm +++ b/modular_ss220/jobs/_jobs.dm @@ -1,4 +1,4 @@ /datum/modpack/jobs name = "Работы" desc = "Новые джобки и изменения старых" - author = "furior" + author = "furior, PhantomRU" diff --git a/modular_ss220/jobs/_jobs.dme b/modular_ss220/jobs/_jobs.dme index c8c3a6f2b56a..f91d559c7a18 100644 --- a/modular_ss220/jobs/_jobs.dme +++ b/modular_ss220/jobs/_jobs.dme @@ -1,3 +1,15 @@ #include "_jobs.dm" +#include "code/clothing/medical_clothing.dm" +#include "code/job/medical_jobs.dm" #include "code/access.dm" +#include "code/cards_ids.dm" +// BEGIN_INTERNALS +// END_INTERNALS +// BEGIN_FILE_DIR +#define FILE_DIR . +// END_FILE_DIR +// BEGIN_PREFERENCES +// END_PREFERENCES +// BEGIN_INCLUDE +// END_INCLUDE diff --git a/modular_ss220/jobs/code/cards_ids.dm b/modular_ss220/jobs/code/cards_ids.dm new file mode 100644 index 000000000000..3db2f8573a33 --- /dev/null +++ b/modular_ss220/jobs/code/cards_ids.dm @@ -0,0 +1,55 @@ +/proc/get_novice_card_skins() + return list("cadet", "intern", "student", "trainee") + +get_station_card_skins() + var/test = "Test1: \n" + for(var/i in ..()) + test += ", [i]" + message_admins(test) + + test = "Test2: \n" + for(var/i in get_novice_card_skins()) + test += ", [i]" + message_admins(test) + + test = "Test3: \n" + for(var/i in ..() + get_novice_card_skins()) + test += ", [i]" + message_admins(test) + + return ..() + get_novice_card_skins() + +// /atom/prepare_huds() +// . = ..() +// var/image/img = image('modular_ss220/jobs/icons/hud.dmi', src, "") +// img.appearance_flags = RESET_COLOR | RESET_TRANSFORM +// hud_list[ID_HUD] += img + +/obj/item/card/id/medical/intern + name = "Intern ID" + registered_name = "Intern" + icon = 'modular_ss220/jobs/icons/card.dmi' + icon_state = "intern" + item_state = "intern-id" + rank = "Intern" + +/obj/item/card/id/research/student + name = "Student ID" + registered_name = "Student" + icon = 'modular_ss220/jobs/icons/card.dmi' + icon_state = "student" + item_state = "student-id" + +/obj/item/card/id/engineering/trainee + name = "Trainee ID" + registered_name = "Trainee" + icon = 'modular_ss220/jobs/icons/card.dmi' + icon_state = "trainee" + item_state = "trainee-id" + +/obj/item/card/id/security/cadet + name = "Cadet ID" + registered_name = "Cadet" + icon = 'modular_ss220/jobs/icons/card.dmi' + icon_state = "cadet" + item_state = "cadet-id" diff --git a/modular_ss220/jobs/code/clothing/medical_clothing.dm b/modular_ss220/jobs/code/clothing/medical_clothing.dm new file mode 100644 index 000000000000..bb7dd7e9a457 --- /dev/null +++ b/modular_ss220/jobs/code/clothing/medical_clothing.dm @@ -0,0 +1,38 @@ +/obj/item/clothing/under/rank/medical/intern + icon = 'modular_ss220/jobs/icons/clothing/uniforms.dmi' + icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' + //lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi' + //righthand_file = 'icons/mob/inhands/clothing_righthand.dmi' + sprite_sheets = null //если не сработает icon_override, то использовать: (и снизу тоже у зеленки) + // sprite_sheets = list( + // "Human" = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi', + // ) + + name = "intern jumpsuit" + icon_state = "intern_s" + item_color = "intern" + +/obj/item/clothing/under/rank/medical/intern/skirt + name = "intern jumpskirt" + icon_state = "internf_s" + item_color = "internf" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS + +/obj/item/clothing/under/rank/medical/intern/assistant + name = "medical assistant jumpsuit" + icon_state = "med_ass_s" + item_color = "med_ass" + +/obj/item/clothing/under/rank/medical/intern/assistant/skirt + name = "medical assistant jumpskirt" + icon_state = "med_ass_f_s" + item_color = "med_ass_f" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS + +/obj/item/clothing/under/rank/medical/scrubs/lightgreen + name = "light green medical scrubs" + desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in light green." + icon = 'modular_ss220/jobs/icons/clothing/uniforms.dmi' + icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' + icon_state = "scrubsgreen" + item_color = "scrubsgreen" diff --git a/modular_ss220/jobs/code/job/medical_jobs.dm b/modular_ss220/jobs/code/job/medical_jobs.dm new file mode 100644 index 000000000000..99e14716a5c6 --- /dev/null +++ b/modular_ss220/jobs/code/job/medical_jobs.dm @@ -0,0 +1,51 @@ +/datum/job/doctor/New() + . = ..() + alt_titles |= list("Intern", "Medical Assistant", "Student Medical Doctor") + +/datum/station_department/medical/New() + . = ..() + department_roles |= list("Intern", "Medical Assistant", "Student Medical Doctor") + +/datum/nttc_configuration/New() + . = ..() + all_jobs |= list( + "Intern" = "medradio", + "Medical Assistant" = "medradio", + "Student Medical Doctor" = "medradio", + ) + +/datum/outfit/job/doctor/pre_equip(mob/living/carbon/human/H, visualsOnly) + . = ..() + if(H.mind && H.mind.role_alt_title) + var/is_novice = FALSE + + switch(H.mind.role_alt_title) + if("Intern") + is_novice = TRUE + uniform = /obj/item/clothing/under/rank/medical/intern + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/medical/intern/skirt + if("Student Medical Doctor") + is_novice = TRUE + //head = /obj/item/clothing/head/surgery/lightgreen + //uniform = /obj/item/clothing/under/rank/medical/lightgreen + if("Medical Assistant") + is_novice = TRUE + uniform = /obj/item/clothing/under/rank/medical/intern/assistant + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/medical/intern/assistant/skirt + + if(is_novice) + id = /obj/item/card/id/medical/intern + //l_pocket = /obj/item/paper/deltainfo + l_hand = /obj/item/storage/firstaid/o2 + mask = /obj/item/clothing/mask/surgical + gloves = /obj/item/clothing/gloves/color/latex + glasses = /obj/item/clothing/glasses/hud/security/sunglasses // !!!! ДЛЯ ТЕСТА + + + // "student scientist" = "Учёный-практикант", + // "Scientist Assistant" = "Научный Ассистент", + // "Scientist Pregraduate" = "Учёный-бакалавр", + // "Scientist Graduate" = "Научный выпускник", + // "Scientist Postgraduate" = "Учёный-аспирант", diff --git a/modular_ss220/jobs/icons/card.dmi b/modular_ss220/jobs/icons/card.dmi new file mode 100644 index 0000000000000000000000000000000000000000..ac6614d2ce033da29f82e0a64bb7e96a23e46db4 GIT binary patch literal 5448 zcmZ`-c{J4D`+tuml{JL243Rw($v%rpXtD2PNhI6YL(Gf{*_T4L23bo+_I=F~kv_;W z_BF;}tb<{``kwRseShb7&hL+V?|JTWp7T8S^}5gV+z34#P3H5L&jSF!tgUs&;B>_N zZD-G%_U$mc-qWEk(8$c^j)S+o*E0{FXGnJd@Xv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gf<59^ILWF%8QvJp>pH<1Q_yeD3a$>G#x}ju-IeUk5p;Z1-;(7D?q)+O zrS*B=uBAP~#s3D`@sl~jK(YjOPMSzq@N%;wubspgEBkKg4HyL19g0q%smBK5yQJai zTRpp~rDL|UgVVH|3x*Lf8&h|a3Yv?8Fl8~mS}l293!k!WRE}9N#=L0Twl@Mo+xi#l zHEz|h3|Ix%VP}nxc(F_Z%WQt82FyX{z=>W|JxcAHv zxHjKgaSsgb#&*FMx1C0Rfh6|8|B-CNht4>yC&Qg!U^GQ8dD|v4@5n=`^qB+{iHbiboF>5hYEknRj787F z!Z}^ZGbgvtXdj$(JDZ2*wL)W~wrApcW65IVg49ZH3`Xt2n#ys^Uw^jKk{YLeo;q~d zGQa86#*w`SP7I5uB0KLkuZm)c>s#mP&hdQ}-Zm=9KHw3ZEZteRNA)S|?N|)1-|PFs zlwakCZi$^DATI+l-dgPToaU`M?X2F#xu(#0|7Go3aRV2B*-qxB9h1L?Z+>k*?w1Yt z_0D8uxi{5I*&5eyCV}Uul49;X(-qu2fZGsh_MVW<$$dyM{w$YzU444; zBCD-Od=dL|s&{_SWUF0bG9v4gXdTxDceGCI?Y_iuw_^qh6Y}g9qwElWwy6iWcrv#! ziy-H{;JR*lfouMJ*Gph5hYBny-I6m8Y-|3_=ZgcNoxqSwyDMDqGUvT=jK{y%KXt^tLKAmM2}_!X q5-k>B!M4Z>TC-50|NhFIfNvQ6c1TV0Xgd8G1++DE?v&iJefclzc)4f* literal 0 HcmV?d00001 diff --git a/modular_ss220/jobs/icons/clothing/mob/uniform.dmi b/modular_ss220/jobs/icons/clothing/mob/uniform.dmi new file mode 100644 index 0000000000000000000000000000000000000000..c14f29cbca8379b082fcb228d2926fba502e3413 GIT binary patch literal 6808 zcmZ{I2UL^G6Ym!Sgx;k?=*2=u;EE&&DkumFiXsBid+1UE3B7kkKp`N~M5+`80hNv* zRf?2cdhZAcCEttpzW4s`|K53X&Yn5@?auD(%znR_ofyMAHyP=8=>Py=)YZ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BJx{Z!suI)C)4$-`E)=wZP3C)~z z6>6sTM(zHNZ(DrTwXz^M-W2rmY%;I_%F|eX)I-^|>xyswt|lb63Fy+jhBj1fVWD^V&-v88=Gd1IOfo5MZw_YjKHV5cJ~MjYc9pP0z2 zauHPg6K3G%2{LdK~dHbh~XG80j=f(T$EgK?! z;Qv)cQfryW$ICLD5dDNCVU;}Dxpnc;tF24AkB-u73T>wxd2*HN>htL2GE!@GE5vM9 z&rK3w6shWCo%#nlz!RP^jv&%d;H^=#SlO)ewsFY(?k0riv$lv?ARC75ldi3{-{RNn1eaLK|%~CW6rOTS<3&- z{y$-LnJ8*@%CwAe>6HE7GwgZy3>tE1d-hd)H(jeQPd`qr-nz7k6dD$X!zU*VskpCp z|N0C*x|eRQYyJ7=Um8oOx^B9zFD rPEHmZv6R#Zf5%Hn|4ZjmN$_(?I#6RN{akVp9?-phN4xx*W$6C^G01&z literal 0 HcmV?d00001 diff --git a/modular_ss220/jobs/icons/clothing/uniforms.dmi b/modular_ss220/jobs/icons/clothing/uniforms.dmi new file mode 100644 index 0000000000000000000000000000000000000000..cab653e13b24f5ec3a15dc5f2052a47819516327 GIT binary patch literal 2408 zcmX|Cc|6p67yb^?&l0jFS<+NWOmoYAHH#?9*r`MYnQS%4wdKxCL}4atA~HnCQdy## zFd}8onk?Cy;$~z-YRvD>ec#XfKA+Ed&NU^rR<5=c)^_tKSl zYpRNP89@ag&;V7Wrmn*923g>@R5F*#O~C`ibPA#~ro3Eaa&mG602qc5Z?B`#Xcz`r zSy?a(j#5C~ANGjfcpUC13&@53xIPFSQwkJk4); zYz|sWr&)R68p$#<%z`u79^eq~XA>XiU)WhU(_EU67@5~z1c*c;jYjkH^D8bc7F_=2 z%a;`u6%-1^)6;WkXh@*Q21Pdt972THTRQ;UrxB8%>56nb8)D{t)hpOHFvOR91%U7z z#z2F33|fZu?SqN=yM|T&ulDIPw(j`;xxpBH)1~s&uZNU>A0Atp+Pa~cY~`MK{@fSd zg;E2NS05J>F`PB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Tq64s*#%ieY(g)_Saib}ZV-tbVp; z%Zbq6Ir9x#c~(~z+pQ^_qy}D3nofX%yjuG{4az=L`o$21(RMg4i`lMl^&LK1YFSJ; z$`$qX%v=ZM5glcEeq&OGdpv0zUwJ?wajVhz;dEvOc)C(!bv7n+rAgz{O|@RByq4yp zsqUydrNPe}wdA7yvvTw=m&<2HD~2po=lmYpKXxoV(p;AfpX+vyk0Y7p3B+%Yu(kj6_z-8_(H}Zs#C{dca{7`29I2_k(HC)%ZB5Q?+K9g zpi-N}w?^)&NrSf;U_(YmlJ_=fAk@@5tD>T;L`=whgK?fDcVXGK!Y2Om<(=XoBNkL zwidD9{0{{kFNXPx@^u!$Clpvt*L0H?42>}po@eDahFvRRL-u(a2!&$Sb&cP;dwMd8|Ts?Qy z7_Jumw-N~vXnX%l0xfl5gLy}#7cQR*=U>|QhKu#b-Q+e&NQd{QATbI848;yM86NrA UTH+ugBY4Tc(%jnYu_-b7AO75X3IG5A literal 0 HcmV?d00001 diff --git a/modular_ss220/jobs/icons/hud.dmi b/modular_ss220/jobs/icons/hud.dmi new file mode 100644 index 0000000000000000000000000000000000000000..cc08b6d4a546230bdd1922696fbd6f535880feea GIT binary patch literal 492 zcmVktbLNCepk?)s4YIAH)U2mFmrymd*M=}SqU#+#8(M!l?x78{D4nY>fVg<6SLh>xh z0|`6K6_fQEC zM!NEptp69TP1`r0hrR#>(`hSA)F-Y(KJ*oN7aB5IO{oSnCz+?E6(jSf@7`UBs-e6b)dsZsV0L*qstqIu i>nIonqhJ&aG5`Qn2}bSyKF!Mj0000< literal 0 HcmV?d00001 diff --git a/modular_ss220/jobs/icons/uniforms.dmi b/modular_ss220/jobs/icons/uniforms.dmi new file mode 100644 index 0000000000000000000000000000000000000000..cab653e13b24f5ec3a15dc5f2052a47819516327 GIT binary patch literal 2408 zcmX|Cc|6p67yb^?&l0jFS<+NWOmoYAHH#?9*r`MYnQS%4wdKxCL}4atA~HnCQdy## zFd}8onk?Cy;$~z-YRvD>ec#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=B0=D0=B4=D1=8B=D0=B2=D0=B0=D0=B5?= =?UTF-8?q?=D1=82=D1=81=D1=8F=20=D0=BF=D0=BE=D0=B2=D0=B5=D1=80=D1=85=20?= =?UTF-8?q?=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20=D1=85=D0=B0=D1=80=D0=B4=D0=BA?= =?UTF-8?q?=D0=BE=D0=B4,=20=D0=BD=D0=BE=20=D0=BD=D0=B5=20=D0=B1=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D1=82=D1=81=D1=8F=20=D0=B8=D0=B7=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=BF.=20.dmi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/jobs/_jobs.dme | 13 +- modular_ss220/jobs/code/cards_ids.dm | 128 +++++++++++++++--- .../jobs/code/clothing/medical_clothing.dm | 10 +- modular_ss220/jobs/code/job/medical_jobs.dm | 46 ++++--- modular_ss220/jobs/icons/clothing/hats.dmi | Bin 0 -> 300 bytes .../jobs/icons/clothing/mob/head.dmi | Bin 0 -> 380 bytes modular_ss220/jobs/icons/hud.dmi | Bin 492 -> 745 bytes 7 files changed, 145 insertions(+), 52 deletions(-) create mode 100644 modular_ss220/jobs/icons/clothing/hats.dmi create mode 100644 modular_ss220/jobs/icons/clothing/mob/head.dmi diff --git a/modular_ss220/jobs/_jobs.dme b/modular_ss220/jobs/_jobs.dme index f91d559c7a18..d67e17013d32 100644 --- a/modular_ss220/jobs/_jobs.dme +++ b/modular_ss220/jobs/_jobs.dme @@ -1,15 +1,6 @@ #include "_jobs.dm" -#include "code/clothing/medical_clothing.dm" -#include "code/job/medical_jobs.dm" #include "code/access.dm" #include "code/cards_ids.dm" -// BEGIN_INTERNALS -// END_INTERNALS -// BEGIN_FILE_DIR -#define FILE_DIR . -// END_FILE_DIR -// BEGIN_PREFERENCES -// END_PREFERENCES -// BEGIN_INCLUDE -// END_INCLUDE +#include "code/clothing/medical_clothing.dm" +#include "code/job/medical_jobs.dm" diff --git a/modular_ss220/jobs/code/cards_ids.dm b/modular_ss220/jobs/code/cards_ids.dm index 3db2f8573a33..491b7205fdc6 100644 --- a/modular_ss220/jobs/code/cards_ids.dm +++ b/modular_ss220/jobs/code/cards_ids.dm @@ -1,23 +1,111 @@ -/proc/get_novice_card_skins() - return list("cadet", "intern", "student", "trainee") - -get_station_card_skins() - var/test = "Test1: \n" - for(var/i in ..()) - test += ", [i]" - message_admins(test) - - test = "Test2: \n" - for(var/i in get_novice_card_skins()) - test += ", [i]" - message_admins(test) - - test = "Test3: \n" - for(var/i in ..() + get_novice_card_skins()) - test += ", [i]" - message_admins(test) - - return ..() + get_novice_card_skins() +// !!!!!!!! сделать автоустановку роли новичкам при загрузке + +// /proc/get_novice_card_skins() +// return list("cadet", "intern", "student", "trainee") + +// get_station_card_skins() +// var/test = "Test1: \n" +// for(var/i in ..()) +// test += ", [i]" +// message_admins(test) + +// test = "Test2: \n" +// for(var/i in get_novice_card_skins()) +// test += ", [i]" +// message_admins(test) + +// test = "Test3: \n" +// for(var/i in ..() + get_novice_card_skins()) +// test += ", [i]" +// message_admins(test) + +// return ..() + get_novice_card_skins() + +/proc/get_all_medical_novice_tittles() + return list("Intern", "Medical Assistant", "Student Medical Doctor") + +/proc/get_all_security_novice_tittles() + return list("Cadet") + +/proc/get_all_engineering_novice_tittles() + return list("Trainee") + +/proc/get_all_science_novice_tittles() + return list("Student") + +/proc/get_all_novice_tittles() + return get_all_medical_novice_tittles() + get_all_security_novice_tittles() + get_all_engineering_novice_tittles() + get_all_science_novice_tittles() + +// /proc/get_modular_ss220_hud_image(mob/living/carbon/human/H) +// var/image/I +// if(!H.wear_id) +// return +// if(H.wear_id.assignment == "Intern" || H.wear_id.get_ID_assignment() in get_all_novice_tittles()) +// I = image('modular_ss220/jobs/icons/hud.dmi', src, "") +// I.appearance_flags = RESET_COLOR | RESET_TRANSFORM + +// return I + + + + //var/image/holder = I + + +// /atom/prepare_huds() +// . = ..() +// var/hud = ID_HUD +// if(hud in hud_possible) // копипаст наследуемого метода +// var/hint = hud_possible[hud] +// switch(hint) +// if(HUD_LIST_LIST) +// hud_list[hud] = list() +// else +// var/image/I = image('modular_ss220/jobs/icons/hud.dmi', src, "") +// I.appearance_flags = RESET_COLOR | RESET_TRANSFORM +// hud_list[ID_HUD] = I //непральна + + +// /mob/living/carbon/human/sec_hud_set_ID() +// if(!wear_id) +// return ..() + +// if() + +// //.dmi с худама +// var/image/I = image('modular_ss220/jobs/icons/hud.dmi', src, "") +// I.appearance_flags = RESET_COLOR | RESET_TRANSFORM + +// //Устанавливаем ХУДы с .dmi +// var/image/holder = I +// holder.icon_state = "hudunknown" +// holder.icon_state = "hud[ckey(wear_id.get_job_name())]" +// sec_hud_set_security_status() + + + + +/proc/get_all_novice_huds() + return list("intern", "cadet", "trainee", "student") + +/obj/item/get_job_name() //Used in secHUD icon generation + var/assignmentName = get_ID_assignment(if_no_id = "Unknown") + var/rankName = get_ID_rank(if_no_id = "Unknown") + + var/novmed = get_all_medical_novice_tittles() + var/novsec = get_all_security_novice_tittles() + var/noveng = get_all_engineering_novice_tittles() + var/novrnd = get_all_science_novice_tittles() + + if((assignmentName in novmed) || (rankName in novmed)) + return "intern" + if((assignmentName in novsec) || (rankName in novsec)) + return "cadet" + if((assignmentName in noveng) || (rankName in noveng)) + return "trainee" + if((assignmentName in novrnd) || (rankName in novrnd)) + return "student" + + . = ..() // /atom/prepare_huds() // . = ..() diff --git a/modular_ss220/jobs/code/clothing/medical_clothing.dm b/modular_ss220/jobs/code/clothing/medical_clothing.dm index bb7dd7e9a457..e66454790af2 100644 --- a/modular_ss220/jobs/code/clothing/medical_clothing.dm +++ b/modular_ss220/jobs/code/clothing/medical_clothing.dm @@ -29,10 +29,18 @@ item_color = "med_ass_f" body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS -/obj/item/clothing/under/rank/medical/scrubs/lightgreen +/obj/item/clothing/under/rank/medical/scrubs/green/light name = "light green medical scrubs" desc = "It's made of a special fiber that provides minor protection against biohazards. This one is in light green." icon = 'modular_ss220/jobs/icons/clothing/uniforms.dmi' icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' icon_state = "scrubsgreen" item_color = "scrubsgreen" + +/obj/item/clothing/head/surgery/green/light + name = "light green surgical cap" + desc = "A cap surgeons wear during operations. Keeps their hair from tickling your internal organs. This one is light green." + icon = 'modular_ss220/jobs/icons/clothing/hats.dmi' + icon_override = 'modular_ss220/jobs/icons/clothing/mob/head.dmi' + icon_state = "surgcap_green" + item_color = "surgcap_green" diff --git a/modular_ss220/jobs/code/job/medical_jobs.dm b/modular_ss220/jobs/code/job/medical_jobs.dm index 99e14716a5c6..c5321f411ca5 100644 --- a/modular_ss220/jobs/code/job/medical_jobs.dm +++ b/modular_ss220/jobs/code/job/medical_jobs.dm @@ -1,47 +1,53 @@ /datum/job/doctor/New() . = ..() - alt_titles |= list("Intern", "Medical Assistant", "Student Medical Doctor") + alt_titles |= get_all_medical_novice_tittles() /datum/station_department/medical/New() . = ..() - department_roles |= list("Intern", "Medical Assistant", "Student Medical Doctor") + department_roles |= get_all_medical_novice_tittles() /datum/nttc_configuration/New() . = ..() - all_jobs |= list( - "Intern" = "medradio", - "Medical Assistant" = "medradio", - "Student Medical Doctor" = "medradio", - ) + var/list/job_radio_dict = list() + + for(var/i in get_all_medical_novice_tittles()) + job_radio_dict.Add(list("[i]" = "medradio")) + for(var/i in get_all_security_novice_tittles()) + job_radio_dict.Add(list("[i]" = "secradio")) + for(var/i in get_all_engineering_novice_tittles()) + job_radio_dict.Add(list("[i]" = "engradio")) + for(var/i in get_all_science_novice_tittles()) + job_radio_dict.Add(list("[i]" = "scirradio")) + + all_jobs |= job_radio_dict /datum/outfit/job/doctor/pre_equip(mob/living/carbon/human/H, visualsOnly) . = ..() if(H.mind && H.mind.role_alt_title) - var/is_novice = FALSE + if(H.mind.role_alt_title in get_all_medical_novice_tittles()) + uniform = /obj/item/clothing/under/rank/medical/intern + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/medical/intern/skirt + id = /obj/item/card/id/medical/intern + //l_pocket = /obj/item/paper/deltainfo + l_hand = /obj/item/storage/firstaid/o2 + mask = /obj/item/clothing/mask/surgical + gloves = /obj/item/clothing/gloves/color/latex + glasses = /obj/item/clothing/glasses/hud/security/sunglasses // !!!! ДЛЯ ТЕСТА switch(H.mind.role_alt_title) if("Intern") - is_novice = TRUE uniform = /obj/item/clothing/under/rank/medical/intern if(H.gender == FEMALE) uniform = /obj/item/clothing/under/rank/medical/intern/skirt if("Student Medical Doctor") - is_novice = TRUE - //head = /obj/item/clothing/head/surgery/lightgreen - //uniform = /obj/item/clothing/under/rank/medical/lightgreen + head = /obj/item/clothing/head/surgery/green/light + uniform = /obj/item/clothing/under/rank/medical/scrubs/green/light if("Medical Assistant") - is_novice = TRUE uniform = /obj/item/clothing/under/rank/medical/intern/assistant if(H.gender == FEMALE) uniform = /obj/item/clothing/under/rank/medical/intern/assistant/skirt - if(is_novice) - id = /obj/item/card/id/medical/intern - //l_pocket = /obj/item/paper/deltainfo - l_hand = /obj/item/storage/firstaid/o2 - mask = /obj/item/clothing/mask/surgical - gloves = /obj/item/clothing/gloves/color/latex - glasses = /obj/item/clothing/glasses/hud/security/sunglasses // !!!! ДЛЯ ТЕСТА // "student scientist" = "Учёный-практикант", diff --git a/modular_ss220/jobs/icons/clothing/hats.dmi b/modular_ss220/jobs/icons/clothing/hats.dmi new file mode 100644 index 0000000000000000000000000000000000000000..eb19b69c9388068402b3f9da4597313c8167d603 GIT binary patch literal 300 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@o&cW^*8>L*F!n?-o@iv8nJi^) zDi0KAED7=pW^j0RBMrzYtO|)JaY-#sF3Kz@$;{7VV5pcA99B?N`u$6A!N;#pw7hk- z&Yd|Qydl)!qVa=AI_G^fPcjts^zN`Q4l=%M?4>a0(WE1jLKK2m?%1MXYq?RuZm))^ zsefm;vFhd(5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 Oct 2023 00:34:42 +1000 Subject: [PATCH 3/5] =?UTF-8?q?HUD,=20=D0=9A=D0=B0=D1=80=D1=82=D1=8B,=20?= =?UTF-8?q?=D0=B0=D0=BB=D1=8C=D1=82-=D1=80=D0=BE=D0=BB=D0=B8,=20=D0=BE?= =?UTF-8?q?=D0=B4=D0=B5=D0=B6=D0=B4=D0=B0,=20=D0=B4=D0=BE=D0=BB=D0=B6?= =?UTF-8?q?=D0=BD=D0=BE=D1=81=D1=82=D0=B8,=20=D0=B2=D0=BD=D0=B5=D1=81?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=20=D0=B3=D0=BB=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=BB=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/jobs/_jobs.dme | 7 ++ modular_ss220/jobs/code/cards_ids.dm | 92 +++--------------- .../code/clothing/engineering_clothing.dm | 26 +++++ .../jobs/code/clothing/medical_clothing.dm | 7 +- .../jobs/code/clothing/science_clothing.dm | 26 +++++ .../jobs/code/clothing/security_clothing.dm | 26 +++++ .../jobs/code/job/engineering_jobs.dm | 32 ++++++ modular_ss220/jobs/code/job/medical_jobs.dm | 31 +----- modular_ss220/jobs/code/job/science_jobs.dm | 22 +++++ modular_ss220/jobs/code/job/security_jobs.dm | 26 +++++ modular_ss220/jobs/code/jobs.dm | 14 +++ modular_ss220/jobs/icons/card.dmi | Bin 5448 -> 3846 bytes 12 files changed, 196 insertions(+), 113 deletions(-) create mode 100644 modular_ss220/jobs/code/clothing/engineering_clothing.dm create mode 100644 modular_ss220/jobs/code/clothing/science_clothing.dm create mode 100644 modular_ss220/jobs/code/clothing/security_clothing.dm create mode 100644 modular_ss220/jobs/code/job/engineering_jobs.dm create mode 100644 modular_ss220/jobs/code/job/science_jobs.dm create mode 100644 modular_ss220/jobs/code/job/security_jobs.dm create mode 100644 modular_ss220/jobs/code/jobs.dm diff --git a/modular_ss220/jobs/_jobs.dme b/modular_ss220/jobs/_jobs.dme index d67e17013d32..079b4f390d42 100644 --- a/modular_ss220/jobs/_jobs.dme +++ b/modular_ss220/jobs/_jobs.dme @@ -2,5 +2,12 @@ #include "code/access.dm" #include "code/cards_ids.dm" +#include "code/jobs.dm" +#include "code/clothing/engineering_clothing.dm" #include "code/clothing/medical_clothing.dm" +#include "code/clothing/science_clothing.dm" +#include "code/clothing/security_clothing.dm" +#include "code/job/engineering_jobs.dm" #include "code/job/medical_jobs.dm" +#include "code/job/science_jobs.dm" +#include "code/job/security_jobs.dm" diff --git a/modular_ss220/jobs/code/cards_ids.dm b/modular_ss220/jobs/code/cards_ids.dm index 491b7205fdc6..85e0fb68fc7b 100644 --- a/modular_ss220/jobs/code/cards_ids.dm +++ b/modular_ss220/jobs/code/cards_ids.dm @@ -1,91 +1,27 @@ -// !!!!!!!! сделать автоустановку роли новичкам при загрузке - -// /proc/get_novice_card_skins() -// return list("cadet", "intern", "student", "trainee") - -// get_station_card_skins() -// var/test = "Test1: \n" -// for(var/i in ..()) -// test += ", [i]" -// message_admins(test) - -// test = "Test2: \n" -// for(var/i in get_novice_card_skins()) -// test += ", [i]" -// message_admins(test) - -// test = "Test3: \n" -// for(var/i in ..() + get_novice_card_skins()) -// test += ", [i]" -// message_admins(test) - -// return ..() + get_novice_card_skins() +// Для отрисовки ХУД'ов. +GLOBAL_LIST_INIT(Jobs_SS220, list("intern", "cadet", "trainee", "student")) /proc/get_all_medical_novice_tittles() return list("Intern", "Medical Assistant", "Student Medical Doctor") /proc/get_all_security_novice_tittles() - return list("Cadet") + return list("Security Cadet", "Security Assistant", "Security Graduate") /proc/get_all_engineering_novice_tittles() - return list("Trainee") + return list("Trainee Engineer", "Engineer Assistant", "Technical Assistant", "Engineer Student", "Technical Student", "Technical Trainee") /proc/get_all_science_novice_tittles() - return list("Student") + return list("Student Scientist", "Scientist Assistant", "Scientist Pregraduate", "Scientist Graduate", "Scientist Postgraduate") /proc/get_all_novice_tittles() return get_all_medical_novice_tittles() + get_all_security_novice_tittles() + get_all_engineering_novice_tittles() + get_all_science_novice_tittles() -// /proc/get_modular_ss220_hud_image(mob/living/carbon/human/H) -// var/image/I -// if(!H.wear_id) -// return -// if(H.wear_id.assignment == "Intern" || H.wear_id.get_ID_assignment() in get_all_novice_tittles()) -// I = image('modular_ss220/jobs/icons/hud.dmi', src, "") -// I.appearance_flags = RESET_COLOR | RESET_TRANSFORM - -// return I - - - - //var/image/holder = I - - -// /atom/prepare_huds() -// . = ..() -// var/hud = ID_HUD -// if(hud in hud_possible) // копипаст наследуемого метода -// var/hint = hud_possible[hud] -// switch(hint) -// if(HUD_LIST_LIST) -// hud_list[hud] = list() -// else -// var/image/I = image('modular_ss220/jobs/icons/hud.dmi', src, "") -// I.appearance_flags = RESET_COLOR | RESET_TRANSFORM -// hud_list[ID_HUD] = I //непральна - - -// /mob/living/carbon/human/sec_hud_set_ID() -// if(!wear_id) -// return ..() - -// if() - -// //.dmi с худама -// var/image/I = image('modular_ss220/jobs/icons/hud.dmi', src, "") -// I.appearance_flags = RESET_COLOR | RESET_TRANSFORM - -// //Устанавливаем ХУДы с .dmi -// var/image/holder = I -// holder.icon_state = "hudunknown" -// holder.icon_state = "hud[ckey(wear_id.get_job_name())]" -// sec_hud_set_security_status() - - - - -/proc/get_all_novice_huds() - return list("intern", "cadet", "trainee", "student") +/mob/living/carbon/human/sec_hud_set_ID() + var/image/holder = hud_list[ID_HUD] + holder.icon = 'icons/mob/hud.dmi' + if(wear_id && wear_id.get_job_name() in GLOB.Jobs_SS220) + holder.icon = 'modular_ss220/jobs/icons/hud.dmi' + . = ..() /obj/item/get_job_name() //Used in secHUD icon generation var/assignmentName = get_ID_assignment(if_no_id = "Unknown") @@ -107,12 +43,6 @@ . = ..() -// /atom/prepare_huds() -// . = ..() -// var/image/img = image('modular_ss220/jobs/icons/hud.dmi', src, "") -// img.appearance_flags = RESET_COLOR | RESET_TRANSFORM -// hud_list[ID_HUD] += img - /obj/item/card/id/medical/intern name = "Intern ID" registered_name = "Intern" diff --git a/modular_ss220/jobs/code/clothing/engineering_clothing.dm b/modular_ss220/jobs/code/clothing/engineering_clothing.dm new file mode 100644 index 000000000000..7e7078bec5c8 --- /dev/null +++ b/modular_ss220/jobs/code/clothing/engineering_clothing.dm @@ -0,0 +1,26 @@ +/obj/item/clothing/under/rank/engineer/trainee + name = "engineer trainee jumpsuit" + icon = 'modular_ss220/jobs/icons/clothing/uniforms.dmi' + icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' + //lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi' + //righthand_file = 'icons/mob/inhands/clothing_righthand.dmi' + icon_state = "trainee_s" + item_color = "trainee" + sprite_sheets = null + +/obj/item/clothing/under/rank/engineer/trainee/skirt + name = "engineer trainee jumpskirt" + icon_state = "traineef_s" + item_color = "traineef" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS + +/obj/item/clothing/under/rank/engineer/trainee/assistant + name = "engineer assistant jumpsuit" + icon_state = "eng_ass_s" + item_color = "eng_ass" + +/obj/item/clothing/under/rank/engineer/trainee/assistant/skirt + name = "engineer assistant jumpskirt" + icon_state = "eng_ass_f_s" + item_color = "eng_ass_f" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS diff --git a/modular_ss220/jobs/code/clothing/medical_clothing.dm b/modular_ss220/jobs/code/clothing/medical_clothing.dm index e66454790af2..43e99519aacf 100644 --- a/modular_ss220/jobs/code/clothing/medical_clothing.dm +++ b/modular_ss220/jobs/code/clothing/medical_clothing.dm @@ -3,10 +3,7 @@ icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' //lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi' //righthand_file = 'icons/mob/inhands/clothing_righthand.dmi' - sprite_sheets = null //если не сработает icon_override, то использовать: (и снизу тоже у зеленки) - // sprite_sheets = list( - // "Human" = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi', - // ) + sprite_sheets = null name = "intern jumpsuit" icon_state = "intern_s" @@ -36,6 +33,7 @@ icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' icon_state = "scrubsgreen" item_color = "scrubsgreen" + sprite_sheets = null /obj/item/clothing/head/surgery/green/light name = "light green surgical cap" @@ -44,3 +42,4 @@ icon_override = 'modular_ss220/jobs/icons/clothing/mob/head.dmi' icon_state = "surgcap_green" item_color = "surgcap_green" + sprite_sheets = null diff --git a/modular_ss220/jobs/code/clothing/science_clothing.dm b/modular_ss220/jobs/code/clothing/science_clothing.dm new file mode 100644 index 000000000000..d885bff41bbf --- /dev/null +++ b/modular_ss220/jobs/code/clothing/science_clothing.dm @@ -0,0 +1,26 @@ +/obj/item/clothing/under/rank/scientist/student + name = "scientist student jumpsuit" + icon = 'modular_ss220/jobs/icons/clothing/uniforms.dmi' + icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' + //lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi' + //righthand_file = 'icons/mob/inhands/clothing_righthand.dmi' + icon_state = "student_s" + item_color = "student" + sprite_sheets = null + +/obj/item/clothing/under/rank/scientist/student/skirt + name = "scientist student jumpskirt" + icon_state = "studentf_s" + item_color = "studentf" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS + +/obj/item/clothing/under/rank/scientist/student/assistant + name = "scientist assistant jumpsuit" + icon_state = "sci_ass_s" + item_color = "sci_ass" + +/obj/item/clothing/under/rank/scientist/student/assistant/skirt + name = "scientist assistant jumpskirt" + icon_state = "sci_ass_f_s" + item_color = "sci_ass_f" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS diff --git a/modular_ss220/jobs/code/clothing/security_clothing.dm b/modular_ss220/jobs/code/clothing/security_clothing.dm new file mode 100644 index 000000000000..681b4581b9ef --- /dev/null +++ b/modular_ss220/jobs/code/clothing/security_clothing.dm @@ -0,0 +1,26 @@ +/obj/item/clothing/under/rank/security/cadet + name = "security cadet jumpsuit" + icon = 'modular_ss220/jobs/icons/clothing/uniforms.dmi' + icon_override = 'modular_ss220/jobs/icons/clothing/mob/uniform.dmi' + //lefthand_file = 'icons/mob/inhands/clothing_lefthand.dmi' + //righthand_file = 'icons/mob/inhands/clothing_righthand.dmi' + icon_state = "cadet_s" + item_color = "cadet" + sprite_sheets = null + +/obj/item/clothing/under/rank/security/cadet/skirt + name = "security cadet jumpskirt" + icon_state = "cadetf_s" + item_color = "cadetf" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS + +/obj/item/clothing/under/rank/security/cadet/assistant + name = "security assistant jumpsuit" + icon_state = "sec_ass_s" + item_color = "sec_ass" + +/obj/item/clothing/under/rank/security/cadet/assistant/skirt + name = "security assistant jumpskirt" + icon_state = "sec_ass_f_s" + item_color = "sec_ass_f" + body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS diff --git a/modular_ss220/jobs/code/job/engineering_jobs.dm b/modular_ss220/jobs/code/job/engineering_jobs.dm new file mode 100644 index 000000000000..b50807bc4cb8 --- /dev/null +++ b/modular_ss220/jobs/code/job/engineering_jobs.dm @@ -0,0 +1,32 @@ +/datum/job/engineer/New() + . = ..() + alt_titles |= get_all_engineering_novice_tittles() + +/datum/station_department/engineering/New() + . = ..() + department_roles |= get_all_engineering_novice_tittles() + +/datum/outfit/job/engineer/pre_equip(mob/living/carbon/human/H, visualsOnly) + . = ..() + if(H.mind && H.mind.role_alt_title) + if(H.mind.role_alt_title in get_all_engineering_novice_tittles()) + uniform = /obj/item/clothing/under/rank/engineer/trainee + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/engineer/trainee/skirt + id = /obj/item/card/id/engineering/trainee + gloves = /obj/item/clothing/gloves/color/orange + + switch(H.mind.role_alt_title) + if("Engineer Assistant") + uniform = /obj/item/clothing/under/rank/engineer/trainee/assistant + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/engineer/trainee/assistant/skirt + if("Technical Assistant") + uniform = /obj/item/clothing/under/rank/engineer/trainee/assistant + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/engineer/trainee/assistant/skirt + head = /obj/item/clothing/head/soft/orange + if("Technical Student", "Technical Trainee") + head = /obj/item/clothing/head/soft/orange + if("Engineer Student") + head = /obj/item/clothing/head/beret/eng diff --git a/modular_ss220/jobs/code/job/medical_jobs.dm b/modular_ss220/jobs/code/job/medical_jobs.dm index c5321f411ca5..8d098a8b4cbc 100644 --- a/modular_ss220/jobs/code/job/medical_jobs.dm +++ b/modular_ss220/jobs/code/job/medical_jobs.dm @@ -6,21 +6,6 @@ . = ..() department_roles |= get_all_medical_novice_tittles() -/datum/nttc_configuration/New() - . = ..() - var/list/job_radio_dict = list() - - for(var/i in get_all_medical_novice_tittles()) - job_radio_dict.Add(list("[i]" = "medradio")) - for(var/i in get_all_security_novice_tittles()) - job_radio_dict.Add(list("[i]" = "secradio")) - for(var/i in get_all_engineering_novice_tittles()) - job_radio_dict.Add(list("[i]" = "engradio")) - for(var/i in get_all_science_novice_tittles()) - job_radio_dict.Add(list("[i]" = "scirradio")) - - all_jobs |= job_radio_dict - /datum/outfit/job/doctor/pre_equip(mob/living/carbon/human/H, visualsOnly) . = ..() if(H.mind && H.mind.role_alt_title) @@ -29,29 +14,19 @@ if(H.gender == FEMALE) uniform = /obj/item/clothing/under/rank/medical/intern/skirt id = /obj/item/card/id/medical/intern - //l_pocket = /obj/item/paper/deltainfo l_hand = /obj/item/storage/firstaid/o2 mask = /obj/item/clothing/mask/surgical gloves = /obj/item/clothing/gloves/color/latex - glasses = /obj/item/clothing/glasses/hud/security/sunglasses // !!!! ДЛЯ ТЕСТА switch(H.mind.role_alt_title) if("Intern") uniform = /obj/item/clothing/under/rank/medical/intern if(H.gender == FEMALE) uniform = /obj/item/clothing/under/rank/medical/intern/skirt - if("Student Medical Doctor") - head = /obj/item/clothing/head/surgery/green/light - uniform = /obj/item/clothing/under/rank/medical/scrubs/green/light if("Medical Assistant") uniform = /obj/item/clothing/under/rank/medical/intern/assistant if(H.gender == FEMALE) uniform = /obj/item/clothing/under/rank/medical/intern/assistant/skirt - - - - // "student scientist" = "Учёный-практикант", - // "Scientist Assistant" = "Научный Ассистент", - // "Scientist Pregraduate" = "Учёный-бакалавр", - // "Scientist Graduate" = "Научный выпускник", - // "Scientist Postgraduate" = "Учёный-аспирант", + if("Student Medical Doctor") + head = /obj/item/clothing/head/surgery/green/light + uniform = /obj/item/clothing/under/rank/medical/scrubs/green/light diff --git a/modular_ss220/jobs/code/job/science_jobs.dm b/modular_ss220/jobs/code/job/science_jobs.dm new file mode 100644 index 000000000000..2b51cb306222 --- /dev/null +++ b/modular_ss220/jobs/code/job/science_jobs.dm @@ -0,0 +1,22 @@ +/datum/job/scientist/New() + . = ..() + alt_titles |= get_all_science_novice_tittles() + +/datum/station_department/science/New() + . = ..() + department_roles |= get_all_science_novice_tittles() + +/datum/outfit/job/scientist/pre_equip(mob/living/carbon/human/H, visualsOnly) + . = ..() + if(H.mind && H.mind.role_alt_title) + if(H.mind.role_alt_title in get_all_science_novice_tittles()) + uniform = /obj/item/clothing/under/rank/scientist/student + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/scientist/student/skirt + id = /obj/item/card/id/research/student + + switch(H.mind.role_alt_title) + if("Scientist Assistant") + uniform = /obj/item/clothing/under/rank/scientist/student/assistant + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/scientist/student/assistant/skirt diff --git a/modular_ss220/jobs/code/job/security_jobs.dm b/modular_ss220/jobs/code/job/security_jobs.dm new file mode 100644 index 000000000000..ca6d70161673 --- /dev/null +++ b/modular_ss220/jobs/code/job/security_jobs.dm @@ -0,0 +1,26 @@ +/datum/job/officer/New() + . = ..() + alt_titles = get_all_security_novice_tittles() // =, а не |=, т.к. отсутствуют альт. названия + +/datum/station_department/security/New() + . = ..() + department_roles |= get_all_security_novice_tittles() + +/datum/outfit/job/officer/pre_equip(mob/living/carbon/human/H, visualsOnly) + . = ..() + if(H.mind && H.mind.role_alt_title) + if(H.mind.role_alt_title in get_all_security_novice_tittles()) + uniform = /obj/item/clothing/under/rank/security/cadet + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/security/cadet/skirt + head = /obj/item/clothing/head/soft/sec + id = /obj/item/card/id/security/cadet + l_pocket = /obj/item/reagent_containers/spray/pepper + //box = /obj/item/storage/box/survival_security/cadet + switch(H.mind.role_alt_title) + if("Security Assistant") + uniform = /obj/item/clothing/under/rank/security/cadet/assistant + if(H.gender == FEMALE) + uniform = /obj/item/clothing/under/rank/security/cadet/assistant/skirt + if("Security Graduate") + head = /obj/item/clothing/head/beret/sec diff --git a/modular_ss220/jobs/code/jobs.dm b/modular_ss220/jobs/code/jobs.dm new file mode 100644 index 000000000000..7c0ef38ead8f --- /dev/null +++ b/modular_ss220/jobs/code/jobs.dm @@ -0,0 +1,14 @@ +/datum/nttc_configuration/New() + . = ..() + var/list/job_radio_dict = list() + + for(var/i in get_all_medical_novice_tittles()) + job_radio_dict.Add(list("[i]" = "medradio")) + for(var/i in get_all_security_novice_tittles()) + job_radio_dict.Add(list("[i]" = "secradio")) + for(var/i in get_all_engineering_novice_tittles()) + job_radio_dict.Add(list("[i]" = "engradio")) + for(var/i in get_all_science_novice_tittles()) + job_radio_dict.Add(list("[i]" = "scirradio")) + + all_jobs |= job_radio_dict diff --git a/modular_ss220/jobs/icons/card.dmi b/modular_ss220/jobs/icons/card.dmi index ac6614d2ce033da29f82e0a64bb7e96a23e46db4..590f670636481d30f429873fc370398891b9fba8 100644 GIT binary patch literal 3846 zcma)9c{J4R+yBZ~9#f{C64{0*TSyXR8L}oJ$r__j_K_tM!wf>QWe;U6Whs)KXbiGF z^VqVLFbvb!$B<@*Y38T*ynnp!Iqx6uAD{a==W}1zxv%S7_kDfNooH=odPG1}004j^ z*UXG;4lL#XZv4Cl>qL0?wF6TZZtD*%kzXXLIDlFu15+H1)g*)(k!I1C$!o5bFu`!E}qR36PM@#e+lrgZ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*B=uBAP~#s3D`@sl~jK(YjOPMSzq@N%;wubspgEBkKg4HyL19g0q%smBK5yQJai zTRpp~rDL|UgVVH|3x*Lf8&h|a3Yv?8Fl8~mS}l293!k!WRE}9N#=L0Twl@Mo+xi#l zHEz|h3|Ix%VP}nxc(F_Z%WQt82FyX{z=>W|JxcAHv zxHjKgaSsgb#&*FMx1C0Rfh6|8|B-CNht4>yC&Qg!U^GQ8dD|v4@5n=`^qB+{iHbiboF>5hYEknRj787F z!Z}^ZGbgvtXdj$(JDZ2*wL)W~wrApcW65IVg49ZH3`Xt2n#ys^Uw^jKk{YLeo;q~d zGQa86#*w`SP7I5uB0KLkuZm)c>s#mP&hdQ}-Zm=9KHw3ZEZteRNA)S|?N|)1-|PFs zlwakCZi$^DATI+l-dgPToaU`M?X2F#xu(#0|7Go3aRV2B*-qxB9h1L?Z+>k*?w1Yt z_0D8uxi{5I*&5eyCV}Uul49;X(-qu2fZGsh_MVW<$$dyM{w$YzU444; zBCD-Od=dL|s&{_SWUF0bG9v4gXdTxDceGCI?Y_iuw_^qh6Y}g9qwElWwy6iWcrv#! ziy-H{;JR*lfouMJ*Gph5hYBny-I6m8Y-|3_=ZgcNoxqSwyDMDqGUvT=jK{y%KXt^tLKAmM2}_!X q5-k>B!M4Z>TC-50|NhFIfNvQ6c1TV0Xgd8G1++DE?v&iJefclzc)4f* From d668d4a05bc89be2e2cf68952eb62ebbf950fd8c Mon Sep 17 00:00:00 2001 From: PhantornRU Date: Sun, 8 Oct 2023 00:51:18 +1000 Subject: [PATCH 4/5] =?UTF-8?q?=D0=9E=D1=87=D0=B8=D1=81=D1=82=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/jobs/code/cards_ids.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_ss220/jobs/code/cards_ids.dm b/modular_ss220/jobs/code/cards_ids.dm index 85e0fb68fc7b..ee9a7a72f773 100644 --- a/modular_ss220/jobs/code/cards_ids.dm +++ b/modular_ss220/jobs/code/cards_ids.dm @@ -19,7 +19,7 @@ GLOBAL_LIST_INIT(Jobs_SS220, list("intern", "cadet", "trainee", "student")) /mob/living/carbon/human/sec_hud_set_ID() var/image/holder = hud_list[ID_HUD] holder.icon = 'icons/mob/hud.dmi' - if(wear_id && wear_id.get_job_name() in GLOB.Jobs_SS220) + if(wear_id && (wear_id.get_job_name() in GLOB.Jobs_SS220)) holder.icon = 'modular_ss220/jobs/icons/hud.dmi' . = ..() From 9b0209a42140d907522372e5fbaca8b147c04e93 Mon Sep 17 00:00:00 2001 From: PhantornRU Date: Sun, 8 Oct 2023 01:00:51 +1000 Subject: [PATCH 5/5] =?UTF-8?q?=D0=A1=D1=81=D1=8B=D0=BB=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=83=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D0=B5=20=D0=BA=D0=B0=D1=80=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modular_ss220/jobs/code/cards_ids.dm | 8 ++++---- modular_ss220/jobs/icons/card.dmi | Bin 3846 -> 0 bytes 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 modular_ss220/jobs/icons/card.dmi diff --git a/modular_ss220/jobs/code/cards_ids.dm b/modular_ss220/jobs/code/cards_ids.dm index ee9a7a72f773..dbb8ac982d67 100644 --- a/modular_ss220/jobs/code/cards_ids.dm +++ b/modular_ss220/jobs/code/cards_ids.dm @@ -46,7 +46,7 @@ GLOBAL_LIST_INIT(Jobs_SS220, list("intern", "cadet", "trainee", "student")) /obj/item/card/id/medical/intern name = "Intern ID" registered_name = "Intern" - icon = 'modular_ss220/jobs/icons/card.dmi' + icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' icon_state = "intern" item_state = "intern-id" rank = "Intern" @@ -54,20 +54,20 @@ GLOBAL_LIST_INIT(Jobs_SS220, list("intern", "cadet", "trainee", "student")) /obj/item/card/id/research/student name = "Student ID" registered_name = "Student" - icon = 'modular_ss220/jobs/icons/card.dmi' + icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' icon_state = "student" item_state = "student-id" /obj/item/card/id/engineering/trainee name = "Trainee ID" registered_name = "Trainee" - icon = 'modular_ss220/jobs/icons/card.dmi' + icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' icon_state = "trainee" item_state = "trainee-id" /obj/item/card/id/security/cadet name = "Cadet ID" registered_name = "Cadet" - icon = 'modular_ss220/jobs/icons/card.dmi' + icon = 'modular_ss220/aesthetics/better_ids/icons/better_ids.dmi' icon_state = "cadet" item_state = "cadet-id" diff --git a/modular_ss220/jobs/icons/card.dmi b/modular_ss220/jobs/icons/card.dmi deleted file mode 100644 index 590f670636481d30f429873fc370398891b9fba8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3846 zcma)9c{J4R+yBZ~9#f{C64{0*TSyXR8L}oJ$r__j_K_tM!wf>QWe;U6Whs)KXbiGF z^VqVLFbvb!$B<@*Y38T*ynnp!Iqx6uAD{a==W}1zxv%S7_kDfNooH=odPG1}004j^ z*UXG;4lL#XZv4Cl>qL0?wF6TZZtD*%kzXXLIDlFu15+H1)g*)(k!I1C$!o5bFu`!E}qR36PM@#e+lrgZ4+=nL`>=UKM#Qd z!v6s!iK3<^JBK3yK0X;){t4JCxTQyJ#)gKm6R6eIRj&iq$JbXPN`ScnP&+s{vgXLh zNKrVh+e!lFLY<$U^O?^=sS1+ zLVsA{p51=jIOW&{bE)RAg#9!*%PJV;P&=a1^1NfVDl7lv zY?N14xoc1<8L@M1Cb0X+M@r%4V3W`o4;o*AUQxx?*hh-wT9nHl!ph#hetLdJ@a#+c zIh-ih>e|}a^z?LZ17Zk;2kW~PC@r6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