Adds Medpouches (and other Bay Stuff) (#15505)

This commit is contained in:
Wowzewow (Wezzy)
2023-02-08 11:27:55 +01:00
committed by GitHub
parent a4e290182a
commit 12ddd59fa9
35 changed files with 594 additions and 286 deletions
@@ -201,7 +201,8 @@
/obj/item/device/flashlight,
/obj/item/extinguisher/mini,
/obj/item/device/radio,
/obj/item/taperoll/medical
/obj/item/taperoll/medical,
/obj/item/storage/box/fancy/med_pouch
)
/obj/item/storage/belt/medical/first_responder
@@ -60,9 +60,11 @@
src.icon_state = "[src.icon_type][src.storage_type][contents.len - itemremoved]"
else
icon_state = "[initial(icon_state)][src.opened]"
..()
else
cut_overlays()
icon_state = "[initial(icon_state)]" // closed
..()
/obj/item/storage/box/fancy/handle_item_insertion()
if(!opened) // makes sure boxes are opened before inserting anything
@@ -1,12 +1,3 @@
/* First aid storage
* Contains:
* First Aid Kits
* Pill Bottles
*/
/*
* First Aid Kits
*/
/obj/item/storage/firstaid
name = "first-aid kit"
desc = "It's an emergency medical kit for those serious boo-boos."
@@ -17,14 +8,23 @@
center_of_mass = list("x" = 13,"y" = 10)
throw_speed = 2
throw_range = 8
var/empty = 0
drop_sound = 'sound/items/drop/cardboardbox.ogg'
pickup_sound = 'sound/items/pickup/cardboardbox.ogg'
use_sound = 'sound/items/storage/briefcase.ogg'
/obj/item/storage/firstaid/fill()
if (empty) return
. = ..()
/obj/item/storage/firstaid/empty
name = "empty first-aid kit"
desc = "It's an emergency medical kit for people who like wish soup."
/obj/item/storage/firstaid/regular
starts_with = list(
/obj/item/stack/medical/bruise_pack = 2,
/obj/item/stack/medical/ointment = 2,
/obj/item/storage/pill_bottle/antidexafen = 1,
/obj/item/storage/pill_bottle/perconol = 1,
/obj/item/stack/medical/splint = 1,
/obj/item/device/healthanalyzer = 1
)
/obj/item/storage/firstaid/fire
name = "fire first-aid kit"
@@ -32,35 +32,20 @@
icon_state = "firefirstaid"
item_state = "firefirstaid"
starts_with = list(
/obj/item/reagent_containers/pill/kelotane = 3,
/obj/item/stack/medical/ointment = 2,
/obj/item/device/healthanalyzer = 1,
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1
/obj/item/storage/box/fancy/med_pouch/burn = 4
)
/obj/item/storage/firstaid/fire/fill()
. = ..()
icon_state = pick("firefirstaid","firefirstaid2","firefirstaid3")
/obj/item/storage/firstaid/regular
icon_state = "firstaid"
starts_with = list(
/obj/item/stack/medical/bruise_pack = 2,
/obj/item/stack/medical/ointment = 2,
/obj/item/device/healthanalyzer = 1,
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1,
/obj/item/reagent_containers/hypospray/autoinjector/dylovene = 1
)
/obj/item/storage/firstaid/toxin
name = "toxin first aid"
name = "toxin first-aid"
desc = "Used to treat when you have a high amount of toxins in your body."
icon_state = "antitoxinfirstaid"
item_state = "antitoxinfirstaid"
starts_with = list(
/obj/item/reagent_containers/syringe/dylovene = 3,
/obj/item/reagent_containers/pill/antitox = 3,
/obj/item/device/healthanalyzer = 1
/obj/item/storage/box/fancy/med_pouch/toxin = 4
)
/obj/item/storage/firstaid/toxin/fill()
@@ -73,9 +58,7 @@
icon_state = "o2firstaid"
item_state = "o2firstaid"
starts_with = list(
/obj/item/reagent_containers/inhaler/dexalin = 4,
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 2,
/obj/item/device/breath_analyzer = 1
/obj/item/storage/box/fancy/med_pouch/oxyloss = 4
)
/obj/item/storage/firstaid/o2/fill()
@@ -88,10 +71,11 @@
icon_state = "advfirstaid"
item_state = "advfirstaid"
starts_with = list(
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1,
/obj/item/storage/pill_bottle/assorted = 1,
/obj/item/stack/medical/advanced/bruise_pack = 3,
/obj/item/stack/medical/advanced/ointment = 2,
/obj/item/stack/medical/splint = 1
/obj/item/stack/medical/splint = 1,
/obj/item/device/healthanalyzer = 1
)
/obj/item/storage/firstaid/adv/fill()
@@ -110,7 +94,8 @@
/obj/item/storage/pill_bottle/dylovene = 1,
/obj/item/storage/pill_bottle/mortaphenyl = 1,
/obj/item/reagent_containers/hypospray/autoinjector/sideeffectbgone = 1,
/obj/item/stack/medical/splint = 1
/obj/item/stack/medical/splint = 1,
/obj/item/device/healthanalyzer = 1
)
/obj/item/storage/firstaid/surgery
@@ -133,184 +118,84 @@
)
/obj/item/storage/firstaid/surgery/fill()
..()
if(!empty)
make_exact_fit()
. = ..()
make_exact_fit()
icon_state = pick("purplefirstaid","purplefirstaid2","purplefirstaid3")
/obj/item/storage/firstaid/brute
name = "brute aid kit"
desc = "A NanoTrasen care package for moderately injured miners."
icon_state = "brute"
item_state = "brute"
/obj/item/storage/firstaid/trauma
name = "trauma first-aid kit"
desc = "It's an emergency medical kit for when people brought ballistic weapons to a laser fight."
icon_state = "traumafirstaid"
item_state = "traumafirstaid"
starts_with = list(
/obj/item/stack/medical/bruise_pack = 2,
/obj/item/stack/medical/advanced/bruise_pack = 2,
/obj/item/reagent_containers/pill/bicaridine = 1,
/obj/item/reagent_containers/hypospray/autoinjector/coagzolug = 1,
/obj/item/storage/box/fancy/med_pouch/trauma = 4
)
/obj/item/storage/firstaid/trauma/fill()
..()
icon_state = pick("traumafirstaid","traumafirstaid2","traumafirstaid3")
/obj/item/storage/firstaid/radiation
name = "radiation first-aid kit"
desc = "It's an emergency medical kit for when you try to hug the reactor."
icon_state = "radfirstaid"
item_state = "radfirstaid"
starts_with = list(
/obj/item/storage/box/fancy/med_pouch/radiation = 4
)
/obj/item/storage/firstaid/radiation/Initialize()
. = ..()
icon_state = pick("radfirstaid","radfirstaid2","radfirstaid3")
/obj/item/storage/firstaid/stab // Generic first aid kit for mappers that covers all bases.
name = "stabilisation first-aid"
desc = "Stocked with medical pouches."
icon_state = "firstaid_multi"
starts_with = list(
/obj/item/storage/box/fancy/med_pouch/trauma = 1,
/obj/item/storage/box/fancy/med_pouch/burn = 1,
/obj/item/storage/box/fancy/med_pouch/oxyloss = 1,
/obj/item/storage/box/fancy/med_pouch/toxin = 1,
/obj/item/storage/box/fancy/med_pouch/radiation = 1,
/obj/item/device/healthanalyzer = 1
)
/obj/item/storage/firstaid/brute/fill()
..()
icon_state = pick("brute","brute2","brute3")
/obj/item/storage/firstaid/marooning_equipment
name = "marooning first aid kit"
desc = "A first aid kit for marooned personnel."
/obj/item/storage/firstaid/sleekstab
name = "Slimline stabilisation kit"
desc = "A sleek and expensive looking medical kit."
icon_state = "firstaid_multi"
item_state = "firstaid_multi"
w_class = ITEMSIZE_SMALL
storage_slots = 7
starts_with = list(
/obj/item/stack/medical/bruise_pack = 2,
/obj/item/stack/medical/ointment = 2,
/obj/item/device/healthanalyzer = 1,
/obj/item/reagent_containers/pill/bicaridine = 1,
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1,
/obj/item/reagent_containers/hypospray/autoinjector/dylovene = 1,
/obj/item/reagent_containers/hypospray/autoinjector/coagzolug = 1,
/obj/item/storage/pill_bottle/perconol = 1
/obj/item/reagent_containers/hypospray/autoinjector/pain = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/adrenaline = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/inaprovaline = 2,
/obj/item/reagent_containers/hypospray/autoinjector/oxygen = 1,
/obj/item/reagent_containers/hypospray/autoinjector/dylovene = 1,
/obj/item/device/healthanalyzer = 1
)
/*
* Pill Bottles
*/
/obj/item/storage/pill_bottle
name = "pill bottle"
desc = "It's an airtight container for storing medication."
icon_state = "pill_canister"
icon = 'icons/obj/chemical.dmi'
item_icons = list(
slot_l_hand_str = 'icons/mob/items/lefthand_medical.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_medical.dmi',
)
item_state = "pill_canister"
center_of_mass = list("x" = 16,"y" = 12)
/obj/item/storage/firstaid/light // For pilot/expedition closets, which we don't have. Yet.
name = "light first-aid kit"
desc = "It's a small emergency medical kit."
icon_state = "fak-light"
item_state = "advfirstaid"
storage_slots = 5
w_class = ITEMSIZE_SMALL
can_hold = list(/obj/item/reagent_containers/pill,/obj/item/stack/dice,/obj/item/paper)
allow_quick_gather = 1
use_to_pickup = 1
use_sound = 'sound/items/storage/pillbottle.ogg'
drop_sound = 'sound/items/drop/pillbottle.ogg'
pickup_sound = 'sound/items/pickup/pillbottle.ogg'
max_storage_space = 16
/obj/item/storage/pill_bottle/attack_self(mob/living/user)
if(user.get_inactive_hand())
to_chat(user, SPAN_NOTICE("You need an empty hand to take something out."))
return
if(contents.len)
var/obj/item/I = contents[1]
if(!remove_from_storage(I,user))
return
if(user.put_in_inactive_hand(I))
to_chat(user, SPAN_NOTICE("You take \the [I] out of \the [src]."))
if(iscarbon(user))
var/mob/living/carbon/C = user
C.swap_hand()
else
I.dropInto(loc)
to_chat(user, SPAN_NOTICE("You fumble around with \the [src] and drop \the [I] on the floor."))
else
to_chat(user, SPAN_WARNING("\The [src] is empty."))
/obj/item/storage/pill_bottle/antitox
name = "bottle of 10u Dylovene pills"
desc = "Contains pills used to remove toxic substances from the blood."
starts_with = list(/obj/item/reagent_containers/pill/antitox = 7)
/obj/item/storage/pill_bottle/bicaridine
name = "bottle of 10u Bicaridine pills"
desc = "Contains pills used to treat minor injuries and bleeding."
starts_with = list(/obj/item/reagent_containers/pill/bicaridine = 7)
/obj/item/storage/pill_bottle/dexalin_plus
name = "bottle of 15u Dexalin Plus pills"
desc = "Contains pills used to treat extreme cases of oxygen deprivation."
starts_with = list(/obj/item/reagent_containers/pill/dexalin_plus = 7)
/obj/item/storage/pill_bottle/dermaline
name = "bottle of 10u Dermaline pills"
desc = "Contains pills used to treat severe burn wounds."
starts_with = list(/obj/item/reagent_containers/pill/dermaline = 7)
/obj/item/storage/pill_bottle/dylovene
name = "bottle of 15u Dylovene pills"
desc = "Contains pills used to remove toxic substances from the blood."
starts_with = list(/obj/item/reagent_containers/pill/dylovene = 7)
/obj/item/storage/pill_bottle/inaprovaline
name = "bottle of 10u Inaprovaline pills"
desc = "Contains pills used to stabilize a patient's heart activity."
starts_with = list(/obj/item/reagent_containers/pill/inaprovaline = 7)
/obj/item/storage/pill_bottle/kelotane
name = "bottle of 10u Kelotane pills"
desc = "Contains pills used to treat minor burns."
starts_with = list(/obj/item/reagent_containers/pill/kelotane = 7)
obj/item/storage/pill_bottle/butazoline
name = "bottle of 10u Butazoline pills"
desc = "Contains pills used to severe injuries and bleeding."
starts_with = list(/obj/item/reagent_containers/pill/butazoline = 7)
/obj/item/storage/pill_bottle/cetahydramine
name = "bottle of 5u Cetahydramine pills"
desc = "Contains pills used to treat coughing, sneezing and itching."
starts_with = list(/obj/item/reagent_containers/pill/cetahydramine = 7)
/obj/item/storage/pill_bottle/mortaphenyl
name = "bottle of 10u Mortaphenyl pills"
desc = "Contains pills used to relieve severe pain in a trauma setting."
starts_with = list(/obj/item/reagent_containers/pill/mortaphenyl = 7)
/obj/item/storage/pill_bottle/perconol
name = "bottle of 10u Perconol pills"
desc = "Contains pills used to relieve minor-moderate pain and reduce fevers."
starts_with = list(/obj/item/reagent_containers/pill/perconol = 7)
/obj/item/storage/pill_bottle/minaphobin
name = "bottle of 2u Minaphobin pills"
desc = "Contains pills used to treat anxiety disorders and depression."
starts_with = list(/obj/item/reagent_containers/pill/minaphobin = 7)
/obj/item/storage/pill_bottle/rmt
name = "bottle of 15u RMT pills"
desc = "Contains pills used to remedy the effects of prolonged zero-gravity adaptations. Do not exceed 30u dosage."
starts_with = list(/obj/item/reagent_containers/pill/rmt = 10) // 10x 15u RMT pills will last 4 hours.
/obj/item/storage/pill_bottle/corophenidate
name = "bottle of 2u Corophenidate pills"
desc = "Contains pills used to improve the ability to concentrate."
starts_with = list(/obj/item/reagent_containers/pill/corophenidate = 3)
/obj/item/storage/pill_bottle/emoxanyl
name = "bottle of 2u Emoxanyl pills"
desc = "Contains pills used to treat anxiety disorders, depression and epilepsy."
starts_with = list(/obj/item/reagent_containers/pill/emoxanyl = 3)
/obj/item/storage/pill_bottle/minaphobin/small
starts_with = list(/obj/item/reagent_containers/pill/minaphobin = 3)
/obj/item/storage/pill_bottle/nerospectan
name = "bottle of 2u Nerospectan pills"
desc = "Contains pills used to treat a large variety of disorders including tourette, depression, anxiety and psychoses."
starts_with = list(/obj/item/reagent_containers/pill/nerospectan = 3)
/obj/item/storage/pill_bottle/neurapan
name = "bottle of 2u Neurapan pills"
desc = "Contains pills used to treat large variety of disorders including tourette, depression, anxiety and psychoses."
starts_with = list(/obj/item/reagent_containers/pill/neurapan= 3)
/obj/item/storage/pill_bottle/neurostabin
name = "bottle of 2u Neurostabin pills"
desc = "Contains pills used to treat psychoses and muscle weakness."
starts_with = list(/obj/item/reagent_containers/pill/neurostabin = 3)
/obj/item/storage/pill_bottle/orastabin
name = "bottle of 2u Orastabin pills"
desc = "Contains pills used to treat anxiety disorders and speech impediments."
starts_with = list(/obj/item/reagent_containers/pill/orastabin = 3)
/obj/item/storage/pill_bottle/parvosil
name = "bottle of 2u Parvosil pills"
desc = "Contains pills used to treat anxiety disorders such as phobias and social anxiety."
starts_with = list(/obj/item/reagent_containers/pill/parvosil = 3)
max_w_class = ITEMSIZE_SMALL
starts_with = list(
/obj/item/clothing/gloves/latex/nitrile = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/inaprovaline = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/mortaphenyl = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/dexalin = 1,
/obj/item/stack/medical/bruise_pack = 1
)
can_hold = list(
/obj/item/clothing/gloves/latex,
/obj/item/reagent_containers/hypospray/autoinjector,
/obj/item/stack/medical/bruise_pack
)
@@ -0,0 +1,185 @@
/*
Single Use Emergency Pouches
*/
/obj/item/storage/box/fancy/med_pouch
name = "emergency medical pouch"
desc = "For use in emergency situations only."
desc_info = "\
1) Tear open the emergency medical pack using the easy open tab at the top.<br>\
2) Carefully remove all items from the pouch and discard the pouch.<br>\
3) Apply all autoinjectors to the injured party.<br>\
4) Use bandages to stop bleeding if required.<br>\
5) Force the injured party to swallow all pills.<br>\
6) Use ointment on any burns if required.<br>\
7) Contact the medical team with your location.<br>\
8) Stay in place once they respond."
icon = 'icons/obj/storage/firstaid.dmi'
storage_slots = 7
w_class = ITEMSIZE_SMALL
max_w_class = ITEMSIZE_SMALL
icon_state = "pack"
build_from_parts = TRUE
worn_overlay = "cross"
drop_sound = 'sound/items/drop/gloves.ogg'
pickup_sound = 'sound/items/pickup/gloves.ogg'
use_sound = 'sound/items/storage/wrapper.ogg'
open_sound = 'sound/items/rip1.ogg'
icon_overlays = FALSE
closable = FALSE
var/injury_type = "generic"
/obj/item/storage/box/fancy/med_pouch/Initialize()
..()
name = "emergency [injury_type] pouch"
make_exact_fit()
for(var/obj/item/reagent_containers/pill/P in contents)
P.color = color
/obj/item/storage/box/fancy/med_pouch/trauma
name = "trauma pouch"
desc_info = "\
1) Tear open the emergency medical pack using the easy open tab at the top.<br>\
2) Carefully remove all items from the pouch and discard the pouch.<br>\
3) Apply all autoinjectors to the injured party.<br>\
4) Use bandages to stop bleeding if required.<br>\
5) Force the injured party to swallow all pills.<br>\
6) Contact the medical team with your location.<br>\
7) Stay in place once they respond."
injury_type = "trauma"
color = COLOR_RED
starts_with = list(
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/inaprovaline = 1,
/obj/item/reagent_containers/pill/pouch_pill/inaprovaline = 1,
/obj/item/reagent_containers/pill/pouch_pill/perconol = 1,
/obj/item/stack/medical/bruise_pack = 2
)
/obj/item/storage/box/fancy/med_pouch/burn
name = "burn pouch"
injury_type = "burn"
color = COLOR_SEDONA
starts_with = list(
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/inaprovaline = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/mortaphenyl = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/adrenaline = 1,
/obj/item/reagent_containers/pill/pouch_pill/perconol = 1,
/obj/item/stack/medical/ointment = 2
)
desc_info = "\
1) Tear open the emergency medical pack using the easy open tab at the top.<br>\
2) Carefully remove all items from the pouch and discard the pouch.<br>\
3) Apply the emergency mortaphenyl autoinjector to the injured party.<br>\
4) Apply all remaining autoinjectors to the injured party.<br>\
5) Force the injured party to swallow all pills.<br>\
6) Use ointment on any burns if required<br>\
7) Contact the medical team with your location.<br>\
8) Stay in place once they respond."
/obj/item/storage/box/fancy/med_pouch/oxyloss
name = "low oxygen pouch"
injury_type = "low oxygen"
color = COLOR_BLUE
starts_with = list(
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/inaprovaline = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/dexalin = 1,
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/adrenaline = 1,
/obj/item/reagent_containers/pill/pouch_pill/inaprovaline = 1,
/obj/item/reagent_containers/pill/pouch_pill/dexalin = 1
)
desc_info = "\
1) Tear open the emergency medical pack using the easy open tab at the top.<br>\
2) Carefully remove all items from the pouch and discard the pouch.<br>\
3) Apply all autoinjectors to the injured party.<br>\
4) Force the injured party to swallow all pills.<br>\
5) Contact the medical team with your location.<br>\
6) Find a source of oxygen if possible.<br>\
7) Update the medical team with your new location.<br>\
8) Stay in place once they respond."
/obj/item/storage/box/fancy/med_pouch/toxin
name = "toxin pouch"
injury_type = "toxin"
color = COLOR_GREEN
starts_with = list(
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/dylovene = 1,
/obj/item/reagent_containers/pill/pouch_pill/dylovene = 1
)
desc_info = "\
1) Tear open the emergency medical pack using the easy open tab at the top.<br>\
2) Carefully remove all items from the pouch and discard the pouch.<br>\
3) Apply all autoinjectors to the injured party.<br>\
4) Force the injured party to swallow all pills.<br>\
5) Contact the medical team with your location.<br>\
6) Stay in place once they respond."
/obj/item/storage/box/fancy/med_pouch/radiation
name = "radiation pouch"
injury_type = "radiation"
color = COLOR_WHEAT
starts_with = list(
/obj/item/reagent_containers/hypospray/autoinjector/hyronalin = 1,
/obj/item/reagent_containers/pill/pouch_pill/dylovene = 1
)
desc_info = "\
1) Tear open the emergency medical pack using the easy open tab at the top.<br>\
2) Carefully remove all items from the pouch and discard the pouch.<br>\
3) Apply all autoinjectors to the injured party.<br>\
4) Force the injured party to swallow all pills.<br>\
5) Contact the medical team with your location.<br>\
6) Stay in place once they respond."
/obj/item/reagent_containers/pill/pouch_pill
name = "emergency pill"
desc = "An emergency pill from an emergency medical pouch."
icon_state = "pill18"
var/singleton/reagent/chem_type
var/chem_amount = 15
/obj/item/reagent_containers/pill/pouch_pill/inaprovaline
chem_type = /singleton/reagent/inaprovaline
/obj/item/reagent_containers/pill/pouch_pill/dylovene
chem_type = /singleton/reagent/dylovene
/obj/item/reagent_containers/pill/pouch_pill/dexalin
chem_type = /singleton/reagent/dexalin
/obj/item/reagent_containers/pill/pouch_pill/perconol
chem_type = /singleton/reagent/perconol
/obj/item/reagent_containers/pill/pouch_pill/New()
..()
reagents.add_reagent(chem_type, chem_amount)
name = "emergency [reagents.get_primary_reagent_name()] pill ([reagents.total_volume]u)"
color = reagents.get_color()
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto
name = "emergency autoinjector"
desc = "An emergency autoinjector from an emergency medical pouch."
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/inaprovaline
name = "emergency inaprovaline autoinjector"
reagents_to_add = list(/singleton/reagent/inaprovaline = 5)
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/mortaphenyl
name = "emergency mortaphenyl autoinjector"
reagents_to_add = list(/singleton/reagent/mortaphenyl = 5)
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/dylovene
name = "emergency dylovene autoinjector"
reagents_to_add = list(/singleton/reagent/dylovene = 5)
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/dexalin
name = "emergency dexalin autoinjector"
reagents_to_add = list(/singleton/reagent/dexalin = 5)
/obj/item/reagent_containers/hypospray/autoinjector/pouch_auto/adrenaline
name = "emergency adrenaline autoinjector"
amount_per_transfer_from_this = 8
reagents_to_add = list(/singleton/reagent/adrenaline = 8)
@@ -0,0 +1,160 @@
/obj/item/storage/pill_bottle
name = "pill bottle"
desc = "It's an airtight container for storing medication."
icon_state = "pill_canister"
icon = 'icons/obj/chemical.dmi'
item_icons = list(
slot_l_hand_str = 'icons/mob/items/lefthand_medical.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_medical.dmi',
)
item_state = "pill_canister"
center_of_mass = list("x" = 16,"y" = 12)
w_class = ITEMSIZE_SMALL
can_hold = list(/obj/item/reagent_containers/pill,/obj/item/stack/dice,/obj/item/paper)
allow_quick_gather = 1
use_to_pickup = 1
use_sound = 'sound/items/storage/pillbottle.ogg'
drop_sound = 'sound/items/drop/pillbottle.ogg'
pickup_sound = 'sound/items/pickup/pillbottle.ogg'
max_storage_space = 16
/obj/item/storage/pill_bottle/attack_self(mob/living/user)
if(user.get_inactive_hand())
to_chat(user, SPAN_NOTICE("You need an empty hand to take something out."))
return
if(contents.len)
var/obj/item/I = contents[1]
if(!remove_from_storage(I,user))
return
if(user.put_in_inactive_hand(I))
to_chat(user, SPAN_NOTICE("You take \the [I] out of \the [src]."))
if(iscarbon(user))
var/mob/living/carbon/C = user
C.swap_hand()
else
I.dropInto(loc)
to_chat(user, SPAN_NOTICE("You fumble around with \the [src] and drop \the [I] on the floor."))
else
to_chat(user, SPAN_WARNING("\The [src] is empty."))
/obj/item/storage/pill_bottle/antitox
name = "bottle of 10u Dylovene pills"
desc = "Contains pills used to remove toxic substances from the blood."
starts_with = list(/obj/item/reagent_containers/pill/antitox = 7)
/obj/item/storage/pill_bottle/bicaridine
name = "bottle of 10u Bicaridine pills"
desc = "Contains pills used to treat minor injuries and bleeding."
starts_with = list(/obj/item/reagent_containers/pill/bicaridine = 7)
/obj/item/storage/pill_bottle/dexalin_plus
name = "bottle of 15u Dexalin Plus pills"
desc = "Contains pills used to treat extreme cases of oxygen deprivation."
starts_with = list(/obj/item/reagent_containers/pill/dexalin_plus = 7)
/obj/item/storage/pill_bottle/dermaline
name = "bottle of 10u Dermaline pills"
desc = "Contains pills used to treat severe burn wounds."
starts_with = list(/obj/item/reagent_containers/pill/dermaline = 7)
/obj/item/storage/pill_bottle/dylovene
name = "bottle of 15u Dylovene pills"
desc = "Contains pills used to remove toxic substances from the blood."
starts_with = list(/obj/item/reagent_containers/pill/dylovene = 7)
/obj/item/storage/pill_bottle/inaprovaline
name = "bottle of 10u Inaprovaline pills"
desc = "Contains pills used to stabilize a patient's heart activity."
starts_with = list(/obj/item/reagent_containers/pill/inaprovaline = 7)
/obj/item/storage/pill_bottle/kelotane
name = "bottle of 10u Kelotane pills"
desc = "Contains pills used to treat minor burns."
starts_with = list(/obj/item/reagent_containers/pill/kelotane = 7)
obj/item/storage/pill_bottle/butazoline
name = "bottle of 10u Butazoline pills"
desc = "Contains pills used to severe injuries and bleeding."
starts_with = list(/obj/item/reagent_containers/pill/butazoline = 7)
/obj/item/storage/pill_bottle/cetahydramine
name = "bottle of 5u Cetahydramine pills"
desc = "Contains pills used to treat coughing, sneezing and itching."
starts_with = list(/obj/item/reagent_containers/pill/cetahydramine = 7)
/obj/item/storage/pill_bottle/mortaphenyl
name = "bottle of 10u Mortaphenyl pills"
desc = "Contains pills used to relieve severe pain in a trauma setting."
starts_with = list(/obj/item/reagent_containers/pill/mortaphenyl = 7)
/obj/item/storage/pill_bottle/perconol
name = "bottle of 10u Perconol pills"
desc = "Contains pills used to relieve minor-moderate pain and reduce fevers."
starts_with = list(/obj/item/reagent_containers/pill/perconol = 7)
/obj/item/storage/pill_bottle/minaphobin
name = "bottle of 2u Minaphobin pills"
desc = "Contains pills used to treat anxiety disorders and depression."
starts_with = list(/obj/item/reagent_containers/pill/minaphobin = 7)
/obj/item/storage/pill_bottle/rmt
name = "bottle of 15u RMT pills"
desc = "Contains pills used to remedy the effects of prolonged zero-gravity adaptations. Do not exceed 30u dosage."
starts_with = list(/obj/item/reagent_containers/pill/rmt = 10) // 10x 15u RMT pills will last 4 hours.
/obj/item/storage/pill_bottle/corophenidate
name = "bottle of 2u Corophenidate pills"
desc = "Contains pills used to improve the ability to concentrate."
starts_with = list(/obj/item/reagent_containers/pill/corophenidate = 3)
/obj/item/storage/pill_bottle/emoxanyl
name = "bottle of 2u Emoxanyl pills"
desc = "Contains pills used to treat anxiety disorders, depression and epilepsy."
starts_with = list(/obj/item/reagent_containers/pill/emoxanyl = 3)
/obj/item/storage/pill_bottle/minaphobin/small
starts_with = list(/obj/item/reagent_containers/pill/minaphobin = 3)
/obj/item/storage/pill_bottle/nerospectan
name = "bottle of 2u Nerospectan pills"
desc = "Contains pills used to treat a large variety of disorders including tourette, depression, anxiety and psychoses."
starts_with = list(/obj/item/reagent_containers/pill/nerospectan = 3)
/obj/item/storage/pill_bottle/neurapan
name = "bottle of 2u Neurapan pills"
desc = "Contains pills used to treat large variety of disorders including tourette, depression, anxiety and psychoses."
starts_with = list(/obj/item/reagent_containers/pill/neurapan= 3)
/obj/item/storage/pill_bottle/neurostabin
name = "bottle of 2u Neurostabin pills"
desc = "Contains pills used to treat psychoses and muscle weakness."
starts_with = list(/obj/item/reagent_containers/pill/neurostabin = 3)
/obj/item/storage/pill_bottle/orastabin
name = "bottle of 2u Orastabin pills"
desc = "Contains pills used to treat anxiety disorders and speech impediments."
starts_with = list(/obj/item/reagent_containers/pill/orastabin = 3)
/obj/item/storage/pill_bottle/parvosil
name = "bottle of 2u Parvosil pills"
desc = "Contains pills used to treat anxiety disorders such as phobias and social anxiety."
starts_with = list(/obj/item/reagent_containers/pill/parvosil = 3)
/obj/item/storage/pill_bottle/assorted
name = "pill bottle (assorted)"
desc = "Commonly found on paramedics, these assorted pill bottles contain all the basics."
starts_with = list(
/obj/item/reagent_containers/pill/inaprovaline = 6,
/obj/item/reagent_containers/pill/dylovene = 6,
/obj/item/reagent_containers/pill/sugariron = 2,
/obj/item/reagent_containers/pill/mortaphenyl = 2,
/obj/item/reagent_containers/pill/dexalin = 2,
/obj/item/reagent_containers/pill/kelotane = 2,
/obj/item/reagent_containers/pill/hyronalin = 1
)
/obj/item/storage/pill_bottle/antidexafen
name = "pill bottle (cold medicine)"
desc = "All-in-one cold medicine. 15u dose per pill. Safe for babies like you!"
starts_with = list(/obj/item/reagent_containers/pill/antidexafen = 21)
+10 -6
View File
@@ -166,12 +166,16 @@
icon = 'icons/obj/storage.dmi'
icon_state = "firstaid"
problist = list(
/obj/item/storage/firstaid/regular = 3,
/obj/item/storage/firstaid/toxin = 2,
/obj/item/storage/firstaid/o2 = 2,
/obj/item/storage/firstaid/fire = 2,
/obj/item/storage/firstaid/brute = 1,
/obj/item/storage/firstaid/adv = 1
/obj/item/storage/firstaid/regular = 4,
/obj/item/storage/firstaid/trauma = 3,
/obj/item/storage/firstaid/toxin = 3,
/obj/item/storage/firstaid/o2 = 3,
/obj/item/storage/firstaid/fire = 3,
/obj/item/storage/firstaid/radiation = 3,
/obj/item/storage/firstaid/stab = 2,
/obj/item/storage/firstaid/adv = 2,
/obj/item/storage/firstaid/combat = 1,
/obj/item/storage/firstaid/empty = 2
)
/obj/random/contraband
@@ -113,11 +113,9 @@
/obj/item/airbubble = 1,
// Rations
/obj/item/storage/box/fancy/mre/menu5 = 1,
/obj/item/storage/box/fancy/mre/menu9 = 1,
/obj/item/storage/box/fancy/mre/random = 2,
/obj/item/reagent_containers/food/drinks/waterbottle = 4,
// Medical Supplies
/obj/item/storage/firstaid/marooning_equipment = 1,
/obj/item/storage/firstaid/o2 = 1
)
/obj/item/storage/firstaid/stab = 1,
)
@@ -203,9 +203,8 @@
new /obj/item/clothing/head/radiation(src)
new /obj/item/clothing/suit/radiation(src)
new /obj/item/clothing/glasses/safety/goggles(src)
new /obj/item/storage/firstaid/radiation(src)
new /obj/item/device/geiger(src)
for(var/i = 1 to 2)
new /obj/item/reagent_containers/hypospray/autoinjector/hyronalin(src)
/*
* Bombsuit closet
+1 -1
View File
@@ -206,7 +206,7 @@
/obj/item/trap = 1,
/obj/item/cell/hyper/empty = 1,
/obj/item/material/knife/tacknife = 1,
/obj/item/storage/firstaid/brute = 1,
/obj/item/storage/firstaid/trauma = 1,
/obj/item/reagent_containers/pill/dexalin_plus = 1
)