An Actual Surgical tray (#23297)

* Delete Table

* File + Sprite

* table list

* Comment

* MAP QUEUE AAAAAAAAAAAAAAA

* space ruins and shuttle

* Map Update + Fix

MAPDIFF is GOD

* Revert "table list"

This reverts commit ba57c7d172.

* Revert "Delete Table"

This reverts commit fa35ef12e8.

* Added back the tray table

* meta merge conflict

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
Deniz
2024-01-09 15:11:07 +00:00
committed by GitHub
co-authored by S34N
parent 77f5e47ebb
commit f5c6bbb28c
10 changed files with 21521 additions and 21757 deletions
@@ -0,0 +1,41 @@
// Sprites from CM13
/obj/item/storage/surgical_tray
name = "surgical tray"
desc = "A small metallic tray covered in sterile tarp. Intended to store surgical tools in a neat and clean fashion."
icon_state = "surgical_tray"
storage_slots = 22 // 11 Items, x2 to be sure
max_w_class = WEIGHT_CLASS_GIGANTIC
max_combined_w_class = 38 // Items listed add up to 19, x2 to be sure
can_hold = list(
/obj/item/scalpel,
/obj/item/cautery,
/obj/item/hemostat,
/obj/item/retractor,
/obj/item/FixOVein,
/obj/item/surgicaldrill,
/obj/item/circular_saw,
/obj/item/bonegel,
/obj/item/bonesetter,
/obj/item/stack/medical/bruise_pack,
/obj/item/stack/medical/ointment
)
/obj/item/storage/surgical_tray/Initialize(mapload)
. = ..()
new /obj/item/scalpel(src)
new /obj/item/cautery(src)
new /obj/item/hemostat(src)
new /obj/item/retractor(src)
new /obj/item/FixOVein(src)
new /obj/item/surgicaldrill(src)
new /obj/item/circular_saw(src)
new /obj/item/bonegel(src)
new /obj/item/bonesetter(src)
new /obj/item/stack/medical/bruise_pack/advanced(src)
new /obj/item/stack/medical/ointment/advanced(src)
/obj/item/storage/surgical_tray/update_icon_state()
if(!contents.len)
icon_state = "surgical_tray_e"
else
icon_state = "surgical_tray"