mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-09 00:42:34 +00:00
290 lines
10 KiB
Plaintext
290 lines
10 KiB
Plaintext
/* 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."
|
|
icon_state = "firstaid"
|
|
item_icons = list(
|
|
slot_l_hand_str = 'icons/mob/items/lefthand_medical.dmi',
|
|
slot_r_hand_str = 'icons/mob/items/righthand_medical.dmi',
|
|
)
|
|
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'
|
|
|
|
/obj/item/storage/firstaid/fill()
|
|
if (empty) return
|
|
. = ..()
|
|
|
|
/obj/item/storage/firstaid/fire
|
|
name = "fire first-aid kit"
|
|
desc = "It's an emergency medical kit for when the toxins lab <i>-spontaneously-</i> burns down."
|
|
icon_state = "ointment"
|
|
item_state = "ointment"
|
|
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/firstaid/fire/fill()
|
|
. = ..()
|
|
icon_state = pick("ointment","firefirstaid")
|
|
|
|
/obj/item/storage/firstaid/regular
|
|
icon_state = "firstaid"
|
|
starts_with = list(
|
|
/obj/item/stack/medical/bruise_pack = 3,
|
|
/obj/item/stack/medical/ointment = 2,
|
|
/obj/item/device/healthanalyzer = 1,
|
|
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1
|
|
)
|
|
|
|
/obj/item/storage/firstaid/toxin
|
|
name = "toxin first aid"
|
|
desc = "Used to treat when you have a high amount of toxins in your body."
|
|
icon_state = "antitoxin"
|
|
item_state = "antitoxin"
|
|
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/firstaid/toxin/fill()
|
|
. = ..()
|
|
icon_state = pick("antitoxin","antitoxfirstaid","antitoxfirstaid2","antitoxfirstaid3")
|
|
|
|
/obj/item/storage/firstaid/o2
|
|
name = "oxygen deprivation kit"
|
|
desc = "A box full of oxygen related goodies."
|
|
icon_state = "o2"
|
|
item_state = "o2"
|
|
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/firstaid/adv
|
|
name = "advanced first-aid kit"
|
|
desc = "Contains advanced medical treatments."
|
|
icon_state = "advfirstaid"
|
|
item_state = "advfirstaid"
|
|
starts_with = list(
|
|
/obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1,
|
|
/obj/item/stack/medical/advanced/bruise_pack = 3,
|
|
/obj/item/stack/medical/advanced/ointment = 2,
|
|
/obj/item/stack/medical/splint = 1
|
|
)
|
|
|
|
/obj/item/storage/firstaid/combat
|
|
name = "combat medical kit"
|
|
desc = "Contains advanced medical treatments."
|
|
icon_state = "bezerk"
|
|
item_state = "bezerk"
|
|
starts_with = list(
|
|
/obj/item/storage/pill_bottle/butazoline = 1,
|
|
/obj/item/storage/pill_bottle/dermaline = 1,
|
|
/obj/item/storage/pill_bottle/dexalin_plus = 1,
|
|
/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/storage/firstaid/surgery
|
|
name = "surgery kit"
|
|
desc = "Contains tools for surgery. Has precise foam fitting for safe transport."
|
|
icon_state = "purplefirstaid"
|
|
item_state = "purplefirstaid"
|
|
use_sound = 'sound/items/storage/briefcase.ogg'
|
|
starts_with = list(
|
|
/obj/item/surgery/bonesetter = 1,
|
|
/obj/item/surgery/cautery = 1,
|
|
/obj/item/surgery/circular_saw = 1,
|
|
/obj/item/surgery/hemostat = 1,
|
|
/obj/item/surgery/retractor = 1,
|
|
/obj/item/surgery/scalpel = 1,
|
|
/obj/item/surgery/surgicaldrill = 1,
|
|
/obj/item/surgery/bonegel = 1,
|
|
/obj/item/surgery/FixOVein = 1,
|
|
/obj/item/stack/medical/advanced/bruise_pack = 1,
|
|
/obj/item/reagent_containers/inhaler/soporific = 2
|
|
)
|
|
|
|
/obj/item/storage/firstaid/surgery/fill()
|
|
..()
|
|
if (!empty)
|
|
make_exact_fit()
|
|
|
|
/obj/item/storage/firstaid/brute
|
|
name = "brute aid kit"
|
|
desc = "A NanoTrasen care package for moderately injured miners."
|
|
icon_state = "brute"
|
|
item_state = "brute"
|
|
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/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)
|
|
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)
|