Arian
No more ghostbusting!!
A few thoughts:
1. After being built, how does the icebreaker go find the first plot with ice?
2. What happens if all adjacent plots have no ice?
3. How does the icebreaker calculate a plot 10 plots away to be the next plot to break.
4. How does the icebreaker prioritize plots to break? (...or are we just breaking ice, like mowing grass, until all the ice is gone? (i.e what's your intent?)
5. I don't believe you need the pUnit.canBuild line because we already checked to make sure the plot has ice and we verified the unit we are moving is an icebreaker. So if the plot has ice and we move an icebreaker to the plot, then just execute the mission to break ice.
6. At the very end of your code, replace iPlotOwner with icheckPlotOwner.
All good questions. My thoughts about this:
1. Give the icebreaker besides UNITAI_WORKER_SEA (default workboat AI) also UNITAI_EXPLORE.
2. Nothing, default AI behavior kicks in.
3. That's not implemented.
4. It's like mowing grass


5. I suppose you're right here.
6. CopyNPaste Error
