mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Add cardboard recycling. (#31937)
* Add cardboard recycling. * Add more cardboard items to the recycling list.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
var/pushed_over = FALSE
|
||||
/// If the cutout actually appears as what it portray and not a discolored version
|
||||
var/deceptive = FALSE
|
||||
materials = list(MAT_CARDBOARD = 10000)
|
||||
|
||||
/obj/item/cardboard_cutout/attack_hand(mob/living/user)
|
||||
if(user.a_intent == INTENT_HELP || pushed_over)
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
name = "Chess Piece"
|
||||
desc = "A generic chess piece used in a game of chess."
|
||||
icon = 'icons/obj/chess.dmi'
|
||||
materials = list(MAT_CARDBOARD = 2000)
|
||||
|
||||
//Black chess pieces.
|
||||
|
||||
|
||||
@@ -554,6 +554,7 @@ GLOBAL_LIST_INIT(cardboard_recipes, list (
|
||||
icon_state = "sheet-card"
|
||||
singular_name = "cardboard sheet"
|
||||
resistance_flags = FLAMMABLE
|
||||
materials = list(MAT_CARDBOARD = MINERAL_MATERIAL_AMOUNT)
|
||||
merge_type = /obj/item/stack/sheet/cardboard
|
||||
|
||||
/obj/item/stack/sheet/cardboard/Initialize(mapload, new_amount, merge)
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -162,6 +162,7 @@
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
throw_speed = 4
|
||||
throw_range = 5
|
||||
materials = list(MAT_CARDBOARD = 2000)
|
||||
|
||||
/obj/item/c_tube/decompile_act(obj/item/matter_decompiler/C, mob/user)
|
||||
qdel(src)
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
resistance_flags = FLAMMABLE
|
||||
drop_sound = 'sound/items/handling/cardboardbox_drop.ogg'
|
||||
pickup_sound = 'sound/items/handling/cardboardbox_pickup.ogg'
|
||||
materials = list(MAT_CARDBOARD = 2000)
|
||||
foldable = /obj/item/stack/sheet/cardboard
|
||||
foldable_amt = 1
|
||||
/// list containing a list of what this box can change into when colored, probably don't want to manually edit this, use `add_to_colorable_lists()`
|
||||
@@ -377,6 +378,7 @@
|
||||
desc = "You could build a fort with this."
|
||||
icon_state = "large_box"
|
||||
w_class = 4 // Big, bulky.
|
||||
materials = list(MAT_CARDBOARD = 8000)
|
||||
foldable_amt = 4
|
||||
storage_slots = 21
|
||||
max_combined_w_class = 42 // 21*2
|
||||
@@ -1212,6 +1214,7 @@
|
||||
icon = 'icons/obj/shell_boxes.dmi'
|
||||
storage_slots = 8
|
||||
appearance_flags = parent_type::appearance_flags | KEEP_TOGETHER
|
||||
materials = list(MAT_CARDBOARD = 4000)
|
||||
can_hold = list(/obj/item/ammo_casing/shotgun)
|
||||
/// What shell do we fill the box with
|
||||
var/shell_type
|
||||
|
||||
Reference in New Issue
Block a user