ImportSongs: Add plugin support
- Files with filenames that end with .taikoweb.js can be imported and run to add custom functionality to the game - The plugin file is a javascript module script that should have a class in the default export - Currently supported methods in the class: name (string), load, start, stop, unload (functions) - The class can be extended from the Patch class to add automatic patching of variables and functions - Here are some of the plugins I made: https://github.com/KatieFrogs/taiko-web-plugins
This commit is contained in:
@@ -21,6 +21,13 @@ var translations = {
|
||||
tw: "Microsoft YaHei, sans-serif",
|
||||
ko: "Microsoft YaHei, sans-serif"
|
||||
},
|
||||
intl: {
|
||||
ja: "ja",
|
||||
en: "en-GB",
|
||||
cn: "zh-Hans",
|
||||
tw: "zh-Hant",
|
||||
ko: "ko"
|
||||
},
|
||||
|
||||
taikoWeb: {
|
||||
ja: "たいこウェブ",
|
||||
@@ -1278,6 +1285,27 @@ var translations = {
|
||||
en: "This function requires third party cookies.",
|
||||
tw: "此功能需要第三方 cookies。"
|
||||
}
|
||||
},
|
||||
plugins: {
|
||||
title: {
|
||||
ja: null,
|
||||
en: "Plugins"
|
||||
},
|
||||
unloadAll: {
|
||||
ja: null,
|
||||
en: "Unload All"
|
||||
},
|
||||
warning: {
|
||||
ja: null,
|
||||
en: "You are about to load %s. Plugins should only be loaded if you trust them. Continue?"
|
||||
},
|
||||
plugin: {
|
||||
ja: null,
|
||||
en: {
|
||||
one: "%s plugin",
|
||||
other: "%s plugins"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var allStrings = {}
|
||||
|
||||
Reference in New Issue
Block a user