Files
Alexis 21b4095dfd [MDB IGNORE] [IDB IGNORE] Upstream Sync - 04/17/2026 (#5453)
Upstream 04/17/2026

fixes https://github.com/Bubberstation/Bubberstation/issues/5549

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com>
Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com>
Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com>
Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com>
Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com>
Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com>
Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com>
Co-authored-by: loganuk <fakeemail123@aol.com>
Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com>
Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com>
Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com>
Co-authored-by: Lucy <lucy@absolucy.moe>
Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com>
Co-authored-by: Isratosh <Isratosh@hotmail.com>
Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com>
Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com>
Co-authored-by: Alexander V. <volas@ya.ru>
Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com>
Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com>
Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com>
Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com>
Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com>
Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com>
Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com>
Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com>
Co-authored-by: Josh <josh.adam.powell@gmail.com>
Co-authored-by: Josh Powell <josh.powell@softwire.com>
Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com>
Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com>
Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com>
Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
2026-05-16 00:56:00 +02:00

272 lines
11 KiB
Plaintext

/datum/supply_pack/misc
group = "Miscellaneous Supplies"
/datum/supply_pack/misc/artsupply
name = "Art Supplies"
desc = "Make some happy little accidents with a rapid pipe cleaner layer, \
three spraycans, and lots of crayons!"
cost = CARGO_CRATE_VALUE * 1.8
contains = list(/obj/item/rcl,
/obj/item/storage/toolbox/artistic,
/obj/item/storage/toolbox/crafter,
/obj/item/toy/crayon/spraycan = 3,
/obj/item/storage/crayons,
/obj/item/toy/crayon/white,
/obj/item/toy/crayon/rainbow,
)
crate_name = "art supply crate"
crate_type = /obj/structure/closet/crate/wooden
/datum/supply_pack/misc/tattoo_kit
name = "Tattoo Kit"
desc = "A tattoo kit with some extra starting ink."
cost = CARGO_CRATE_VALUE * 1.8
contains = list(
/obj/item/tattoo_kit,
/obj/item/toner = 2)
crate_name = "tattoo crate"
crate_type = /obj/structure/closet/crate/wooden
discountable = SUPPLY_PACK_STD_DISCOUNTABLE
/datum/supply_pack/misc/bicycle
name = "Bicycle"
desc = "Nanotrasen reminds all employees to never toy with powers outside their control."
cost = 1000000 //Special case, we don't want to make this in terms of crates because having bikes be a million credits is the whole meme.
contains = list(/obj/vehicle/ridden/bicycle)
crate_name = "bicycle crate"
crate_type = /obj/structure/closet/crate/large
discountable = SUPPLY_PACK_RARE_DISCOUNTABLE
/datum/supply_pack/misc/bigband
name = "Big Band Instrument Collection"
desc = "Get your sad station movin' and groovin' with this fine collection! \
Contains nine different instruments!"
cost = CARGO_CRATE_VALUE * 10
crate_name = "Big band musical instruments collection"
contains = list(/obj/item/instrument/violin,
/obj/item/instrument/guitar,
/obj/item/instrument/glockenspiel,
/obj/item/instrument/accordion,
/obj/item/instrument/saxophone,
/obj/item/instrument/trombone,
/obj/item/instrument/recorder,
/obj/item/instrument/harmonica,
/obj/structure/musician/piano/unanchored,
)
crate_type = /obj/structure/closet/crate/wooden
/datum/supply_pack/misc/book_crate
name = "Book Crate"
desc = "Surplus from the Nanotrasen Archives, these seven books are sure to be good reads."
cost = CARGO_CRATE_VALUE * 3
access_view = ACCESS_LIBRARY
contains = list(/obj/item/book/codex_gigas,
/obj/item/book/manual/random = 3,
/obj/item/book/random = 3,
)
crate_type = /obj/structure/closet/crate/wooden
/datum/supply_pack/misc/commandkeys
name = "Command Encryption Key Crate"
desc = "A pack of encryption keys that give access to the command radio network. \
Nanotrasen reminds unauthorized employees not to eavesdrop in on secure communications channels, \
or at least to keep heckling of the command staff to a minimum."
access_view = ACCESS_COMMAND
access = ACCESS_COMMAND
cost = CARGO_CRATE_VALUE * 4
contains = list(/obj/item/encryptionkey/headset_com = 3)
crate_type = /obj/structure/closet/crate/secure/centcom
crate_name = "command encryption key crate"
/datum/supply_pack/misc/exploration_drone
name = "Exploration Drone"
desc = "A replacement long-range exploration drone."
cost = CARGO_CRATE_VALUE * 5
contains = list(/obj/item/exodrone)
crate_name = "exodrone crate"
/datum/supply_pack/misc/exploration_fuel
name = "Drone Fuel Pellet"
desc = "A fresh tank of exploration drone fuel."
cost = CARGO_CRATE_VALUE * 3
contains = list(/obj/item/fuel_pellet)
crate_name = "exodrone fuel crate"
/datum/supply_pack/misc/paper
name = "Bureaucracy Crate"
desc = "High stacks of papers on your desk are a big problem - make it pea-sized with \
these bureaucratic supplies! Contains six pens, some camera film, hand labeler supplies, \
a paper bin, a carbon paper bin, three folders, a laser pointer, two clipboards and two stamps."
cost = CARGO_CRATE_VALUE * 3.2
contains = list(/obj/structure/filingcabinet/chestdrawer/wheeled,
/obj/item/camera_film,
/obj/item/hand_labeler,
/obj/item/hand_labeler_refill = 2,
/obj/item/paper_bin,
/obj/item/paper_bin/carbon,
/obj/item/pen/fourcolor = 2,
/obj/item/pen,
/obj/item/pen/fountain,
/obj/item/pen/blue,
/obj/item/pen/red,
/obj/item/folder/blue,
/obj/item/folder/red,
/obj/item/folder/yellow,
/obj/item/clipboard = 2,
/obj/item/storage/box/stamps,
/obj/item/laser_pointer/purple,
)
crate_name = "bureaucracy crate"
/datum/supply_pack/misc/fountainpens
name = "Calligraphy Crate"
desc = "Sign death warrants in style with these seven executive fountain pens."
cost = CARGO_CRATE_VALUE * 1.45
contains = list(/obj/item/storage/box/fountainpens)
crate_type = /obj/structure/closet/crate/wooden
crate_name = "calligraphy crate"
/datum/supply_pack/misc/wrapping_paper
name = "Festive Wrapping Paper Crate"
desc = "Want to mail your loved ones gift-wrapped chocolates, stuffed animals, the Clown's severed head? \
You can do all that, with this crate full of wrapping paper."
cost = CARGO_CRATE_VALUE * 1.8
contains = list(/obj/item/stack/wrapping_paper)
crate_type = /obj/structure/closet/crate/wooden
crate_name = "festive wrapping paper crate"
/datum/supply_pack/misc/funeral
name = "Funeral Supplies Crate"
desc = "At the end of the day, someone's gonna want someone dead. Give them a proper send-off with these \
funeral supplies! Contains a coffin with burial garments and flowers."
cost = CARGO_CRATE_VALUE * 1.6
access_view = ACCESS_CHAPEL_OFFICE
contains = list(/obj/item/clothing/under/misc/burial,
/obj/item/food/grown/harebell,
/obj/item/food/grown/poppy/geranium,
)
crate_name = "coffin"
crate_type = /obj/structure/closet/crate/coffin
/datum/supply_pack/misc/empty
name = "Empty Supplypod"
desc = "Presenting the New Nanotrasen-Brand Bluespace Supplypod! Transport cargo with grace and ease! \
Call today and we'll shoot over a demo unit for just 300 credits!"
cost = CARGO_CRATE_VALUE * 0.6 //Empty pod, so no crate refund
contains = list()
order_flags = ORDER_POD_ONLY
crate_type = null
special_pod = /obj/structure/closet/supplypod/bluespacepod
/datum/supply_pack/misc/empty/generate(atom/A, datum/bank_account/paying_account, crate_override)
return
/datum/supply_pack/misc/religious_supplies
name = "Religious Supplies Crate"
desc = "Keep your local chaplain happy and well-supplied, lest they call down judgement upon your \
cargo bay. Contains two bottles of holy water, bibles, chaplain robes, and burial garments."
cost = CARGO_CRATE_VALUE * 6 // it costs so much because the Space Church needs funding to build a cathedral
access_view = ACCESS_CHAPEL_OFFICE
contains = list(/obj/item/reagent_containers/cup/glass/bottle/holywater = 2,
/obj/item/book/bible/booze = 2,
/obj/item/clothing/suit/hooded/chaplain_hoodie = 2,
/obj/item/clothing/under/misc/burial = 2,
)
crate_name = "religious supplies crate"
/datum/supply_pack/misc/candles_bulk
name = "Candle Box Crate"
desc = "Keep your local chapel lit with three candle boxes!"
cost = CARGO_CRATE_VALUE * 2
contains = list(/obj/item/storage/fancy/candle_box = 3)
crate_name = "candle box crate"
/datum/supply_pack/misc/toner
name = "Toner Crate"
desc = "Spent too much ink printing butt pictures? Fret not, with these six toner refills, \
you'll be printing butts 'till the cows come home!'"
cost = CARGO_CRATE_VALUE * 2
contains = list(/obj/item/toner = 6)
crate_name = "toner crate"
/datum/supply_pack/misc/toner_large
name = "Toner Crate (Large)"
desc = "Tired of changing toner cartridges? These six extra heavy duty refills contain \
roughly five times as much toner as the base model!"
cost = CARGO_CRATE_VALUE * 6
contains = list(/obj/item/toner/large = 6)
crate_name = "large toner crate"
/datum/supply_pack/misc/training_toolbox
name = "Training Toolbox Crate"
desc = "Hone your combat abiltities with two AURUMILL-Brand Training Toolboxes! \
Guarenteed to count hits made against living beings!"
cost = CARGO_CRATE_VALUE * 2
contains = list(/obj/item/training_toolbox = 2)
crate_name = "training toolbox crate"
///Special supply crate that generates random syndicate gear up to a determined TC value
/datum/supply_pack/misc/syndicate
name = "Assorted Syndicate Gear"
desc = "Contains a random assortment of syndicate gear."
order_flags = ORDER_SPECIAL //Cannot be ordered via cargo
contains = list()
crate_name = "syndicate gear crate"
crate_type = /obj/structure/closet/crate
test_ignored = TRUE
///Total TC worth of contained uplink items
var/crate_value = 30
///What uplink the contents are pulled from
var/contents_uplink_type = UPLINK_TRAITORS
///Generate assorted uplink items, taking into account the same surplus modifiers used for surplus crates
/datum/supply_pack/misc/syndicate/fill(obj/container)
var/list/uplink_items = list()
for(var/datum/uplink_item/item as anything in SStraitor.uplink_items)
if(item.purchasable_from & contents_uplink_type && item.item)
uplink_items += item
while(crate_value)
var/datum/uplink_item/uplink_item = pick(uplink_items)
if(!uplink_item.surplus || prob(100 - uplink_item.surplus))
continue
if(length(uplink_item.restricted_roles) || length(uplink_item.restricted_species))
continue
if(crate_value < uplink_item.cost)
continue
crate_value -= uplink_item.cost
new uplink_item.item(container)
///Syndicate supply crate that can have its contents value changed by admins, uses a seperate datum to avoid having admins touch the original one.
/datum/supply_pack/misc/syndicate/custom_value
/datum/supply_pack/misc/syndicate/custom_value/proc/setup_contents(value, uplink)
crate_value = value
contents_uplink_type = uplink
/datum/supply_pack/misc/papercutter
name = "Paper Cutters Crate"
desc = "Contains 3 office-grade paper cutters, equipped with sharp blades that can cut any paper into two thin slips.\
Comes with one replacement blade."
cost = CARGO_CRATE_VALUE * 3.5
contains = list(
/obj/item/papercutter = 3,
/obj/item/hatchet/cutterblade = 1,
)
crate_name = "paper cutters crate"
/datum/supply_pack/misc/water_cooler
name = "Liquid Cooler - Water"
desc = "A liquid cooler, stocked with the freshest water in all the Periphery. Perfect for wasting time at the office!"
cost = CARGO_CRATE_VALUE * 2
contains = list(/obj/structure/reagent_dispensers/water_cooler/jugless = 1, /obj/item/reagent_containers/cooler_jug/water = 1)
crate_name = "water cooler crate"
/datum/supply_pack/misc/punch_cooler
name = "Liquid Cooler - Fruit Punch"
desc = "A liquid cooler, stocked with exotic fruit punch that can heal injuries! Be sure to remain near the liquid cooler while drinking, for your own health and safety. Seriously, do NOT drink this stuff away from the cooler."
cost = CARGO_CRATE_VALUE * 6
contains = list(/obj/structure/reagent_dispensers/water_cooler/jugless = 1, /obj/item/reagent_containers/cooler_jug/punch = 1)
crate_name = "punch cooler crate"