Zone/Mapper

* show fishing nodes on map
This commit is contained in:
Sarjuuk
2021-10-17 19:22:57 +02:00
parent 41f415095a
commit e4b8a8e908
8 changed files with 20 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ ShowOnMap.prototype.construct = function() {
if (pin.list.length == 1) {
url = (g_types[pin.list[0].type] && pin.list[0].id ? '?' + g_types[pin.list[0].type] + '=' + pin.list[0].id : '');
}
if (i == 'rare' || i == 'herb' || i == 'vein') {
if (i == 'rare' || i == 'herb' || i == 'vein' || i == 'pool') {
tooltip[1] = submenu.length + 1;
}
if (coords[pin.level] == undefined) {
@@ -121,7 +121,7 @@ ShowOnMap.prototype.construct = function() {
allCoords[l] = coords[l];
}
}
allLegend[submenu.length] = [p, url];
allLegend[submenu.length] = [group[p][0].name, url];
}
}
if (submenu.length > 0) {
@@ -482,7 +482,7 @@ ShowOnMap.prototype.checkMenu = function(path) {
var maxLabel = label.length - 1;
var str = '';
var singlePinOptions = { 'rare': true, 'herb': true, 'vein': true };
var singlePinOptions = { 'rare': true, 'herb': true, 'vein': true, 'pool': true };
for (var i = 0; i < label.length; ++i) {
if (i > 0 && singlePinOptions[label[0][0]]) {
var span = $('span', this._legendContents);

View File

@@ -3244,7 +3244,8 @@ var LANG = {
spirithealer: "Geistheiler",
boss: "Bosse",
areatrigger: "Areatrigger", // aowow - custom
mail: "Briefkästen"
mail: "Briefkästen",
pool: "Fischschwärme"
},
markup_b: "Fett",

View File

@@ -3292,7 +3292,8 @@ var LANG = {
spirithealer: "Spirit Healers",
boss: "Bosses",
areatrigger: "Areatrigger", // aowow - custom
mail: "Mailbox"
mail: "Mailbox",
pool: "Fishing Pools"
},
markup_b: "Bold",

View File

@@ -290,7 +290,7 @@ var mn_objects = [
[9,"Libros"],
[3,"Contenedores"],
[-5,"Cofres"],
[25,"[Fishing Pools]"],
[25,"Bancos de peces"],
[-3,"Hierbas"],
[-4,"Venas de minerales"],
[-2,"Misión"],
@@ -3245,7 +3245,8 @@ var LANG = {
spirithealer: "Espíritus sanadores",
boss: "Jefes",
areatrigger: "Areatrigger", // aowow - custom
mail: "Buzón"
mail: "Buzón",
pool: "Bancos de peces"
},
markup_b: "Negrita",

View File

@@ -3245,7 +3245,8 @@ var LANG = {
spirithealer: "Esprits soigneurs",
boss: "Boss",
areatrigger: "Areatrigger", // aowow - custom
mail: "Boîte aux lettres"
mail: "Boîte aux lettres",
pool: "Bancs de poissons"
},
markup_b: "Gras",

View File

@@ -3245,7 +3245,8 @@ var LANG = {
spirithealer: "Целители душ",
boss: "Боссы",
areatrigger: "Areatrigger", // aowow - custom
mail: "Почтовый ящик"
mail: "Почтовый ящик",
pool: "Рыболовные лунки",
},
markup_b: "Жирный",

View File

@@ -3292,7 +3292,8 @@ var LANG = {
spirithealer: "灵魂医者",
boss: "首领",
areatrigger: "Areatrigger", // aowow - custom
mail: "邮箱"
mail: "邮箱",
pool: "钓鱼池"
},
markup_b: "勇敢",