LuaDocs spelling fixes

This commit is contained in:
Thijs Waalen
2014-09-06 19:28:59 +02:00
parent 8e4b5af352
commit a9b5e1d911
4 changed files with 7 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ namespace OpenRA.Scripting
{
public ActorGlobal(ScriptContext context) : base(context) { }
[Desc("Create a new actor. initTable specifies a list of key-value pairs that definite initial parameters for the actor's traits.")]
[Desc("Create a new actor. initTable specifies a list of key-value pairs that define initial parameters for the actors traits.")]
public Actor Create(string type, bool addToWorld, LuaTable initTable)
{
var initDict = new TypeDictionary();
@@ -68,7 +68,7 @@ namespace OpenRA.Scripting
return ai.GetBuildTime();
}
[Desc("Returns the cruise altitude of the requested unit type (zero if it ground-based).")]
[Desc("Returns the cruise altitude of the requested unit type (zero if it is ground-based).")]
public int CruiseAltitude(string type)
{
ActorInfo ai;

View File

@@ -80,7 +80,7 @@ namespace OpenRA.Mods.RA.Scripting
}
[ScriptActorPropertyActivity]
[Desc("Run an arbitrary lua function.")]
[Desc("Run an arbitrary Lua function.")]
public void CallFunc(LuaFunction func)
{
self.QueueActivity(new CallLuaFunc(func));

View File

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.RA.Scripting
public PlayerProperties(ScriptContext context, Player player)
: base(context, player) { }
[Desc("The player's name.")]
[Desc("The players name.")]
public string Name { get { return player.PlayerName; } }
[Desc("Returns an array of actors representing all ground attack units of this player.")]