From 445cdd60aa3c6cb393e4af5b8c2f7d5cbdc7cca6 Mon Sep 17 00:00:00 2001 From: Kocma-san Date: Tue, 10 Dec 2024 18:50:52 +0700 Subject: [PATCH] =?UTF-8?q?=D0=B7=D0=B0=D0=BA=D1=80=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=BF=D0=BE=D0=B4=20=D0=B4=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D1=83=D0=BF=20=D0=B0=D0=BF=D1=82=D0=B5=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/loadout/code/medkits/medkits.dm | 16 ++++++++++++++++ tgstation.dme | 1 + 2 files changed, 17 insertions(+) create mode 100644 tff_modular/modules/loadout/code/medkits/medkits.dm diff --git a/tff_modular/modules/loadout/code/medkits/medkits.dm b/tff_modular/modules/loadout/code/medkits/medkits.dm new file mode 100644 index 00000000000..8d4792f498d --- /dev/null +++ b/tff_modular/modules/loadout/code/medkits/medkits.dm @@ -0,0 +1,16 @@ +#define JOB_GROUP_MEDICAL list(JOB_CORONER, \ + JOB_MEDICAL_DOCTOR, \ + JOB_PARAMEDIC, \ + JOB_CHEMIST, \ + JOB_VIROLOGIST, \ + JOB_ORDERLY, \ + JOB_CHIEF_MEDICAL_OFFICER, \ +) + +/datum/loadout_item/pocket_items/medkit + restricted_roles = list(JOB_GROUP_MEDICAL) + +/datum/loadout_item/pocket_items/deforest_frontiermedkit + restricted_roles = list(JOB_GROUP_MEDICAL) + +#undef JOB_GROUP_MEDICAL diff --git a/tgstation.dme b/tgstation.dme index 556c49ae940..16ac55e3fdb 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -8854,6 +8854,7 @@ #include "tff_modular\modules\loadout\code\clothing\grayscale.dm" #include "tff_modular\modules\loadout\code\clothing\neck.dm" #include "tff_modular\modules\loadout\code\loadout\neck.dm" +#include "tff_modular\modules\loadout\code\medkits\medkits.dm" #include "tff_modular\modules\martial\sleeping_carp.dm" #include "tff_modular\modules\modular_automapper\automapper.dm" #include "tff_modular\modules\modular_automapper\replacer.dm"