iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
989 stars 552 forks source link

Highlight all portals with resonators from a particular user #94

Closed adajw closed 10 years ago

adajw commented 11 years ago

Enhancement feature request: Highlight (or only show) portals with resonators placed on them by a specific user.

jonatkins commented 11 years ago

A player-based portal highlight sounds like something that could be done with a plugin. Any volunteers?

vita10gy commented 11 years ago

I've kicked around the idea of putting a bit of code in the main so that plugins like this, and my weakened portal plugin, could register as a more specific "portal highlighter" plugin. Where the plugins would just have to provide a specifically named function or something, and then a toggle is added that allows you to swap (or turn them off)

Is that something that you'd merge?

Azygos64 commented 11 years ago

this plugin already exists... ist shows a yellow marker for portals with own resos and a red marker for own portals. https://github.com/dazz/iitc-plugins/tree/master/portalOwner

adajw commented 11 years ago

@Azygos64 You haven't read what I wrote - that plugin only highlights your own portals, not portals from any specific user.

Could that plugin be adapted to search for any user, easily?

Azygos64 commented 11 years ago

I know it is not exactly what you described but you can use it with a workaround. change line 57 from var nick = PLAYER.nickname; to var nick 'playername';

GreenJeans commented 11 years ago

@Azygos64 Would it be possible to easily configure your plugin to show what level of resonators you have deployed to which portals? That is, which are upgradeable by you? Which portals (that I already have resonators on) require my L8 resonators?

Azygos64 commented 11 years ago

@GreenJeans sry this is not my plugin - I just use it. you have to ask dazz (see link above).

rbino commented 11 years ago

I've added a plugin that lists all the portals with a specified user's resonators in https://github.com/jonatkins/ingress-intel-total-conversion/pull/243

nexushoratio commented 10 years ago

In interest of cleanliness, should this issue be closed now?