Add TraitLocation to all bot modules.
This commit is contained in:
@@ -16,6 +16,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages AI base construction.")]
|
[Desc("Manages AI base construction.")]
|
||||||
public class BaseBuilderBotModuleInfo : ConditionalTraitInfo
|
public class BaseBuilderBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages AI minelayer unit related with " + nameof(Minelayer) + " traits.",
|
[Desc("Manages AI minelayer unit related with " + nameof(Minelayer) + " traits.",
|
||||||
"When enemy damage AI's actors, the location of conflict will be recorded,",
|
"When enemy damage AI's actors, the location of conflict will be recorded,",
|
||||||
"If a location is a valid spot, it will add/merge to favorite location for usage later")]
|
"If a location is a valid spot, it will add/merge to favorite location for usage later")]
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages AI repairing base buildings.")]
|
[Desc("Manages AI repairing base buildings.")]
|
||||||
public class BuildingRepairBotModuleInfo : ConditionalTraitInfo
|
public class BuildingRepairBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages AI capturing logic.")]
|
[Desc("Manages AI capturing logic.")]
|
||||||
public class CaptureManagerBotModuleInfo : ConditionalTraitInfo
|
public class CaptureManagerBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Put this on the Player actor. Manages bot harvesters to ensure they always continue harvesting as long as there are resources on the map.")]
|
[Desc("Put this on the Player actor. Manages bot harvesters to ensure they always continue harvesting as long as there are resources on the map.")]
|
||||||
public class HarvesterBotModuleInfo : ConditionalTraitInfo
|
public class HarvesterBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages AI MCVs.")]
|
[Desc("Manages AI MCVs.")]
|
||||||
public class McvManagerBotModuleInfo : ConditionalTraitInfo
|
public class McvManagerBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages AI squads.")]
|
[Desc("Manages AI squads.")]
|
||||||
public class SquadManagerBotModuleInfo : ConditionalTraitInfo
|
public class SquadManagerBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Manages bot support power handling.")]
|
[Desc("Manages bot support power handling.")]
|
||||||
public class SupportPowerBotModuleInfo : ConditionalTraitInfo, Requires<SupportPowerManagerInfo>
|
public class SupportPowerBotModuleInfo : ConditionalTraitInfo, Requires<SupportPowerManagerInfo>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
|
[TraitLocation(SystemActors.Player)]
|
||||||
[Desc("Controls AI unit production.")]
|
[Desc("Controls AI unit production.")]
|
||||||
public class UnitBuilderBotModuleInfo : ConditionalTraitInfo
|
public class UnitBuilderBotModuleInfo : ConditionalTraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user