Added Faction information in the POST
parent
cf3c355b4d
commit
3e66a998da
|
|
@ -2,7 +2,7 @@
|
||||||
// @id iitc-plugin-uniques-go@mitago
|
// @id iitc-plugin-uniques-go@mitago
|
||||||
// @name IITC plugin: Uniques go data sender
|
// @name IITC plugin: Uniques go data sender
|
||||||
// @category Misc
|
// @category Misc
|
||||||
// @version 0.0.3
|
// @version 0.0.4
|
||||||
// @namespace https://git.mitago.net/ingress/uniques-go-userscript
|
// @namespace https://git.mitago.net/ingress/uniques-go-userscript
|
||||||
// @updateURL https://git.mitago.net/ingress/uniques-go-userscript/raw/branch/master/uniques-go.user.js
|
// @updateURL https://git.mitago.net/ingress/uniques-go-userscript/raw/branch/master/uniques-go.user.js
|
||||||
// @downloadURL https://git.mitago.net/ingress/uniques-go-userscript/raw/branch/master/uniques-go.user.js
|
// @downloadURL https://git.mitago.net/ingress/uniques-go-userscript/raw/branch/master/uniques-go.user.js
|
||||||
|
|
@ -26,7 +26,7 @@ function wrapper(plugin_info) {
|
||||||
//PLUGIN AUTHORS: writing a plugin outside of the IITC build environment? if so, delete these lines!!
|
//PLUGIN AUTHORS: writing a plugin outside of the IITC build environment? if so, delete these lines!!
|
||||||
//(leaving them in place might break the 'About IITC' page or break update checks)
|
//(leaving them in place might break the 'About IITC' page or break update checks)
|
||||||
plugin_info.buildName = 'mitago';
|
plugin_info.buildName = 'mitago';
|
||||||
plugin_info.dateTimeVersion = '202200531.045700';
|
plugin_info.dateTimeVersion = '202200603.130500';
|
||||||
plugin_info.pluginId = 'uniquesgo';
|
plugin_info.pluginId = 'uniquesgo';
|
||||||
//END PLUGIN AUTHORS NOTE
|
//END PLUGIN AUTHORS NOTE
|
||||||
|
|
||||||
|
|
@ -80,7 +80,7 @@ function wrapper(plugin_info) {
|
||||||
|
|
||||||
//console.debug(portal);
|
//console.debug(portal);
|
||||||
|
|
||||||
var obj = { 'guid': portal.options.guid, 'title': portal.options.data.title, 'history': portal.options.data.history._raw, 'position': portal._latlng };
|
var obj = { 'guid': portal.options.guid, 'title': portal.options.data.title, 'history': portal.options.data.history._raw, 'position': portal._latlng, 'faction': portal.options.data.team };
|
||||||
|
|
||||||
window.plugin.uniquesgo.listPortals.push(obj);
|
window.plugin.uniquesgo.listPortals.push(obj);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue