From 6548afb24633b16b18aa01c7747485fcd89d0857 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Fri, 19 Apr 2024 13:35:04 -0400 Subject: [PATCH] ci: add maplint for stacked tables (#25049) --- _maps/map_files/RandomRuins/SpaceRuins/wreckedcargoship.dmm | 1 - _maps/map_files/stations/cerestation.dmm | 1 - _maps/map_files/stations/metastation.dmm | 2 -- tools/maplint/lints/multiple_tables.yml | 3 +++ 4 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 tools/maplint/lints/multiple_tables.yml diff --git a/_maps/map_files/RandomRuins/SpaceRuins/wreckedcargoship.dmm b/_maps/map_files/RandomRuins/SpaceRuins/wreckedcargoship.dmm index ce3aad34e22..83d5f5fefa8 100644 --- a/_maps/map_files/RandomRuins/SpaceRuins/wreckedcargoship.dmm +++ b/_maps/map_files/RandomRuins/SpaceRuins/wreckedcargoship.dmm @@ -214,7 +214,6 @@ /area/ruin/space/wreck_cargoship) "jb" = ( /obj/structure/table, -/obj/structure/table, /obj/item/paper{ name = "management's directive"; info = "Good day Captain Hardie. Your ship has been assigned to carry an extremely delicate cargo due to an unfortunate scheduling issue in behalf of our custormers. You will find the additional information on transporting procedure of this extremely delicate cargo attached to it. Management believes you will not mind this rather unconvenient last minute change after what happened last time. Make sure you and your crew doesn't mess it up this time as we hate to compensate the expenses from our esteemed already-in-debt employees. Pick the cargo from next destination and safely deliver it where it has to go." diff --git a/_maps/map_files/stations/cerestation.dmm b/_maps/map_files/stations/cerestation.dmm index 2a03e9c68b6..c34ea62d2eb 100644 --- a/_maps/map_files/stations/cerestation.dmm +++ b/_maps/map_files/stations/cerestation.dmm @@ -96586,7 +96586,6 @@ /area/station/security/prison/cell_block/A) "xVY" = ( /obj/structure/table/wood, -/obj/structure/table/wood, /obj/item/eftpos, /turf/simulated/floor/carpet/black, /area/station/service/chapel) diff --git a/_maps/map_files/stations/metastation.dmm b/_maps/map_files/stations/metastation.dmm index 1d78a0d6871..3502fc97245 100644 --- a/_maps/map_files/stations/metastation.dmm +++ b/_maps/map_files/stations/metastation.dmm @@ -83619,7 +83619,6 @@ /area/station/public/fitness) "tHm" = ( /obj/structure/table/reinforced, -/obj/structure/table/reinforced, /obj/item/gavelblock, /obj/item/gavelhammer, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -92078,7 +92077,6 @@ /area/station/hallway/secondary/exit) "xtZ" = ( /obj/structure/table, -/obj/structure/table, /obj/item/wrench, /obj/item/crowbar, /obj/item/radio/intercom{ diff --git a/tools/maplint/lints/multiple_tables.yml b/tools/maplint/lints/multiple_tables.yml new file mode 100644 index 00000000000..0925fd843b0 --- /dev/null +++ b/tools/maplint/lints/multiple_tables.yml @@ -0,0 +1,3 @@ +/obj/structure/table: + banned_neighbors: + - /obj/structure/table