Localise DummyBot
This commit is contained in:
@@ -17,8 +17,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[TraitLocation(SystemActors.Player)]
|
[TraitLocation(SystemActors.Player)]
|
||||||
public sealed class DummyBotInfo : TraitInfo, IBotInfo
|
public sealed class DummyBotInfo : TraitInfo, IBotInfo
|
||||||
{
|
{
|
||||||
|
[FieldLoader.Require]
|
||||||
|
[FluentReference]
|
||||||
[Desc("Human-readable name this bot uses.")]
|
[Desc("Human-readable name this bot uses.")]
|
||||||
public readonly string Name = "Unnamed Bot";
|
public readonly string Name = null;
|
||||||
|
|
||||||
[FieldLoader.Require]
|
[FieldLoader.Require]
|
||||||
[Desc("Internal id for this bot.")]
|
[Desc("Internal id for this bot.")]
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ actor-sniper =
|
|||||||
actor-mig-bomber-name = MiG Bomber
|
actor-mig-bomber-name = MiG Bomber
|
||||||
|
|
||||||
## rules.yaml
|
## rules.yaml
|
||||||
|
bot-lonestarai-name = Lonestar AI
|
||||||
actor-powerproxy-parabombs-description = A MiG bomber drops a load of parachuted bombs on your target.
|
actor-powerproxy-parabombs-description = A MiG bomber drops a load of parachuted bombs on your target.
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ Player:
|
|||||||
-ModularBot@NavalAI:
|
-ModularBot@NavalAI:
|
||||||
-ModularBot@TurtleAI:
|
-ModularBot@TurtleAI:
|
||||||
DummyBot@LonestarAI:
|
DummyBot@LonestarAI:
|
||||||
Name: Lonestar AI
|
Name: bot-lonestarai-name
|
||||||
Type: lonestar
|
Type: lonestar
|
||||||
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
|
LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY:
|
||||||
Visible: False
|
Visible: False
|
||||||
|
|||||||
Reference in New Issue
Block a user