Add Buildable.BuildAtProduction.

This allows actors to be restricted to specific production structures.
This commit is contained in:
Paul Chote
2014-07-23 11:58:58 +12:00
parent 8837b3453c
commit c164ec8c8c
3 changed files with 12 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ namespace OpenRA.Mods.RA
[Desc("Production queue(s) that can produce this.")]
public readonly string[] Queue = { };
[Desc("Override the production structure type (from the Production Produces list) that this unit should be built at.")]
public readonly string BuildAtProductionType = null;
[Desc("Disable production when there are more than this many of this actor on the battlefield. Set to 0 to disable.")]
public readonly int BuildLimit = 0;