Add cardboard recycling. (#31937)

* Add cardboard recycling.

* Add more cardboard items to the recycling list.
This commit is contained in:
Alan
2026-05-02 00:47:14 +00:00
committed by GitHub
parent ec94e655b8
commit b0a8b84dbf
14 changed files with 29 additions and 1 deletions
+9
View File
@@ -58,6 +58,7 @@
can_hold = list(/obj/item/food/donut)
foldable = /obj/item/stack/sheet/cardboard
foldable_amt = 1
materials = list(MAT_CARDBOARD = 2000)
/obj/item/storage/fancy/donut_box/update_overlays()
. = ..()
@@ -111,6 +112,7 @@
storage_slots = 5
throwforce = 2
slot_flags = ITEM_SLOT_BELT
materials = list(MAT_CARDBOARD = 1000)
/obj/item/storage/fancy/candle_box/Initialize(mapload)
. = ..()
@@ -141,6 +143,7 @@
can_hold = list(
/obj/item/toy/crayon
)
materials = list(MAT_CARDBOARD = 1000)
/obj/item/storage/fancy/crayons/populate_contents()
new /obj/item/toy/crayon/white(src)
@@ -201,6 +204,7 @@
drop_sound = 'sound/items/handling/matchbox_drop.ogg'
pickup_sound = 'sound/items/handling/matchbox_pickup.ogg'
can_hold = list(/obj/item/match)
materials = list(MAT_CARDBOARD = 500)
/obj/item/storage/fancy/matches/populate_contents()
for(var/I in 1 to storage_slots)
@@ -245,6 +249,7 @@
icon_type = "cigarette"
var/cigarette_slogan = "The preferred brand of coders and developers."
var/cigarette_type = /obj/item/clothing/mask/cigarette
materials = list(MAT_CARDBOARD = 500)
/obj/item/storage/fancy/cigarettes/examine(mob/user)
. = ..()
@@ -461,6 +466,7 @@
can_hold = list(/obj/item/clothing/mask/cigarette/cigar)
icon_type = "cigar"
var/cigar_type = /obj/item/clothing/mask/cigarette/cigar
materials = list(MAT_CARDBOARD = 2000)
/obj/item/storage/fancy/cigars/populate_contents()
for(var/I in 1 to storage_slots)
@@ -589,6 +595,9 @@
icon_type = "juice carton"
appearance_flags = parent_type::appearance_flags | KEEP_TOGETHER
can_hold = list(/obj/item/reagent_containers/drinks/carton)
materials = list(MAT_CARDBOARD = 2000)
foldable = /obj/item/stack/sheet/cardboard
foldable_amt = 1
/obj/item/storage/fancy/juice_boxes/update_icon_state()
return
@@ -380,6 +380,7 @@
rapid_intake_message = "flips the lid of the patch pack open and begins rapidly stamping patches on themselves!"
rapid_post_instake_message = "stamps the entire contents of the patch pack all over their entire body!"
wrapper_state = "patch_pack_wrap"
materials = list(MAT_CARDBOARD = 4000)
/obj/item/storage/pill_bottle/charcoal
name = "Pill bottle (Charcoal)"