implemented type areatrigger

* staff only
This commit is contained in:
Sarjuuk
2018-06-30 23:43:57 +02:00
parent 56ccc592a6
commit e0150feda6
45 changed files with 1193 additions and 160 deletions

View File

@@ -866,7 +866,7 @@ var mn_sounds = [
[50,"Zone Ambience","?sounds&filter=ty=50"],
[28,"Zone Music","?sounds&filter=ty=28"]
];
mn_icons = [
var mn_icons = [
[3, "Achievements", "?icons&filter=cr=3;crs=1;crv=0"],
// [4, "Battle Pets", "?icons&filter=cr=4;crs=1;crv=0"],
// [5, "Battle Pet Abilities", "?icons&filter=cr=5;crs=1;crv=0"],
@@ -880,6 +880,16 @@ mn_icons = [
// [10, "Threats", "?icons&filter=cr=10;crs=1;crv=0"],
[13, "Unused", "?icons&filter=cr=13;crs=3;crv=0"]
];
// aowow - custom start
var mn_areatrigger = [
[0, 'Unused', '?areatriggers&filter=ty=0'],
[1, 'Tavern', '?areatriggers&filter=ty=1'],
[2, 'Teleporter', '?areatriggers&filter=ty=2'],
[3, 'Quest Objective', '?areatriggers&filter=ty=3'],
[4, 'Smart Trigger', '?areatriggers&filter=ty=4'],
[5, 'Script', '?areatriggers&filter=ty=5']
];
// aowow - custom end
var mn_talentCalc = [
[6,"Death Knight","?talent#j",,{className:"c6",tinyIcon:"class_deathknight"}],
[11,"Druid","?talent#0",,{className:"c11",tinyIcon:"class_druid"}],
@@ -953,7 +963,8 @@ var mn_database = [
[6,"Zones","?zones",mn_zones],
[, "Other"],
[31, "Icons", "?icons", mn_icons],
[19,"Sounds","?sounds",mn_sounds]
[19,"Sounds","?sounds",mn_sounds],
[102, 'Areatrigger', '?areatriggers', mn_areatrigger, {requiredAccess: 1726}] // aowow - custom
];
var mn_tools = [
[0,"Talent Calculator","?talent",mn_talentCalc],
@@ -2373,7 +2384,16 @@ var g_socket_names = {
14: 'Prismatic Socket'
};
/* custom */
/* aowow custom */
var g_trigger_types = {
0: 'Unused',
1: 'Tavern',
2: 'Teleporter',
3: 'Quest Objective',
4: 'Smart Trigger',
5: 'Script'
};
// DRUNK_MESSAGE_*
var g_drunk_states = {
0: 'sober',
@@ -2458,7 +2478,7 @@ var g_conditions = {
37: 'The target\'s health is$: not; $2 $1',
37: 'The target\'s health is$: not; $2 $1%'
};
/* end custom */
/* end aowow custom */
var LANG = {
alltime_stc: "All Time",
@@ -3268,7 +3288,8 @@ var LANG = {
anvil: "Anvils",
vein: "Mineral Veins",
spirithealer: "Spirit Healers",
boss: "Bosses"
boss: "Bosses",
areatrigger: "Areatrigger" // aowow - custom
},
markup_b: "Bold",
@@ -4271,7 +4292,7 @@ var LANG = {
classes: "Used by Classes"
},
// custom
// aowow custom
fienchantments: {
id: "ID",
hascondition: "Requires a combination of gems",
@@ -4283,6 +4304,12 @@ var LANG = {
hasvideos: "Has videos"
},
fiareatrigger: {
sepgeneral: "General",
id: "ID"
},
// end aowow custom
pr_notice: 'First time? &ndash; Don\'t be shy! Just check out our <a href="?help=profiler" target="_blank">Help page</a>! &nbsp; <small class="q0"><a href="javascript:;">close</a></small>',
pr_datasource: 'Data in this tab was last updated $2 by <a href="?user=$1" target="_blank">$1</a>.',
pr_purgedata: "Click to delete all completion data in the current tab.<br />Only the user who uploaded the data may purge it.",