http://www.reddit.com/r/gamedev/comments/2rjgwi/path_finding_question/
"Lets say I have a very large amount of islands, and my agent wants to get to a certain island. Islands usually can allow the agent to jump to the 6 closest other islands; however, sometimes a path may be blocked (ie: 2 islands are fighting and the agent can not easily pass between them) and the agent may be either required to go around or wait until they have the required resources to pass.
There are some things that make this really tricky for me: The islands are not grid based; rather, their distribution is random. The agent cannot travel back to an island its already been at; however, it can stay at an island for a finite number of turns. Every turn it collects more resource, and can pass through island barriers if the resource requirement is met.
This is just an analogy for an issue I'm having for my engine. But the solution to this problem should suffice very well.
Broken down:
Agent starts at island A with 5 resource.
Island B requires 4.
Agent Jumps to Island B.
Agent now has 1 resource.
Island C requires 7 and is the next obvious destination for the agent in order to reach its final goal.
Agent waits at B for X turns until it has the required resource.
Agent jumps to island C.
Etc
I don't want to use anything more complicated than basic arithmetic since this method will only be used for approximation of actual paths.
Any help on how to approach this?"