Skip to content

Instantly share code, notes, and snippets.

@jsilvestre
Created July 11, 2012 21:44
Show Gist options
  • Save jsilvestre/3093811 to your computer and use it in GitHub Desktop.
Save jsilvestre/3093811 to your computer and use it in GitHub Desktop.
New format for config.js (gw2c)
Metadata = {
"icons_path" : "assets/images/icons/32x32/",
"version" : 1,
"date_generation" : "2012-07-11 23:43:27"
};
Areas = [
{ id : 1, name : "Divinity's Reach", rangeLvl : "",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 43.1959, neLng : -31.5198, swLat : 33.4498, swLng : -45.9558
},
{ id : 2, name : "Queensdale", rangeLvl : "1-17",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 33.3856, neLng : -23.8623, swLat : 18.4067, swLng : -48.2739
},
{ id : 3, name : "Kessex Hills", rangeLvl : "15-25",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 8.36495, neLng : -23.5547, swLat : 4.59833, swLng : -51.1743
},
{ id : 4, name : "Gendarran Fields", rangeLvl : "25-35",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 29.7658, neLng : 5.68555, swLat : 17.5766, swLng : -22.8843
},
{ id : 5, name : "Black Citadel", rangeLvl : "",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 20.7869, neLng : 57.9419, swLat : 11.0814, swLng : 47.9004
},
{ id : 6, name : "Plains of Ashford", rangeLvl : "1-15",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 21.7646, neLng : 85.6824, swLat : 7.98308, swLng : 58.7329
},
{ id : 7, name : "Diessa Plateau", rangeLvl : "15-25",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 35.5412, neLng : 71.4771, swLat : 21.4633, swLng : 47.373
},
{ id : 8, name : "Hoelbrak", rangeLvl : "",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 22.9078, neLng : 34.4971, swLat : 12.7475, swLng : 21.2805
},
{ id : 9, name : "Wayfarer Foothills", rangeLvl : "",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 34.7687, neLng : 46.5381, swLat : 8.26585, swLng : 35.7495
},
{ id : 10, name : "Snowden Drifts", rangeLvl : "15-25",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 35.8979, neLng : 34.4971, swLat : 23.9561, swLng : 6.61377
},
{ id : 11, name : "Lion's Arch", rangeLvl : "",
summary : {
"hearts" : 0,
"waypoints" : 0,
"skillpoints" : 0,
"poi" : 0,
"dungeons" : 0
},
neLat : 17.0253, neLng : 5.52612, swLat : 6.2638, swLng : -10.099
}
];
Markers.trainers = {
"translated_data" : {
"en" : {
"name" : "Trainers"
},
"fr" : {
"name" : "Entraineurs"
}
},
markerTypes : [
{
"slug" : "trainer_ranger",
"icon" : "asuraGate.png",
"translated_data" : {
"en" : {
"name" : "Ranger",
"desc" : "A trainer for rangers.",
"wikiLink" : "http://gw2.wiki.com/en/ranger"
},
"fr" : {
"name" : "Rôdeur",
"desc" : "Un entraîneur pour les rôdeurs",
"wikiLink" : "http://gw2.wiki.com/fr/ranger"
}
},
markers : [
{
"id" : 1, "lat" : 29.4395975666, "lng" : -45.6369628906, "area" : 2
},
]
},
{
"slug" : "trainer_necro",
"icon" : "asuraGate.png",
"translated_data" : {
"en" : {
"name" : "Necromancer",
"desc" : "A trainer for necromancers.",
"wikiLink" : "http://gw2.wiki.com/en/necromancer"
},
"fr" : {
"name" : "Nécromant",
"desc" : "Un entraîneur pour les nécromant",
"wikiLink" : "http://gw2.wiki.com/fr/necromander"
}
},
markers : [
]
}
]
};
Markers.explore = {
"translated_data" : {
"en" : {
"name" : "Explore"
},
"fr" : {
"name" : "Exploration"
}
},
markerTypes : [
{
"slug" : "hearts",
"icon" : "asuraGate.png",
markers : [
{
"id" : 2, "lat" : 29.1905328323, "lng" : -44.384765625, "area" : 2,
"translated_data" : {
"en" : {
"name" : "Help farmer Diah",
"desc" : "Help Diah by watering corn.",
"wikiLink" : "http://gw2.wiki.com/en/blabla"
},
"fr" : {
"name" : "Aider le fermier Diah",
"desc" : "Aider Diah en arrosant le maïs.",
"wikiLink" : "http://gw2.wiki.com/fr/blabla"
}
}
},
{
"id" : 3, "lat" : 29.4395975666, "lng" : -46.6369628906, "area" : 2,
"translated_data" : {
"en" : {
"name" : "Help farmer George",
"desc" : "",
"wikiLink" : ""
},
"fr" : {
"name" : "Aider le fermier George",
"desc" : "",
"wikiLink" : ""
}
}
},
{
"id" : 4, "lat" : 31.5129958575, "lng" : -46.5490722656, "area" : 2,
"translated_data" : {
"en" : {
"name" : "Help farmer Eda",
"desc" : "",
"wikiLink" : ""
},
"fr" : {
"name" : "Aider le fermier Eda",
"desc" : "",
"wikiLink" : ""
}
}
},
{
"id" : 5, "lat" : 28.8327467992, "lng" : -37.4304199219, "area" : 2,
"translated_data" : {
"en" : {
"name" : "Assist the Seraph at Shaemoor Garrison",
"desc" : "",
"wikiLink" : ""
},
"fr" : {
"name" : "Assister les Séraphins à la garnison de Shaemoor",
"desc" : "",
"wikiLink" : ""
}
}
},
]
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment