Unhardcode defenses in BaseBuilderBotModule

This commit is contained in:
dnqbob
2022-07-30 20:34:33 +08:00
committed by abcdefg30
parent e8748200f7
commit 013ec52108
6 changed files with 15 additions and 1 deletions

View File

@@ -42,6 +42,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Tells the AI what building types are considered silos (resource storage).")]
public readonly HashSet<string> SiloTypes = new HashSet<string>();
[Desc("Tells the AI what building types are considered defenses.")]
public readonly HashSet<string> DefenseTypes = new HashSet<string>();
[Desc("Production queues AI uses for buildings.")]
public readonly HashSet<string> BuildingQueues = new HashSet<string> { "Building" };