we do NOT have this

This commit is contained in:
Letter N
2020-12-29 11:59:55 +08:00
parent 51c595f179
commit 5f964588d8
+9 -9
View File
@@ -22,15 +22,15 @@ if grep -P 'pixel_[^xy]' _maps/**/*.dmm; then
echo "ERROR: incorrect pixel offset variables detected in maps, please remove them."
st=1
fi;
echo "Checking for cable varedits"
if grep -P '/obj/structure/cable(/\w+)+\{' _maps/**/*.dmm; then
echo "ERROR: vareditted cables detected, please remove them."
st=1
fi;
if grep -P '\td[1-2] =' _maps/**/*.dmm; then
echo "ERROR: d1/d2 cable variables detected in maps, please remove them."
st=1
fi;
# echo "Checking for cable varedits"
# if grep -P '/obj/structure/cable(/\w+)+\{' _maps/**/*.dmm; then
# echo "ERROR: vareditted cables detected, please remove them."
# st=1
# fi;
# if grep -P '\td[1-2] =' _maps/**/*.dmm; then
# echo "ERROR: d1/d2 cable variables detected in maps, please remove them."
# st=1
# fi;
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."