LuaDocs spelling fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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.")]
|
||||
|
||||
Reference in New Issue
Block a user