2024-04-23 06:50:54 +00:00
|
|
|
import { lib, game, ui, get, ai, _status } from "../../noname.js";
|
|
|
|
import characters from "./character.js";
|
|
|
|
import cards from "./card.js";
|
|
|
|
import pinyins from "./pinyin.js";
|
|
|
|
import skills from "./skill.js";
|
|
|
|
import translates from "./translate.js";
|
2024-05-01 16:19:14 +00:00
|
|
|
import voices from "./voices.js";
|
2024-05-01 17:00:37 +00:00
|
|
|
import { characterSort, characterSortTranslate } from "./sort.js";
|
2024-04-23 06:50:54 +00:00
|
|
|
|
|
|
|
game.import("character", function () {
|
|
|
|
return {
|
|
|
|
name: "key",
|
|
|
|
character: { ...characters },
|
2024-05-01 17:00:37 +00:00
|
|
|
characterSort: {
|
|
|
|
key: characterSort,
|
|
|
|
},
|
2024-04-23 06:50:54 +00:00
|
|
|
characterFilter: {
|
|
|
|
key_jojiro(mode) {
|
|
|
|
return mode == "chess" || mode == "tafang";
|
|
|
|
},
|
|
|
|
key_yuu(mode) {
|
2024-05-01 16:19:14 +00:00
|
|
|
return mode == "identity" || mode == "doudizhu" || mode == "single" || (mode == "versus" && _status.mode != "standard" && _status.mode != "three");
|
2024-04-23 06:50:54 +00:00
|
|
|
},
|
|
|
|
key_tomoya(mode) {
|
|
|
|
return mode != "chess" && mode != "tafang" && mode != "stone";
|
|
|
|
},
|
|
|
|
key_sunohara(mode) {
|
|
|
|
return mode != "guozhan";
|
|
|
|
},
|
|
|
|
},
|
|
|
|
characterTitle: {
|
2024-05-01 17:00:37 +00:00
|
|
|
key_kotomi: "#g落英逐紫裙",
|
|
|
|
key_jojiro: "战棋专属角色",
|
2024-04-23 06:50:54 +00:00
|
|
|
},
|
|
|
|
card: { ...cards },
|
|
|
|
skill: { ...skills },
|
2024-05-01 17:00:37 +00:00
|
|
|
translate: { ...translates, ...voices, ...characterSortTranslate },
|
2024-04-23 06:50:54 +00:00
|
|
|
pinyins: { ...pinyins },
|
|
|
|
};
|
|
|
|
});
|