Implement cnc harv/proc dock sequence and kill unnecessary duplication. Bad things happen if sequence is interrupted by another order (eg invisible harv).

Still todo: Make sequence non-interruptible; engineer steals harv docked with proc; the "right thing" if proc is sold/destroyed with harv docked.
This commit is contained in:
Paul Chote
2010-06-16 00:30:15 +12:00
parent 5f83f97747
commit 88df9ecaa2
11 changed files with 210 additions and 178 deletions

View File

@@ -30,4 +30,9 @@ namespace OpenRA.Mods.RA
void UnlinkHarvester(Actor self, Actor harv);
int2 DeliverOffset { get; }
}
public interface IAcceptOreDockAction
{
void OnDock(Actor self, Actor harv, DeliverResources dockOrder);
}
}