-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmenu.js
More file actions
73 lines (67 loc) · 2.98 KB
/
menu.js
File metadata and controls
73 lines (67 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* eslint-disable quote-props, comma-dangle */
"use strict";
// Цвета
const c = {
"w": "#ffffff", // белый
"br": "#bc8f8f", // коричневый
"o": "#daa520", // оранжевый
"p": "#ed5d92", // розовый
"lp": "#ffb7c5", // светло-розовый
"r": "#fe6f5e", // красный
"g": "#4de19c", // зеленый
"lg": "#5bc0be", // светло-зеленый
"v": "#9966cc", // фиолетовый
"lv": "#e0b0ff", // светло-фиолетовый
"b": "#436eee", // синий
"lb": "#08b3e5", // светло-синий
"gr": "#778899", // серый
"y": "#c0b94d", // желтый
};
// Дочступные ключи записи:
// name -- Название пункта меню
// color -- Цвет пункта меню
// keybind -- Установка горячей клавиши
// ifcmd -- Фильтр (отображение) пункта меню, если указанная команда найдена
// ifnocmd -- Фильтр (отображение) пункта меню, если указанная команда не найдена
// class -- Фильтр (отображение) пункта меню по игровому классу:
// warrior, lancer, slayer, berserker, sorcerer, archer, priest,
// elementalist, soulless
//
// Встроенный команды:
// mm et [quest] [instance] -- Телепортация по Авангарду
// mm use [id предмета] -- Использовать предмет из инвентаря
// Настройка премиум-слотов
module.exports.premium = [
// { command: "bank", id: 60264 },
// { command: "broker", id: 60265 },
// { command: "store", id: 60262 },
{ command: "m", id: 5023 },
];
// Настройка меню
module.exports.categories = {
"Основное": [
// https://github.com/tera-classic-mods/npc-summoner
{ command: "bank", name: "Банк", color: c.lp },
{ command: "gbank", name: "Банк гильдии", color: c.lp },
{ command: "mail", name: "Почта", color: c.b },
// https://github.com/tera-classic-mods/auto-bank
{ command: "ab", name: "Автобанк", color: c.p },
{},
// https://github.com/tera-classic-mods/npc-summoner
{ command: "broker", name: "Брокер", color: c.lg },
{ command: "store", name: "Торговец", color: c.g },
{ command: "sstore", name: "Магазин редкостей", color: c.g },
{},
// https://github.com/tera-classic-mods/auto-loot
{ command: "loot auto", name: "Автолут", color: c.y },
// https://github.com/tera-classic-mods/anti-cc
{ command: "cc", name: "Антиопрокид", color: c.y },
{},
// https://github.com/tera-classic-mods/translate-chat
{ command: "translate send", name: "Автоперевод", color: c.lb },
// https://github.com/tera-classic-mods/gathering-markers
{ command: "gat ui", name: "Сбор", color: c.lb },
],
};
module.exports.pages = {
};