Files
S.P.L.U.R.T-Station-13/modular_splurt/code/game/object/structures/tables_racks.dm
BongaTheProto 6950996460 crawling under + no under (lol)
- crawling under tables
- no more unders spawn with jumpsuits (?)
2022-04-26 17:10:31 -05:00

58 lines
2.0 KiB
Plaintext

//Main code edits
/obj/structure/table/ComponentInitialize()
. = ..()
AddElement(/datum/element/crawl_under)
/obj/structure/table/CanPass(atom/movable/mover, turf/target)
if(mover.pass_flags & PASSCRAWL)
return TRUE
return ..()
/obj/structure/table/glass/check_break(mob/living/M)
if(M.pass_flags & PASSCRAWL)
return
. = ..()
//Own stuff
/obj/structure/table/wood/shadow
name = "shadow wood table"
icon = 'modular_splurt/icons/obj/smooth_structures/table_shadow.dmi'
icon_state = "table_shadow"
frame = /obj/structure/table_frame/shadow_wood
framestack = /obj/item/stack/sheet/mineral/wood/shadow
buildstack = /obj/item/stack/sheet/mineral/wood/shadow
canSmoothWith = list(/obj/structure/table/wood/shadow,
/obj/structure/table/wood/poker/shadow
)
/obj/structure/table/wood/mushroom
name = "mushroom table"
desc = "A pinkish table. And is fireproof!"
icon = 'modular_splurt/icons/obj/smooth_structures/table_mushwood.dmi'
icon_state = "table_mushwood"
frame = /obj/structure/table_frame/mushwood
framestack = /obj/item/stack/sheet/mineral/wood/mushroom
buildstack = /obj/item/stack/sheet/mineral/wood/mushroom
resistance_flags = FIRE_PROOF
canSmoothWith = list(/obj/structure/table/wood/mushroom,
/obj/structure/table/wood/poker/mushroom
)
/obj/structure/table/wood/poker/shadow //No specialties, Just a mapping object.
icon = 'modular_splurt/icons/obj/smooth_structures/poker_table_shadow.dmi'
icon_state = "poker_shadow"
frame = /obj/structure/table_frame/shadow_wood
framestack = /obj/item/stack/sheet/mineral/wood/shadow
canSmoothWith = list(/obj/structure/table/wood/shadow,
/obj/structure/table/wood/poker/shadow
)
/obj/structure/table/wood/poker/mushroom
icon = 'modular_splurt/icons/obj/smooth_structures/poker_table_mushwood.dmi'
icon_state = "poker_mush"
frame = /obj/structure/table_frame/mushwood
framestack = /obj/item/stack/sheet/mineral/wood/mushroom
canSmoothWith = list(/obj/structure/table/wood/mushroom,
/obj/structure/table/wood/poker/mushroom
)