Adds Marooning Equipment (#14630)

This commit is contained in:
SleepyGemmy
2022-08-22 13:52:33 +02:00
committed by GitHub
parent b191d68b49
commit e5b04475de
8 changed files with 105 additions and 17 deletions
@@ -155,6 +155,20 @@
..()
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."
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
)
/*
* Pill Bottles
*/
@@ -40,6 +40,15 @@
icon_state = "oxygen_br"
item_state = "oxygen_br"
/obj/item/tank/oxygen/marooning_equipment
name = "marooning oxygen tank"
desc = "A tank of oxygen, this one is yellow. Issued to marooned personnel."
icon_state = "oxygen_f"
item_state = "oxygen_f"
/obj/item/tank/oxygen/marooning_equipment/adjust_initial_gas()
air_contents.adjust_gas(GAS_OXYGEN, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
/*
* Anesthetic
*/
@@ -87,3 +87,37 @@
togglelock(usr)
else
to_chat(usr, SPAN_WARNING("This mob type can't use this verb."))
// Marooning Equipment
/obj/structure/closet/secure_closet/marooning_equipment
name = "marooning equipment locker"
icon_state = "maroon"
req_one_access = list(access_security, access_heads) // Marooned personnel would likely be marooned by security and/or command.
/obj/structure/closet/secure_closet/marooning_equipment/fill()
new /obj/item/clothing/mask/breath(src)
new /obj/item/clothing/under/color/yellow(src)
new /obj/item/clothing/shoes/workboots/grey(src)
new /obj/item/clothing/head/helmet/space/emergency/marooning_equipment(src)
new /obj/item/clothing/suit/space/emergency/marooning_equipment(src)
new /obj/item/tank/oxygen/marooning_equipment(src)
new /obj/item/storage/backpack/duffel/marooning_equipment(src)
/obj/item/storage/backpack/duffel/marooning_equipment
name = "marooning equipment duffel bag"
desc = "A duffel bag full of marooning equipment."
starts_with = list(
/obj/item/crowbar/red = 1,
/obj/item/device/flashlight/heavy = 1,
/obj/item/device/gps/marooning_equipment = 1,
/obj/item/airbubble = 1,
// Rations
/obj/item/storage/box/fancy/mre/menu5 = 1,
/obj/item/storage/box/fancy/mre/menu9 = 1,
/obj/item/reagent_containers/food/drinks/waterbottle = 4,
// Medical Supplies
/obj/item/storage/firstaid/marooning_equipment = 1,
/obj/item/storage/firstaid/o2 = 1
)