Add Lua documentation details

This commit is contained in:
JovialFeline
2025-02-08 06:37:30 -05:00
committed by Gustas
parent b6dcd8d9af
commit 2030c17a8b
4 changed files with 20 additions and 13 deletions

View File

@@ -23,7 +23,8 @@ namespace OpenRA.Mods.Cnc.Scripting
public ChronosphereProperties(ScriptContext context, Actor self)
: base(context, self) { }
[Desc("Chronoshift a group of actors. A duration of 0 will teleport the actors permanently.")]
[Desc("Chronoshift a group of actors. A duration of 0 will teleport the actors permanently. " +
"If a given cell is unexplored for this power's owner, the closest valid cell will be used instead.")]
public void Chronoshift([ScriptEmmyTypeOverride("{ [actor]: cpos }")] LuaTable unitLocationPairs, int duration = 0, bool killCargo = false)
{
foreach (var kv in unitLocationPairs)