Skip to content

Commit

Permalink
В мусоре теперь будут встечаться инъекторы и таблетки (TauCetiStation…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rolt146 authored Jul 29, 2023
1 parent a6043c9 commit 7f1692b
Showing 1 changed file with 50 additions and 1 deletion.
51 changes: 50 additions & 1 deletion code/game/objects/random/random_meds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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,\
)

0 comments on commit 7f1692b

Please sign in to comment.