Fixes a bunch map log runtimes, adds CI to catch some more potential map issues (#64599)

* Fixes APC offsets in template maps, airlock note placer helper

* also hellfactory

* remove doubled lavaland mining cable

* Updates CI grep checks for cable check to work, and also check lattices and identical pipes

* Add APC pixel offset checking

* mass apc offset fixes
This commit is contained in:
Tastyfish
2022-02-02 05:24:53 -08:00
committed by GitHub
parent 8671a286ff
commit 2687a76c5a
24 changed files with 117 additions and 131 deletions
+4
View File
@@ -538,12 +538,14 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_lava)
if(note_path && !istype(note_path, /obj/item/paper)) //don't put non-paper in the paper slot thank you
log_mapping("[src] at [x],[y] had an improper note_path path, could not place paper note.")
qdel(src)
return
if(locate(/obj/machinery/door/airlock) in turf)
var/obj/machinery/door/airlock/found_airlock = locate(/obj/machinery/door/airlock) in turf
if(note_path)
found_airlock.note = note_path
found_airlock.update_appearance()
qdel(src)
return
if(note_info)
var/obj/item/paper/paper = new /obj/item/paper(src)
if(note_name)
@@ -553,8 +555,10 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_lava)
paper.forceMove(found_airlock)
found_airlock.update_appearance()
qdel(src)
return
log_mapping("[src] at [x],[y] had no note_path or note_info, cannot place paper note.")
qdel(src)
return
log_mapping("[src] at [x],[y] could not find an airlock on current turf, cannot place paper note.")
qdel(src)