From 7f1692b6d3989385dca374b7bdbe6d1649732a27 Mon Sep 17 00:00:00 2001 From: Rolt146 <62613651+Rolt146@users.noreply.github.com> Date: Sat, 29 Jul 2023 03:03:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=20=D0=BC=D1=83=D1=81=D0=BE=D1=80=D0=B5?= =?UTF-8?q?=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B1=D1=83=D0=B4?= =?UTF-8?q?=D1=83=D1=82=20=D0=B2=D1=81=D1=82=D0=B5=D1=87=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=D1=81=D1=8F=20=D0=B8=D0=BD=D1=8A=D0=B5=D0=BA=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D1=8B=20=D0=B8=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B5=D1=82=D0=BA?= =?UTF-8?q?=D0=B8=20(#11751)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/game/objects/random/random_meds.dm | 51 ++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/code/game/objects/random/random_meds.dm b/code/game/objects/random/random_meds.dm index 0dc5fbb3e77b..61272214c036 100644 --- a/code/game/objects/random/random_meds.dm +++ b/code/game/objects/random/random_meds.dm @@ -97,6 +97,52 @@ prob(3);/obj/item/weapon/reagent_containers/glass/bottle/acid,\ ) +/obj/random/meds/medical_pills + name = "Random medical pills" + desc = "This is a random medical pills." + icon = 'icons/obj/items.dmi' + icon_state = "pill_canister" +/obj/random/meds/medical_pills/item_to_spawn() + return pick(\ + prob(40);/obj/item/weapon/reagent_containers/pill/dylovene,\ + prob(20);/obj/item/weapon/reagent_containers/pill/dermaline,\ + prob(40);/obj/item/weapon/reagent_containers/pill/kelotane,\ + prob(40);/obj/item/weapon/reagent_containers/pill/paracetamol,\ + prob(20);/obj/item/weapon/reagent_containers/pill/tramadol,\ + prob(40);/obj/item/weapon/reagent_containers/pill/inaprovaline,\ + prob(40);/obj/item/weapon/reagent_containers/pill/dexalin,\ + prob(20);/obj/item/weapon/reagent_containers/pill/dexalin_plus,\ + prob(25);/obj/item/weapon/reagent_containers/pill/bicaridine,\ + prob(20);/obj/item/weapon/reagent_containers/pill/happy,\ + prob(30);/obj/item/weapon/reagent_containers/pill/lipozine,\ + prob(15);/obj/item/weapon/reagent_containers/pill/spaceacillin,\ + prob(15);/obj/item/weapon/reagent_containers/pill/antirad,\ + prob(5);/obj/item/weapon/reagent_containers/pill/cyanide\ + ) + +/obj/random/meds/medical_autoinjectors + name = "Random medical autoinjectors" + desc = "This is a random medical autoinjectors." + icon = 'icons/obj/items.dmi' + icon_state = "pill_canister" +/obj/random/meds/medical_autoinjectors/item_to_spawn() + return pick(\ + prob(40);/obj/item/weapon/reagent_containers/hypospray/autoinjector/stimpack,\ + prob(20);/obj/item/weapon/reagent_containers/hypospray/autoinjector/stimpack_imp,\ + prob(10);/obj/item/weapon/reagent_containers/hypospray/autoinjector/stimpack_adv,\ + prob(20);/obj/item/weapon/reagent_containers/hypospray/autoinjector/leporazine,\ + prob(10);/obj/item/weapon/reagent_containers/hypospray/autoinjector/nutriment,\ + prob(25);/obj/item/weapon/reagent_containers/hypospray/autoinjector/hippiesdelight,\ + prob(15);/obj/item/weapon/reagent_containers/hypospray/autoinjector/lean,\ + prob(15);/obj/item/weapon/reagent_containers/hypospray/autoinjector/space_drugs,\ + prob(20);/obj/item/weapon/reagent_containers/hypospray/autoinjector/bicaridine,\ + prob(20);/obj/item/weapon/reagent_containers/hypospray/autoinjector/dermaline,\ + prob(30);/obj/item/weapon/reagent_containers/hypospray/autoinjector/tramadol,\ + prob(30);/obj/item/weapon/reagent_containers/hypospray/autoinjector/antitox,\ + prob(15);/obj/item/weapon/reagent_containers/hypospray/autoinjector/combat,\ + prob(10);/obj/item/weapon/reagent_containers/hypospray/autoinjector/bonepen\ + ) + /obj/random/meds/medical_supply name = "Random medical supply" desc = "This is a random medical supply." @@ -105,10 +151,13 @@ /obj/random/meds/medical_supply/item_to_spawn() return pick(\ prob(20);/obj/random/meds/medical_single_item,\ + prob(20);/obj/random/meds/medical_pills,\ + prob(20);/obj/random/meds/medical_autoinjectors,\ prob(12);/obj/random/meds/syringe,\ prob(10);/obj/random/meds/chemical_bottle,\ prob(10);/obj/random/meds/medkit,\ prob(9);/obj/random/meds/medical_tool,\ prob(6);/obj/random/meds/pills,\ - prob(3);/obj/random/meds/dna_injector\ + prob(3);/obj/random/meds/dna_injector,\ ) +