Files
FalloutFalconandGitHub c0a061c352 You can throw items over cardboard crates (#94290)
## About The Pull Request
Seems like an oversight, just makes it so they inherit normal crate
passflags of `pass_flags_self = PASSSTRUCTURE | LETPASSTHROW`
## Why It's Good For The Game
There sprite is smaller then normal crates. why do they block throwing
things over them
## Changelog
🆑
fix: You can toss things over cardboard crates
/🆑
2025-12-05 00:10:33 +01:00

34 lines
1.1 KiB
Plaintext

/obj/structure/closet/crate/cardboard
name = "cardboard box"
desc = "A box, in which you can place things. Revolutionary, I know."
material_drop = /obj/item/stack/sheet/cardboard
material_drop_amount = 4
custom_materials = list(/datum/material/cardboard = SHEET_MATERIAL_AMOUNT * 4)
icon_state = "cardboard"
base_icon_state = "cardboard"
open_sound = 'sound/items/poster/poster_ripped.ogg'
close_sound = 'sound/machines/cardboard_box.ogg'
open_sound_volume = 25
close_sound_volume = 25
paint_jobs = null
cutting_tool = /obj/item/wirecutters
can_weld_shut = FALSE
lid_icon_state = "cardboardopen"
/obj/structure/closet/crate/cardboard/mothic
name = "\improper Mothic Fleet box"
desc = "For holding moths, presumably."
icon_state = "cardboard_moth"
base_icon_state = "cardboard_moth"
/obj/structure/closet/crate/cardboard/tiziran
name = "\improper Tiziran shipment box"
desc = "For holding lizards, presumably."
icon_state = "cardboard_tiziran"
base_icon_state = "cardboard_tiziran"
/obj/structure/closet/crate/cardboard/update_icon_state()
. = ..()
if(opened)
icon_state = "[base_icon_state]"