mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 12:03:00 +01:00
tl;dr refactors supplypacks to a new system - all access locks yanked from crates other than the ones that actually need to be locked - preps system for reworks, translates stuff over to a new format - adds unified subsystem parsing & support for other descriptors for cargo crate contents other than typepath
7 lines
299 B
Plaintext
7 lines
299 B
Plaintext
/datum/event/shipping_error/start()
|
|
var/datum/supply_order/O = new /datum/supply_order()
|
|
O.ordernum = SSsupply.ordernum
|
|
O.object = SSsupply.legacy_supply_packs[pick(SSsupply.legacy_supply_packs)]
|
|
O.ordered_by = random_name(pick(MALE,FEMALE), species = SPECIES_HUMAN)
|
|
SSsupply.shoppinglist += O
|