Skip to content

Commit

Permalink
oh, my commit message kill u?
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlaubb committed Jul 26, 2024
1 parent 6a8efe7 commit e4e127e
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 2 deletions.
93 changes: 93 additions & 0 deletions ac_BP/src/Assets/LatinNormalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,99 @@ Latinise.latin_map = {
: "u", // LATIN SUBSCRIPT SMALL LETTER U
: "v", // LATIN SUBSCRIPT SMALL LETTER V
: "x", // LATIN SUBSCRIPT SMALL LETTER X
// Full Widthed Latin
: "a",
: "b",
: "c",
: "d",
: "e",
: "f",
: "g",
: "h",
: "i",
: "j",
: "k",
: "l",
: "m",
: "n",
: "o",
: "p",
: "q",
: "r",
: "s",
: "t",
: "u",
: "v",
: "w",
: "x",
: "y",
: "z",
: "A",
: "B",
: "C",
: "D",
: "E",
: "F",
: "G",
: "H",
: "I",
: "J",
: "K",
: "L",
: "M",
: "N",
: "O",
: "P",
: "Q",
: "R",
: "S",
: "T",
: "U",
: "V",
: "W",
: "X",
: "Y",
: "Z",
// Full Widthed numbers (not Latin, extra preventions)
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
// Full Widthed Symbols
"!": "!",
"@": "@",
"#": "#",
"$": "$",
"%": "%",
"&": "&",
"'": "'",
"(": "(",
")": ")",
"*": "*",
"+": "+",
",": ",",
"-": "-",
".": ".",
"/": "/",
"[": "[",
"]": "]",
"{": "{",
"}": "}",
"|": "|",
"\": "\\",
"︿": "^",
"‵": "`",
"~": "~",
"<": "<",
">": ">",
"?": "?",
" ": " ",
};

String.prototype.latinise = function () {
Expand Down
7 changes: 6 additions & 1 deletion ac_BP/src/Data/ChatFilterData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ export default [
"pussi",
"pusse",
"pusss",
"pussys",
"pussies",
"pusssi",
"pussse",
Expand Down Expand Up @@ -643,5 +642,11 @@ export default [
"enfoire",
"cazo",
"madonna",
"meth",
"methamphetamine",
"methamphetamin",
"metha",
"methamphet",
"methamphetamine",
"troia",
];
3 changes: 2 additions & 1 deletion ac_BP/src/Modules/Modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function intilizeModules() {
mapvalues = [];
Index.initializeAsync();
world.modules
.filter((module) => module.enabled)
.filter((module) => module?.enabled)
.forEach((module) => {
unlisten(module.id);
});
Expand All @@ -52,6 +52,7 @@ function* looper(config: configi): Generator<void, void, void> {
if (element.mapclears) mapvalues.push(...element.mapclears);
if ((config as any)[element.id]?.enabled) {
// Method for state module is enabled
world.getAllPlayers()[0].sendMessage(`Loading the ${element.id} Module (${i + 1}/${len})`);
setup(config, element);
}
//world.sendMessage(`Loading the ${element.id} Module (${i + 1}/${len})`);
Expand Down

0 comments on commit e4e127e

Please sign in to comment.