My bad
This commit is contained in:
vita10gy 2013-05-28 22:55:17 -05:00
parent fc74c3e342
commit 92888263d1
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
// ==UserScript==
// @id iitc-plugin-highlight-portals-my-portals@vita10gy
// @id iitc-plugin-highlight-portals-my-8-portals@vita10gy
// @name IITC plugin: highlight my level 8's on portals
// @version 0.1.0.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion

View File

@ -1,11 +1,11 @@
// ==UserScript==
// @id iitc-plugin-show-portal-weakness@vita10gy
// @name IITC plugin: show portal weakness
// @version 0.7.0.@@DATETIMEVERSION@@
// @id iitc-plugin-highlight-needs-recharge@vita10gy
// @name IITC plugin: hightlight portals that need recharging
// @version 0.1.0.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Uses the fill color of the portals to denote if the portal is weak (Needs recharging, missing a resonator, needs shields) Red, needs energy and shields. Orange, only needs energy (either recharge or resonators). Yellow, only needs shields.
// @description [@@BUILDNAME@@-@@BUILDDATE@@] Uses the fill color of the portals to denote if the portal needs recharging
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
@ -21,9 +21,9 @@ if(typeof window.plugin !== 'function') window.plugin = function() {};
// PLUGIN START ////////////////////////////////////////////////////////
// use own namespace for plugin
window.plugin.portalWeakness = function() {};
window.plugin.portalHighligherNeedsRecharge = function() {};
window.plugin.portalWeakness.portalHighligherNeedsRecharge = function(data) {
window.plugin.portalHighligherNeedsRecharge.highlightWeakness = function(data) {
var d = data.portal.options.details;
var portal_weakness = 0;
if(getTeam(d) !== 0) {
@ -41,7 +41,7 @@ window.plugin.portalWeakness.portalHighligherNeedsRecharge = function(data) {
}
var setup = function() {
window.addPortalHighlighter('Needs Recharge', window.plugin.portalWeakness.portalHighligherNeedsRecharge);
window.addPortalHighlighter('Portal Weakness', window.plugin.portalHighligherNeedsRecharge.highlightWeakness);
}
// PLUGIN END //////////////////////////////////////////////////////////