tvwenger / maxfield

An Ingress Linking and Fielding Strategy Generator
http://www.ingress-maxfield.com/
GNU General Public License v3.0
107 stars 58 forks source link

Inbound-only portals? #33

Open jziolkowski opened 2 years ago

jziolkowski commented 2 years ago

Hi!

Thanks for continuing support of this great tool, as a somewhat new player I use it a lot!

Have a question. Would it be possible to mark portals as inbound only? In our area we have a few strategic portals that 99% of the time are inaccesible to be within their range to make outbound links. Therefore they can be used only as link destinations.

I've read the code. The algorithm checks if a portal can make any more outbound links. If such portal would have the number of available outgoing links overridden to 0, is my thinking correct that the algorithm as it is right now, would simply find other portals to link to it?

tvwenger commented 2 years ago

Hello, and thanks for the suggestion and PR!

I'm a bit confused about when this feature would be useful, though. If there is an inaccessible portal, then how do you get portal keys from it?

jziolkowski commented 2 years ago

Case in point, we had a player who worked on a military airfield. He hacked tons of keys from there, which has then been distributed across players which are then cloned in quantum capsules. Or portals on islands which are accessible only when there's ice on the lake. Etc etc.

Or, when you simply have a portal with a ton of keys you'd like to use up, instead of recycling.

tvwenger commented 2 years ago

Got it! Thanks for the clarification!