Unhardcoded productionbar colors
This commit is contained in:
@@ -21,6 +21,8 @@ namespace OpenRA.Mods.RA
|
|||||||
[Desc("Production queue type, for actors with multiple queues.")]
|
[Desc("Production queue type, for actors with multiple queues.")]
|
||||||
public readonly string ProductionType = null;
|
public readonly string ProductionType = null;
|
||||||
|
|
||||||
|
public readonly Color Color = Color.SkyBlue;
|
||||||
|
|
||||||
public object Create(ActorInitializer init) { return new ProductionBar(init.self, this); }
|
public object Create(ActorInitializer init) { return new ProductionBar(init.self, this); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,6 +74,6 @@ namespace OpenRA.Mods.RA
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Color GetColor() { return Color.SkyBlue; }
|
public Color GetColor() { return info.Color; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -758,6 +758,7 @@ FACT:
|
|||||||
ProductionType: Building
|
ProductionType: Building
|
||||||
ProductionBar@Defense:
|
ProductionBar@Defense:
|
||||||
ProductionType: Defense
|
ProductionType: Defense
|
||||||
|
Color: 138,138,138
|
||||||
DeadBuildingState:
|
DeadBuildingState:
|
||||||
BaseProvider:
|
BaseProvider:
|
||||||
Range: 16
|
Range: 16
|
||||||
|
|||||||
Reference in New Issue
Block a user