Files
Polaris/code/game/objects/items/weapons/storage/quickdraw.dm
Novacat 80c6493979 Medicine Tweaks (#8157)
* Medicine Tweaks

Mostly, these are based off of notes I have been collecting over the past year or so, and I just got the motivation to actually act on those notes.

- Adminordrazine buffed again
- Myelamine buffed slightly, to reduce the chances of a standard clotting injector failing to treat IB
- Bicaridine Overdose slightly more effective at treating IB
- Inaprovaline metabolizes slower, to make it more useful in its role of patient stabilization
- Bone repair autoinjector changed to a 5u autoinjector with 5u of osteodaxon. Considering how osteodaxon works, 10u is overkill and leaves the patient feeling the side effects for longer than they should.
- Clone loss autoinjector added, patterned off the new bone repair autoinjector. 5u of Rezadone to deal with clone loss. Added to uplink as well as random unknown autoinjector spawners.

* Adjusted percentages and comments

* More Tweaks
2021-06-27 20:49:52 -09:00

108 lines
4.1 KiB
Plaintext

// -----------------------------
// Quickdraw storage
// -----------------------------
//These items are pouches and cases made to be kept in belts or pockets to quickly draw objects from
//Largely inspired by the vest pouches on Colonial Marines
/obj/item/weapon/storage/quickdraw
name = "quickdraw"
desc = "This object should not appear"
//Quickmode
//When set to 0, this storage will operate as a regular storage, and clicking on it while equipped will open it as a storage
//When set to 1, a click while it is equipped will instead move the first item inside it to your hand
var/quickmode = 0
/obj/item/weapon/storage/quickdraw/attack_hand(mob/user as mob)
if(src.loc == user) //If they aren't holding us, we do nothing special
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(quickmode)
var/first_item = contents[1]
if(first_item && !H.get_active_hand()) //Do we have anything to give you?
H.put_in_hands(first_item)
return
if(H.l_store == src && !H.get_active_hand()) //overrides
src.open(user)
return
if(H.r_store == src && !H.get_active_hand())
src.open(user)
return
..() //Nothing special happened, go call the other proc
/obj/item/weapon/storage/quickdraw/verb/toggle_quickdraw()
set name = "Switch Quickdraw Mode"
set category = "Object"
quickmode = !quickmode
switch (quickmode)
if(1)
to_chat(usr, "[src] now draws the first object inside.")
if(0)
to_chat(usr, "[src] now opens as a container.")
/obj/item/weapon/storage/quickdraw/AltClick(mob/user)
..()
if(src.loc == user) //Are they carrying us?
toggle_quickdraw()
// If we start adding more of these, we'll need to make them their own folder. 'til then, this one should be fine.
// -----------------------------
// Syringe case
// -----------------------------
/obj/item/weapon/storage/quickdraw/syringe_case
name = "syringe case"
desc = "A small case for safely carrying sharps around."
icon_state = "syringe_case"
w_class = ITEMSIZE_SMALL
max_w_class = ITEMSIZE_TINY
max_storage_space = ITEMSIZE_TINY * 6 //Capable of holding six syringes
//Can hold syringes and autoinjectors, but also pills if you really wanted. Syringe-shaped objects like pens and cigarettes also fit, but why would you do that?
can_hold = list(/obj/item/weapon/reagent_containers/syringe, /obj/item/weapon/reagent_containers/hypospray/autoinjector,
/obj/item/weapon/reagent_containers/pill, /obj/item/weapon/pen, /obj/item/device/flashlight/pen, /obj/item/clothing/mask/smokable/cigarette)
quickmode = 1 //Starts in quickdraw mode
//Preloaded for your convenience!
starts_with = list(
/obj/item/weapon/reagent_containers/syringe,
/obj/item/weapon/reagent_containers/syringe,
/obj/item/weapon/reagent_containers/syringe,
/obj/item/weapon/reagent_containers/syringe,
/obj/item/weapon/reagent_containers/syringe,
/obj/item/weapon/reagent_containers/syringe
)
/obj/item/weapon/storage/quickdraw/syringe_case/clotting
desc = "A small case for safely carrying sharps around. This one is deluxe!"
max_w_class = ITEMSIZE_SMALL
starts_with = list(
/obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/clotting,
/obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/clotting,
/obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/clotting
)
/obj/item/weapon/storage/quickdraw/syringe_case/bonemed
desc = "A small case for safely carrying sharps around. This one is deluxe!"
max_w_class = ITEMSIZE_SMALL
starts_with = list(
/obj/item/weapon/reagent_containers/hypospray/autoinjector/bonemed,
/obj/item/weapon/reagent_containers/hypospray/autoinjector/bonemed,
/obj/item/weapon/reagent_containers/hypospray/autoinjector/bonemed
)
/obj/item/weapon/storage/quickdraw/syringe_case/clonemed
desc = "A small case for safely carrying sharps around. This one is deluxe!"
max_w_class = ITEMSIZE_SMALL
starts_with = list(
/obj/item/weapon/reagent_containers/hypospray/autoinjector/clonemed,
/obj/item/weapon/reagent_containers/hypospray/autoinjector/clonemed,
/obj/item/weapon/reagent_containers/hypospray/autoinjector/clonemed
)