Dmitry S лет назад: 4
Сommit
6b714e8479
32 измененных файлов с 261 добавлено и 0 удалено
  1. 3 0
      .gitignore
  2. BIN
      Abnormalities/Abnormality-Icons/Adrenalinesyringe.png
  3. BIN
      Abnormalities/Abnormality-Icons/Angerwarrior.png
  4. BIN
      Abnormalities/Abnormality-Icons/Chevranwine.png
  5. BIN
      Abnormalities/Abnormality-Icons/Confusedown.png
  6. BIN
      Abnormalities/Abnormality-Icons/Darkeffect.png
  7. BIN
      Abnormalities/Abnormality-Icons/Darkriftdestroy.png
  8. BIN
      Abnormalities/Abnormality-Icons/Freelandbeer.png
  9. BIN
      Abnormalities/Abnormality-Icons/Fruitwine.png
  10. BIN
      Abnormalities/Abnormality-Icons/Fullelectriceffect.png
  11. BIN
      Abnormalities/Abnormality-Icons/Immunedebuff.png
  12. BIN
      Abnormalities/Abnormality-Icons/Invisiblepotion.png
  13. BIN
      Abnormalities/Abnormality-Icons/Lighteffect.png
  14. BIN
      Abnormalities/Abnormality-Icons/Manaregeneration.png
  15. BIN
      Abnormalities/Abnormality-Icons/Minusmove.png
  16. BIN
      Abnormalities/Abnormality-Icons/Moonpumpkin.png
  17. BIN
      Abnormalities/Abnormality-Icons/Nothing.png
  18. BIN
      Abnormalities/Abnormality-Icons/Plusattack.png
  19. BIN
      Abnormalities/Abnormality-Icons/Plusfocus.png
  20. BIN
      Abnormalities/Abnormality-Icons/Poisondown.png
  21. BIN
      Abnormalities/Abnormality-Icons/Powerful.png
  22. BIN
      Abnormalities/Abnormality-Icons/Rootbeer.png
  23. BIN
      Abnormalities/Abnormality-Icons/Skylotus.png
  24. BIN
      Abnormalities/Abnormality-Icons/Socialcry.png
  25. BIN
      Abnormalities/Abnormality-Icons/Traversecut.png
  26. 52 0
      Abnormalities/Readme.md
  27. 42 0
      Readme.md
  28. 65 0
      index.js
  29. 34 0
      manifest.json
  30. 15 0
      module.json
  31. 23 0
      settings_migrator.js
  32. 27 0
      settings_structure.js

+ 3 - 0
.gitignore

@@ -0,0 +1,3 @@
+.eslintrc.json
+manifest-generator.bat
+manifest-generator.js

BIN
Abnormalities/Abnormality-Icons/Adrenalinesyringe.png


BIN
Abnormalities/Abnormality-Icons/Angerwarrior.png


BIN
Abnormalities/Abnormality-Icons/Chevranwine.png


BIN
Abnormalities/Abnormality-Icons/Confusedown.png


BIN
Abnormalities/Abnormality-Icons/Darkeffect.png


BIN
Abnormalities/Abnormality-Icons/Darkriftdestroy.png


BIN
Abnormalities/Abnormality-Icons/Freelandbeer.png


BIN
Abnormalities/Abnormality-Icons/Fruitwine.png


BIN
Abnormalities/Abnormality-Icons/Fullelectriceffect.png


BIN
Abnormalities/Abnormality-Icons/Immunedebuff.png


BIN
Abnormalities/Abnormality-Icons/Invisiblepotion.png


BIN
Abnormalities/Abnormality-Icons/Lighteffect.png


BIN
Abnormalities/Abnormality-Icons/Manaregeneration.png


BIN
Abnormalities/Abnormality-Icons/Minusmove.png


BIN
Abnormalities/Abnormality-Icons/Moonpumpkin.png


BIN
Abnormalities/Abnormality-Icons/Nothing.png


BIN
Abnormalities/Abnormality-Icons/Plusattack.png


BIN
Abnormalities/Abnormality-Icons/Plusfocus.png


BIN
Abnormalities/Abnormality-Icons/Poisondown.png


BIN
Abnormalities/Abnormality-Icons/Powerful.png


BIN
Abnormalities/Abnormality-Icons/Rootbeer.png


BIN
Abnormalities/Abnormality-Icons/Skylotus.png


BIN
Abnormalities/Abnormality-Icons/Socialcry.png


BIN
Abnormalities/Abnormality-Icons/Traversecut.png


+ 52 - 0
Abnormalities/Readme.md

@@ -0,0 +1,52 @@
+### I wasn't able to find all abnormality icons so I replaced some with question markers.
+
+---
+
+  ID   | Type | Image | Effect
+ :---: | :---: | :---: | :---:
+4850 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Plusfocus.png?raw=true) | Makes your screen a little bit darker than normal.
+10306 | Crystal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Powerful.png?raw=true) | Crystal refresh message in the middle of your screen.
+10316 | Crystal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Powerful.png?raw=true) | Crystal refresh message in the middle of your screen.
+12001 | Crystal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Manaregeneration.png?raw=true) | Crystal refresh message in the middle of your screen.
+12003 | Crystal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Manaregeneration.png?raw=true) | Crystal refresh message in the middle of your screen.
+12120 | Crystal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Manaregeneration.png?raw=true) | Crystal refresh message in the middle of your screen.
+12130 | Crystal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Manaregeneration.png?raw=true) | Crystal refresh message in the middle of your screen.
+48732 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Confusedown.png?raw=true) | Icy effect over the edges of your screen.
+48734 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Poisondown.png?raw=true) | Drunk screen effect over an certain amount of time.
+48735 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Poisondown.png?raw=true) | Drunk screen effect over an certain amount of time.
+48736 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Poisondown.png?raw=true) | Drunk screen effect over an certain amount of time.
+48737 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Poisondown.png?raw=true) | Drunk screen effect over an certain amount of time.
+48738 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Poisondown.png?raw=true) | Drunk screen effect over an certain amount of time.
+70251 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Freelandbeer.png?raw=true) | Drunk screen effect over an certain amount of time.
+70252 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Chevranwine.png?raw=true) | Drunk screen effect over an certain amount of time.
+70253 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Skylotus.png?raw=true) | Drunk screen effect over an certain amount of time.
+70254 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Rootbeer.png?raw=true) | Drunk screen effect over an certain amount of time.
+70255 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Moonpumpkin.png?raw=true) | Drunk screen effect over an certain amount of time.
+70256 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Fruitwine.png?raw=true) | Drunk screen effect over an certain amount of time.
+70465 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Adrenalinesyringe.png?raw=true) | Drunk screen effect over an certain amount of time.
+101300 | Skill | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Traversecut.png?raw=true) | Skill refresh message and showing stacks in the buff bar.
+101301 | Skill | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Traversecut.png?raw=true) | Skill refresh message and showing stacks in the buff bar.
+476806 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Darkriftdestroy.png?raw=true) | Shadow effect over the edges of your screen.
+630201 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Immunedebuff.png?raw=true)  | Icy effect over the edges of your screen.
+630202 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Immunedebuff.png?raw=true) | Flying guardian mission abnormality.
+630411 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Can't find anthing about this one maybe outdated.
+630511 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Can't find anthing about this one maybe outdated.
+631002 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Fullelectriceffect.png?raw=true)  | Pink effect over the edges of your screen.
+631003 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Can't find anthing about this one maybe outdated.
+631201 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Immunedebuff.png?raw=true) | Flying guardian mission abnormality.
+631202 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Immunedebuff.png?raw=true) | Flying guardian mission abnormality.
+776017 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Angerwarrior.png?raw=true) | Light blue overlay over your screen.
+806001 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Bloody effect over the edges of your screen.
+806002 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Removes the bloody effect over the edges of your screen.
+811061 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Invisiblepotion.png?raw=true) | Drunk screen effect over an certain amount of time.
+821101 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Socialcry.png?raw=true) | Shadow effect over the edges of your screen.
+905656 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Shadow effect over the edges of your screen.
+905657 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Makes your screen white over an certain amount of time.
+7102001 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Nothing.png?raw=true) | Bloody effect over the edges of your screen.
+45000011 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Minusmove.png?raw=true) | Makes your screen shaking like hell.
+45000012 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Plusattack.png?raw=true) | Aura effect around your character.
+47660800 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Darkeffect.png?raw=true) | Makes your screen black over an certain amount of time.
+47660900 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Lighteffect.png?raw=true) | Makes your screen white over an certain amount of time.
+47661000 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Darkeffect.png?raw=true) | Makes your screen black over an certain amount of time.
+47662300 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Darkeffect.png?raw=true) | Makes your screen black over an certain amount of time.
+999001011 | Abnormal | ![Image didn't load... try refresh](/Abnormalities/Abnormality-Icons/Darkeffect.png?raw=true) | Makes your screen black over an certain amount of time.

+ 42 - 0
Readme.md

@@ -0,0 +1,42 @@
+## Tera proxy module to remove useless effects from your screen.
+
+---
+
+## Console Command
+- Type `/8 block abnormal` to enable or disable screen effect abnormalities. Enabled by default.
+- Type `/8 block crystal` to enable or disable crystal refresh messages. Enabled by default.
+- Type `/8 block zoom` to enable or disable blocking of zoom scripts. Enabled by default.
+- Type `/8 block scene` to enable or disable blocking of cutscenes. Enabled by default.
+- Type `/8 block skill` to enable or disable skill refresh effects. Enabled by default.
+    - Should only be enabled with custom cooldown interface.
+
+---
+
+## Interface Command
+- Type `/8 block config` to enable or disable the functions written above.
+
+---
+
+## Configuration
+- If you want to edit the config you need to start proxy and go to server selection.
+    - Will be generated afterwards in the modules folder.
+
+---
+
+- A list of things that can be edited can be found here. Only for experienced users.
+    - Abnormalblock => Blacklist for blocking effects on your screen.
+    - Crystalblock => Blacklist for blocking messages on your screen.
+    - Skillblock => Blacklist for blocking messages on your screen.
+
+---
+
+## Abnormalinfo
+- [Abnormality Overview](https://github.com/neowutran/TeraDpsMeterData/tree/master/hotdot)
+
+---
+
+## Note
+- An abnormality overview for the default abnormals can be found here [Abnormality Overview](https://github.com/Tera-Shiraneko/monitor-control/tree/master/Abnormalities).
+- An download link for tera custom cooldowns can be found here [Tera Custom Cooldowns](https://github.com/Foglio1024/Tera-custom-cooldowns/releases).
+- If you are using blockskill without custom cooldown interface skill stacks wont be shown.
+    - Only if the id is added in the blacklist. Can be disabled via command above.

+ 65 - 0
index.js

@@ -0,0 +1,65 @@
+const SettingsUI = require('tera-mod-ui').Settings;
+
+module.exports = function Monitorcontrol(mod) {
+
+    mod.command.add('block', (arg_1) => {
+        if (arg_1 === 'scene') {
+            mod.settings.blockscene = !mod.settings.blockscene;
+            mod.command.message(`Blocking of cutscenes is now ${mod.settings.blockscene ? 'enabled' : 'disabled'}.`);
+        }
+        else if (arg_1 === 'zoom') {
+            mod.settings.blockzoom = !mod.settings.blockzoom;
+            mod.command.message(`Blocking of zoom scripts is now ${mod.settings.blockzoom ? 'enabled' : 'disabled'}.`);
+        }
+        else if (arg_1 === 'abnormal') {
+            mod.settings.blockabnormality = !mod.settings.blockabnormality;
+            mod.command.message(`Blocking screen abnormalities is now ${mod.settings.blockabnormality ? 'enabled' : 'disabled'}.`);
+        }
+        else if (arg_1 === 'crystal') {
+            mod.settings.blockcrystal = !mod.settings.blockcrystal;
+            mod.command.message(`Blocking crystal refresh messages is now ${mod.settings.blockcrystal ? 'enabled' : 'disabled'}.`);
+        }
+        else if (arg_1 === 'skill') {
+            mod.settings.blockskill = !mod.settings.blockskill;
+            mod.command.message(`Blocking skill refresh effects is now ${mod.settings.blockskill ? 'enabled' : 'disabled'}.`);
+        }
+        else if (arg_1 === 'config') {
+            if (ui) {
+                ui.show();
+            }
+        }
+    });
+
+    mod.hook('S_PLAY_MOVIE', 1, (event) => {
+        if (mod.settings.blockscene) {
+            mod.send('C_END_MOVIE', 1, Object.assign({unk: 1}, event));
+            return false;
+        }
+    });
+
+    mod.hook('S_START_ACTION_SCRIPT', 3, (event) => {
+        if (mod.settings.blockzoom && event.script > 0) return false;
+    });
+
+    mod.hook('S_ABNORMALITY_BEGIN', 3, {order: 1000, filter: {fake: null}}, (event) => {
+        if (mod.settings.blockabnormality && mod.settings.abnormalblock.includes(event.id)) return false;
+    });
+
+    mod.hook('S_ABNORMALITY_REFRESH', 1, (event) => {
+        if (mod.settings.blockcrystal && mod.settings.crystalblock.includes(event.id)) return false;
+        if (mod.settings.blockskill && mod.settings.skillblock.includes(event.id)) return false;
+    });
+
+    let ui = null;
+    if (global.TeraProxy.GUIMode) {
+        ui = new SettingsUI(mod, require('./settings_structure'), mod.settings, { height: 255 }, { alwaysOnTop: true });
+        ui.on('update', settings => { mod.settings = settings; });
+
+        this.destructor = () => {
+            if (ui) {
+                ui.close();
+                ui = null;
+            }
+        };
+    }
+};

+ 34 - 0
manifest.json

@@ -0,0 +1,34 @@
+{
+    "files": {
+        "Abnormalities/Abnormality-Icons/Adrenalinesyringe.png": "d60e18b09d796c3c6a05e39c399440303cd5191c1481426edc96d39c2f0b38f4",
+        "Abnormalities/Abnormality-Icons/Angerwarrior.png": "5c82484a05b675aa7ce17ddcef1a0d58fe210f7a75c12c6626727f8660a464c6",
+        "Abnormalities/Abnormality-Icons/Chevranwine.png": "69e02f5428e037bcf500a8d77c74441e1520e09e4dadeb66006b234fd46897e9",
+        "Abnormalities/Abnormality-Icons/Confusedown.png": "fc1cd2f648563ad519bacf5712bd2ec789786821b7d18ac122e73c6ed9a27689",
+        "Abnormalities/Abnormality-Icons/Darkeffect.png": "a98cb7a2ffade7ba2fa4fe2a029fb262e8b9110f6fa140db453fc6ad2e0293f2",
+        "Abnormalities/Abnormality-Icons/Darkriftdestroy.png": "b46109d3454a93f6c3a11f431e34741b203836a7e4aa940c0cbe07a9ad2c0b08",
+        "Abnormalities/Abnormality-Icons/Freelandbeer.png": "8aed21383d691f09ffcebabdb9101e0c6d8b4e542a64c91de15eefb73c95f700",
+        "Abnormalities/Abnormality-Icons/Fruitwine.png": "94798621162d2f1612bb0272391ced92150a47585134fff8b4e1c180e594168e",
+        "Abnormalities/Abnormality-Icons/Fullelectriceffect.png": "0f19c246e7d8af9f49cc2d6fc74e4a25a169b24e17ca0a48822aff12ff7ff2ce",
+        "Abnormalities/Abnormality-Icons/Immunedebuff.png": "9521ad6bf85790dbe006be873ebc70a3ccb2c33fcd6cc2109711ea0fa80cc337",
+        "Abnormalities/Abnormality-Icons/Invisiblepotion.png": "beb61d752652a2e7672856c0524af6a1149b05dc6f0ed55ecf6860569e548276",
+        "Abnormalities/Abnormality-Icons/Lighteffect.png": "fe9f8cd89f57d3ddd70b457c4db01fe2a2411ab9a7e3fba76a329ede5e115b5f",
+        "Abnormalities/Abnormality-Icons/Manaregeneration.png": "1b894e51cc6d5241cd26a5e6b68e3e56fccc03633afacf929c922809a747439b",
+        "Abnormalities/Abnormality-Icons/Minusmove.png": "3d68496654fdb506bfbb7b8994f4f5a8ef5668d1bf8cf312790a41f8b87c5a27",
+        "Abnormalities/Abnormality-Icons/Moonpumpkin.png": "9022043744a60fd84dc143ec2d372bd1981f404084c7b8dc9fe8f4c233798ba2",
+        "Abnormalities/Abnormality-Icons/Nothing.png": "160d4bf8255d40a71fb82fb22903f83ea216a0e4b04ad4ee40efc7cdf8d3a571",
+        "Abnormalities/Abnormality-Icons/Plusattack.png": "5edbe869795563905e9ad45f4480727ac70d38ef7bbcfde58dd0358cb08ceb56",
+        "Abnormalities/Abnormality-Icons/Plusfocus.png": "6efb398db790e20aff0febf0b59a294a391dbdfd59e94960cd45057f19c022ea",
+        "Abnormalities/Abnormality-Icons/Poisondown.png": "54d77f18a8665a7b442409486086c2ea0deb07f983556befc7bff627453c84c5",
+        "Abnormalities/Abnormality-Icons/Powerful.png": "de2f9acd26435f76286708084aea72c2e3870758f5b7b41e93a4b716dab0af7d",
+        "Abnormalities/Abnormality-Icons/Rootbeer.png": "a0671db4ac4c0ee9d46c660ca6a23982b4b912fc63b41577739cde65f9fd95b0",
+        "Abnormalities/Abnormality-Icons/Skylotus.png": "c48549c66463f0d79337f6caf28ecd9833f5e4db095e3ecc6082ebb1a123b08a",
+        "Abnormalities/Abnormality-Icons/Socialcry.png": "3f61fca0c82652ed76f1eed5f5a5c8205a643a227cc2ccc3f09dc8a6f7eac61e",
+        "Abnormalities/Abnormality-Icons/Traversecut.png": "307686df0d775bef4083d09a20ec4d56f4e86db844a8a4add85e6b93305a83f4",
+        "Abnormalities/Readme.md": "3ff43fd69c0a3605ba3df9f377c414208c4c271ecb43a79ab7eebdc07cc2f14c",
+        "Readme.md": "3ac4814b63238ce81803ba6464bc4eaf70fea090cd4d7b42d3d6dcce7d243719",
+        "index.js": "11d88c3ef074b3955fa4d3dcfd658d0c5695ddab7f081cedaab199676415d7b0",
+        "module.json": "f6ae31a58e42515cfb543b44d28c5ef10ef53455e068130b77ab2596f0e3ada8",
+        "settings_migrator.js": "40df5436e3abaadf259f299940f0c006dca5a37b2c810c8c9410d569e7861ba7",
+        "settings_structure.js": "0a16a94bcf1fb926654d96bcdd9b8237db644b42d71fe1cc882b12fdbbb22a1f"
+    }
+}

+ 15 - 0
module.json

@@ -0,0 +1,15 @@
+{
+    "disableAutoUpdate": false,
+    "name": "monitor-control",
+    "author": "Shalltearz",
+    "description": "Tera proxy module to remove useless effects from your screen.",
+    "version": "1.0",
+    "options": {
+        "niceName": "Monitorcontrol",
+        "guiName": "Monitorcontrol",
+        "settingsVersion": 1,
+        "settingsFile": "config.json",
+        "settingsMigrator": "settings_migrator.js"
+    },
+    "servers": ["https://raw.githubusercontent.com/tera-private-mods/monitor-control/master/"]
+}

+ 23 - 0
settings_migrator.js

@@ -0,0 +1,23 @@
+const DefaultSettings = {
+    "blockzoom": true,
+    "blockskill": true,
+    "blockscene": true,
+    "blockcrystal": true,
+    "blockabnormality": true,
+    "abnormalblock": [4850, 48732, 48734, 48735, 48736, 48737, 48738, 70251, 70252, 70253, 70254, 70255, 70256, 70465, 476806, 630201, 630202, 630411, 630511, 631002, 631003, 631201, 631202, 776017, 806001, 806002, 811061, 821101, 905656, 905657, 7102001, 45000011, 45000012, 47660800, 47660900, 47661000, 47662300, 999001011],
+    "crystalblock": [10306, 10316, 12001, 12003, 12120, 12130],
+    "skillblock": [101300, 101301],
+}
+
+module.exports = function MigrateSettings(from_ver, to_ver, settings) {
+    if (from_ver === undefined) {
+        // Migrate legacy config file
+        return Object.assign(Object.assign({}, DefaultSettings), settings);
+    } else if (from_ver === null) {
+        // No config file exists, use default settings
+        return DefaultSettings;
+    } else {
+        // Migrate from older version (using the new system) to latest one
+        throw new Error('So far there is only one settings version and this should never be reached!');
+    }
+}

+ 27 - 0
settings_structure.js

@@ -0,0 +1,27 @@
+module.exports = [
+    {
+        "key": "blockscene",
+        "name": "Prevents cutscenes from playing.",
+        "type": "bool"
+    },
+    {
+        "key": "blockzoom",
+        "name": "Blocks zoom scripts in dungeons.",
+        "type": "bool"
+    },
+    {
+        "key": "blockcrystal",
+        "name": "Blocks crystal refresh messages.",
+        "type": "bool"
+    },
+    {
+        "key": "blockabnormality",
+        "name": "Blocks screen abnormalities.",
+        "type": "bool"
+    },
+    {
+        "key": "blockskill",
+        "name": "Blocks skill refresh effects.",
+        "type": "bool"
+    }
+];