Looting element for trash piles and more (#17896)

* moved loot tables to element

* fixes

* fixes, and make trashpiles handle single search like loot piles

* cleanup

* var

* proper src

* generic replies

* typo
This commit is contained in:
Will
2025-07-16 18:50:22 -04:00
committed by GitHub
parent e012ce99fa
commit bb85116cb9
11 changed files with 1091 additions and 1011 deletions
+44
View File
@@ -0,0 +1,44 @@
// Contains loads of different types of boxes, which may have items inside!
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/datum/element/lootable/boxes
common_loot = list(
/obj/item/storage/box,
/obj/item/storage/box/beakers,
/obj/item/storage/box/botanydisk,
/obj/item/storage/box/cups,
/obj/item/storage/box/disks,
/obj/item/storage/box/donkpockets,
/obj/item/storage/box/donut,
/obj/item/storage/box/donut/empty,
/obj/item/storage/box/evidence,
/obj/item/storage/box/lights/mixed,
/obj/item/storage/box/lights/tubes,
/obj/item/storage/box/lights/bulbs,
/obj/item/storage/box/injectors,
/obj/item/storage/box/masks,
/obj/item/storage/box/ids,
/obj/item/storage/box/mousetraps,
/obj/item/storage/box/syringes,
/obj/item/storage/box/survival,
/obj/item/storage/box/gloves,
/obj/item/storage/box/PDAs
)
uncommon_loot = list(
/obj/item/storage/box/sinpockets,
/obj/item/ammo_magazine/ammo_box/b12g/practice,
/obj/item/ammo_magazine/ammo_box/b12g/blank,
/obj/item/storage/box/smokes,
/obj/item/storage/box/metalfoam,
/obj/item/storage/box/handcuffs,
/obj/item/storage/box/seccarts,
/obj/item/storage/box/old_syringes,
)
rare_loot = list(
/obj/item/storage/box/flashbangs,
/obj/item/storage/box/empslite,
/obj/item/ammo_magazine/ammo_box/b12g/flash,
/obj/item/ammo_magazine/ammo_box/b12g/stunshell,
/obj/item/storage/box/teargas
)