we also don't have this

This commit is contained in:
Letter N
2020-12-29 12:00:33 +08:00
parent 5f964588d8
commit fa99d1f149
+5 -5
View File
@@ -35,11 +35,11 @@ echo "Checking for pixel_[xy]"
if grep -P 'pixel_[xy] = 0' _maps/**/*.dmm; then
echo "pixel_x/pixel_y = 0 variables detected in maps, please review to ensure they are not dirty varedits."
fi;
echo "Checking for stacked cables"
if grep -P '"\w+" = \(\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/area/.+\)' _maps/**/*.dmm; then
echo "found multiple cables on the same tile, please remove them."
st=1
fi;
# echo "Checking for stacked cables"
# if grep -P '"\w+" = \(\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/area/.+\)' _maps/**/*.dmm; then
# echo "found multiple cables on the same tile, please remove them."
# st=1
# fi;
if grep -P '^/area/.+[\{]' _maps/**/*.dmm; then
echo "ERROR: Vareditted /area path use detected in maps, please replace with proper paths."
st=1