mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
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 commitba57c7d172. * Revert "Delete Table" This reverts commitfa35ef12e8. * Added back the tray table * meta merge conflict --------- Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user