From cbb309c8e8e4408d61da5e84edaf244193bdca4b Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Thu, 10 Oct 2019 06:44:37 -0700 Subject: [PATCH] Clean up copy/paste cruft --- modern/src/maki-interpreter/tools/extract-attributes.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modern/src/maki-interpreter/tools/extract-attributes.js b/modern/src/maki-interpreter/tools/extract-attributes.js index f3ef6267..288126f8 100755 --- a/modern/src/maki-interpreter/tools/extract-attributes.js +++ b/modern/src/maki-interpreter/tools/extract-attributes.js @@ -2,15 +2,10 @@ const fs = require("fs"); const path = require("path"); -const parse = require("../parser").default; const JSZip = require("jszip"); const Utils = require("../../utils"); -const { getClass, getFunctionObject, getFormattedId } = require("../objects"); const glob = require("glob"); -const CALL_OPCODES = new Set([24, 112]); -const SKIN_FILENAME_BLACKLIST = new Set(["Fuzzy_Muffins.wal"]); - function findWals(parentDir) { return new Promise((resolve, reject) => { glob("**/cPro2_Aluminum_1_1.wal", { cwd: parentDir }, (err, files) => { @@ -68,10 +63,6 @@ async function main(parentDir) { // one at a time for some reason. ¯\_(ツ)_/¯ for (const walPath of paths) { try { - const fileName = path.basename(walPath); - if (SKIN_FILENAME_BLACKLIST.has(fileName)) { - continue; - } console.error(`Working on ${walPath}`); attributeData.push(...(await getAttributeDataFromWal(walPath))); } catch (e) {