Mental Medication Additions (#4648)

The less controversial tweaks
Tweaked the metabolism rate of mental medication to reflect their intended values. Reduced the dosage threshold to suppress traumas to reflect their intended values.

Syringe (drugs) now contains truth serum.

Cardox is now slightly poisonous, and can directly remove phoron from blood when consumed. Cardox can now remove phoron in the air when applied to turfs.

A secure box of loyalty implants, hextrasenil pills, and cardox grenades are now located in the vault.

The vault now contains some misc emergency gear that a head of staff can access in case of a dire situation. Current gear are loyalty implants, expensive cardox grenades, and Hextrasenil pills.
This commit is contained in:
BurgerLUA
2018-05-13 17:39:56 +03:00
committed by Erki
parent e388235cef
commit aad698be53
55 changed files with 1277 additions and 473 deletions
+34 -3
View File
@@ -158,6 +158,7 @@ var/list/global/random_stock_uncommon = list(
"circuitboards" = 3,
"jetpack" = 3,
"xenocostume" = 1,
"inhaler" = 1,
"advwelder" = 2,
"sord" = 1,
"policebaton" = 1.5,
@@ -705,6 +706,7 @@ var/list/global/random_stock_large = list(
//A random scanning device, most are useless
var/list/possible = list(
/obj/item/device/healthanalyzer = 5,
/obj/item/device/breath_analyzer = 1,
/obj/item/device/analyzer = 0.5,
/obj/item/device/mass_spectrometer = 0.5,
/obj/item/device/mass_spectrometer/adv = 0.5,
@@ -973,11 +975,11 @@ var/list/global/random_stock_large = list(
new type(L)
if ("cleanernades")
new /obj/item/weapon/grenade/chem_grenade/cleaner(L)
new /obj/item/weapon/grenade/chem_grenade/cleaner(L)
if (prob(50))
if(prob(90))
new /obj/item/weapon/grenade/chem_grenade/cleaner(L)
new /obj/item/weapon/grenade/chem_grenade/cleaner(L)
else
new /obj/item/weapon/grenade/chem_grenade/large/phoroncleaner(L)
if ("mining")
if (prob(50))
@@ -1524,6 +1526,35 @@ var/list/global/random_stock_large = list(
if ("contraband")
new /obj/random/contraband(L)
if ("inhaler")
if(prob(33))
if(prob(10))
new/obj/item/weapon/storage/box/inhalers_large(src)
else
new /obj/item/weapon/storage/box/inhalers(src)
else
var/number = rand(2,3)
var/list/inhalers = list(
/obj/item/weapon/reagent_containers/inhaler/dexalin = 8,
/obj/item/weapon/reagent_containers/inhaler/hyperzine = 2,
/obj/item/weapon/reagent_containers/inhaler/phoron = 2,
/obj/item/weapon/reagent_containers/inhaler/soporific = 1,
/obj/item/weapon/reagent_containers/inhaler/space_drugs = 3
)
while(number > 0)
var/type = pickweight(inhalers)
var/obj/item/weapon/reagent_containers/inhaler/spawned = new type(L)
if(prob(10) || istype(spawned,/obj/item/weapon/reagent_containers/inhaler/space_drugs))
spawned.name = "unlabeled inhaler"
spawned.desc = "A rapid and safe way to administer small amounts of drugs into the lungs by untrained or trained personnel. This one is unlabeled."
number -= 1
if(prob(33))
new /obj/item/device/breath_analyzer(L)
//Large items go below here
//=============================================================
//=============================================================