Lua API documentation cleanup
also reduces amount of headings with only a single entry SendAirStrike() - now listed under "Support Powers" Guard() - now listed under "Combat" FindResources() - now listed under "Movement" Deploy() - now listed under "General" SendParaTroopers() - now listed under "Support Powers" Paradrop() - no listed under "Transports" Teleport() should probably be listd under "Movement", but I don't know how to change that (currently listed under "General"). note that I changed "ScriptGlobal" to "ScriptPropertyGroup" for SendAirStrike() - I hope that does not screw up anything
This commit is contained in:
@@ -16,7 +16,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Scripting
|
namespace OpenRA.Mods.Common.Scripting
|
||||||
{
|
{
|
||||||
[ScriptGlobal("Air Support Powers")]
|
[ScriptPropertyGroup("Support Powers")]
|
||||||
public class AirstrikeProperties : ScriptActorProperties, Requires<AirstrikePowerInfo>
|
public class AirstrikeProperties : ScriptActorProperties, Requires<AirstrikePowerInfo>
|
||||||
{
|
{
|
||||||
readonly AirstrikePower ap;
|
readonly AirstrikePower ap;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Scripting
|
namespace OpenRA.Mods.Common.Scripting
|
||||||
{
|
{
|
||||||
[ScriptPropertyGroup("Guard")]
|
[ScriptPropertyGroup("Combat")]
|
||||||
public class GuardProperties : ScriptActorProperties, Requires<GuardInfo>, Requires<IMoveInfo>
|
public class GuardProperties : ScriptActorProperties, Requires<GuardInfo>, Requires<IMoveInfo>
|
||||||
{
|
{
|
||||||
Guard guard;
|
Guard guard;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Scripting
|
namespace OpenRA.Mods.Common.Scripting
|
||||||
{
|
{
|
||||||
[ScriptPropertyGroup("Harvester")]
|
[ScriptPropertyGroup("Movement")]
|
||||||
public class HarvesterProperties : ScriptActorProperties, Requires<HarvesterInfo>
|
public class HarvesterProperties : ScriptActorProperties, Requires<HarvesterInfo>
|
||||||
{
|
{
|
||||||
readonly Harvester harvester;
|
readonly Harvester harvester;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.Common.Scripting
|
namespace OpenRA.Mods.Common.Scripting
|
||||||
{
|
{
|
||||||
[ScriptPropertyGroup("Transform")]
|
[ScriptPropertyGroup("General")]
|
||||||
public class TransformProperties : ScriptActorProperties, Requires<TransformsInfo>
|
public class TransformProperties : ScriptActorProperties, Requires<TransformsInfo>
|
||||||
{
|
{
|
||||||
readonly Transforms transforms;
|
readonly Transforms transforms;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.RA.Scripting
|
namespace OpenRA.Mods.RA.Scripting
|
||||||
{
|
{
|
||||||
[ScriptPropertyGroup("Paradrop")]
|
[ScriptPropertyGroup("Transports")]
|
||||||
public class ParadropProperties : ScriptActorProperties, Requires<CargoInfo>, Requires<ParaDropInfo>
|
public class ParadropProperties : ScriptActorProperties, Requires<CargoInfo>, Requires<ParaDropInfo>
|
||||||
{
|
{
|
||||||
readonly ParaDrop paradrop;
|
readonly ParaDrop paradrop;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ using OpenRA.Traits;
|
|||||||
|
|
||||||
namespace OpenRA.Mods.RA.Scripting
|
namespace OpenRA.Mods.RA.Scripting
|
||||||
{
|
{
|
||||||
[ScriptPropertyGroup("Paratroopers")]
|
[ScriptPropertyGroup("Support Powers")]
|
||||||
public class ParatroopersProperties : ScriptActorProperties, Requires<ParatroopersPowerInfo>
|
public class ParatroopersProperties : ScriptActorProperties, Requires<ParatroopersPowerInfo>
|
||||||
{
|
{
|
||||||
readonly ParatroopersPower pp;
|
readonly ParatroopersPower pp;
|
||||||
|
|||||||
Reference in New Issue
Block a user