diff --git a/.github/workflows/ci_suite.yml b/.github/workflows/ci_suite.yml index 216111097fe..444f551de61 100644 --- a/.github/workflows/ci_suite.yml +++ b/.github/workflows/ci_suite.yml @@ -74,12 +74,14 @@ jobs: run: | bash tools/ci/check_grep.sh bash skyrat/tools/skyrat_check_grep.sh # SKYRAT EDIT ADDITION - checking modular_skyrat code + bash modular_zubbers/tools/ci/zubbers_check_grep.sh # BUBBER EDIT ADDITION - checking modular_zubbers code - name: Ticked File Enforcement if: steps.linter-setup.conclusion == 'success' && !cancelled() run: | tools/bootstrap/python tools/ticked_file_enforcement/ticked_file_enforcement.py < tools/ticked_file_enforcement/schemas/tgstation_dme.json tools/bootstrap/python tools/ticked_file_enforcement/ticked_file_enforcement.py < tools/ticked_file_enforcement/schemas/unit_tests.json tools/bootstrap/python tools/ticked_file_enforcement/ticked_file_enforcement.py < tools/ticked_file_enforcement/schemas/modular_skyrat.json # SKYRAT EDIT ADDITION - modular tick enforcement + tools/bootstrap/python tools/ticked_file_enforcement/ticked_file_enforcement.py < tools/ticked_file_enforcement/schemas/modular_zubbers.json # BUBBER EDIT ADDITION - modular tick enforcement - name: Check Define Sanity if: steps.linter-setup.conclusion == 'success' && !cancelled() run: tools/bootstrap/python -m define_sanity.check diff --git a/code/__DEFINES/~~bubber_defines/traits.dm b/code/__DEFINES/~~bubber_defines/traits/declarations.dm similarity index 100% rename from code/__DEFINES/~~bubber_defines/traits.dm rename to code/__DEFINES/~~bubber_defines/traits/declarations.dm diff --git a/modular_zubbers/code/datums/materials/basemats.dm b/modular_zubbers/code/datums/materials/basemats.dm deleted file mode 100644 index 68373603d10..00000000000 --- a/modular_zubbers/code/datums/materials/basemats.dm +++ /dev/null @@ -1,7 +0,0 @@ -/datum/material/silver/on_applied(atom/source, amount, material_flags) - . = ..() - source.AddElement(/datum/element/bane, mob_biotypes = MOB_VAMPIRIC, damage_multiplier = 0.5) - -/datum/material/silver/on_removed(atom/source, amount, material_flags) - . = ..() - source.RemoveElement(/datum/element/bane) diff --git a/modular_zubbers/tools/ci/zubbers_check_grep.sh b/modular_zubbers/tools/ci/zubbers_check_grep.sh new file mode 100644 index 00000000000..0c2f0a3d297 --- /dev/null +++ b/modular_zubbers/tools/ci/zubbers_check_grep.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +#ANSI Escape Codes for colors to increase contrast of errors +RED="\033[0;31m" +GREEN="\033[0;32m" +BLUE="\033[0;34m" +NC="\033[0m" # No Color + +echo -e "${BLUE}Re-running grep checks, but looking in modular_zubbers...${NC}" + +# Run the linters again, but modular zubbers code. +sed "s|code/\*\*/\*\.dm|modular_zubbers/\*\*/\*\.dm|g"