From 567ac011fcbf79d89ad6021cf9ed83d38411e005 Mon Sep 17 00:00:00 2001 From: Jaraci <57604458+Jaraci@users.noreply.github.com> Date: Wed, 28 Apr 2021 15:43:33 +0100 Subject: [PATCH] Adds more emergency equipment to survival boxes (#11712) --- .../objects/items/weapons/storage/boxes.dm | 29 +++++++++++-- html/changelogs/omicega-fdsfdsfdsfs.yml | 41 +++++++++++++++++++ 2 files changed, 66 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/omicega-fdsfdsfdsfs.yml diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index 1da149596e7..90e451929a5 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -127,10 +127,31 @@ desc = "A faithful box that will remain with you, no matter where you go, and probably save you." icon_state = "e_box" autodrobe_no_remove = 1 - starts_with = list(/obj/item/clothing/mask/breath = 1, - /obj/item/tank/emergency_oxygen = 1, - /obj/item/device/flashlight/flare/glowstick/red = 1 - ) + max_storage_space = 14 + can_hold = list( + /obj/item/clothing/mask, + /obj/item/tank/emergency_oxygen, + /obj/item/device/flashlight/flare/glowstick, + /obj/item/stack/medical, + /obj/item/reagent_containers/hypospray/autoinjector, + /obj/item/reagent_containers/inhaler, + /obj/item/device/oxycandle, + /obj/item/extinguisher/mini, + /obj/item/device/radio, + /obj/item/device/flashlight, + /obj/item/reagent_containers/food/drinks/flask, + /obj/item/storage/box/fancy/cigarettes, + /obj/item/flame/lighter, + /obj/item/disk/nuclear + ) + starts_with = list( + /obj/item/clothing/mask/breath = 1, + /obj/item/tank/emergency_oxygen = 1, + /obj/item/device/oxycandle = 1, + /obj/item/device/flashlight/flare/glowstick/red = 1, + /obj/item/stack/medical/bruise_pack = 1, + /obj/item/reagent_containers/hypospray/autoinjector/inaprovaline = 1 + ) /obj/item/storage/box/survival/fill() ..() diff --git a/html/changelogs/omicega-fdsfdsfdsfs.yml b/html/changelogs/omicega-fdsfdsfdsfs.yml new file mode 100644 index 00000000000..4c50ad1643e --- /dev/null +++ b/html/changelogs/omicega-fdsfdsfdsfs.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: Omicega + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Beefed up the emergency boxes with more emergency equipment."