mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fix closets, crates, and drawers missing material tags (#94273)
## About The Pull Request This adds custom material lists to closets and crates so it shows what materials they are made out of when examined. ## Why It's Good For The Game <img width="603" height="494" alt="dreamseeker_XhFtjANMiX" src="https://github.com/user-attachments/assets/c31e0789-75ce-40d6-a56d-a52f6490da68" /> ## Changelog 🆑 fix: Fix closets, crates, and drawers missing material tags /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,6 @@ GLOBAL_LIST_EMPTY(roundstart_station_closets)
|
||||
contents_thermal_insulation = 0
|
||||
pass_flags_self = PASSSTRUCTURE | LETPASSCLICKS
|
||||
custom_materials = list(/datum/material/iron = SHEET_MATERIAL_AMOUNT * 2)
|
||||
|
||||
/// The overlay for the closet's door
|
||||
var/obj/effect/overlay/closet_door/door_obj
|
||||
/// Whether or not this door is being animated
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
can_weld_shut = 0
|
||||
cutting_tool = /obj/item/wirecutters
|
||||
material_drop = /obj/item/stack/sheet/cardboard
|
||||
material_drop_amount = 4
|
||||
custom_materials = list(/datum/material/cardboard = SHEET_MATERIAL_AMOUNT * 4)
|
||||
delivery_icon = "deliverybox"
|
||||
anchorable = FALSE
|
||||
@@ -119,4 +120,5 @@
|
||||
close_sound = 'sound/machines/crate/crate_close.ogg'
|
||||
open_sound_volume = 35
|
||||
close_sound_volume = 50
|
||||
custom_materials = list(/datum/material/alloy/plasteel = SHEET_MATERIAL_AMOUNT * 4)
|
||||
material_drop = /obj/item/stack/sheet/plasteel
|
||||
|
||||
@@ -9,12 +9,15 @@
|
||||
close_sound_volume = 50
|
||||
max_integrity = 70
|
||||
door_anim_time = 0 // no animation
|
||||
material_drop = /obj/item/stack/sheet/mineral/wood
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 2)
|
||||
|
||||
/obj/structure/closet/acloset
|
||||
name = "strange closet"
|
||||
desc = "It looks alien!"
|
||||
icon_state = "alien"
|
||||
material_drop = /obj/item/stack/sheet/mineral/abductor
|
||||
custom_materials = list(/datum/material/alloy/alien = SHEET_MATERIAL_AMOUNT * 2)
|
||||
|
||||
/obj/structure/closet/gimmick
|
||||
name = "administrative supply closet"
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
open_sound_volume = 25
|
||||
close_sound_volume = 50
|
||||
door_anim_time = 0 // no animation
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 2)
|
||||
material_drop = /obj/item/stack/sheet/mineral/wood
|
||||
|
||||
/obj/structure/closet/secure_closet/personal/cabinet/PopulateContents()
|
||||
new /obj/item/storage/backpack/satchel/leather/withwallet( src )
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/obj/structure/closet/crate/wooden
|
||||
name = "wooden crate"
|
||||
desc = "Works just as well as a metal one."
|
||||
custom_materials = list(/datum/material/wood = SHEET_MATERIAL_AMOUNT * 6)
|
||||
material_drop = /obj/item/stack/sheet/mineral/wood
|
||||
material_drop_amount = 6
|
||||
icon_state = "wooden"
|
||||
|
||||
Reference in New Issue
Block a user