Civilization Wiki
Advertisement

Documentation for this module may be created at Module:Data/CivBE/RT/Commands/doc

--[Field]                              [Type]
--Type                                 String
--Description                          String
--Help                                 String
--DisabledHelp                         String
--HotKey                               String
--HotKeyAlt                            String
--HotKeyPriority                        Int64
--HotKeyPriorityAlt                     Int64
--OrderPriority                         Int64
--AltDown                             Boolean
--AltDownAlt                          Boolean
--ShiftDown                           Boolean
--ShiftDownAlt                        Boolean
--CtrlDown                            Boolean
--CtrlDownAlt                         Boolean
--Visible                             Boolean
--All                                 Boolean
--ConfirmCommand                      Boolean
--Automate                             String
--IconIndex                             Int64
--IconAtlas                            String

local data ={

COMMAND_PROMOTION={
Type="COMMAND_PROMOTION";
Description=[=[Promote Unit]=];
OrderPriority=198;
IconIndex=-1;};

COMMAND_UPGRADE={
Type="COMMAND_UPGRADE";
Description=[=[Upgrade Unit]=];
HotKey="KB_U";
HotKeyPriority=2;
OrderPriority=150;
Visible=true;
IconIndex=60;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_AUTOMATE={
Type="COMMAND_AUTOMATE";
Description=[=[Automate the Unit]=];
IconIndex=-1;};

COMMAND_WAKE={
Type="COMMAND_WAKE";
Description=[=[Wake the Unit]=];
Help=[=[This will wake the Unit up so that it can be issued orders. Waking a Unit does not remove its fortification bonus.]=];
HotKey="KB_F";
OrderPriority=101;
Visible=true;
All=true;
IconIndex=5;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_CANCEL={
Type="COMMAND_CANCEL";
Description=[=[Cancel Last Mission]=];
Help=[=[This will cancel the last order in the Unit's mission queue. You will find this to be very useful if you accidentally queue the wrong order.]=];
HotKey="KB_BACKSPACE";
HotKeyPriority=1;
OrderPriority=199;
Visible=true;
All=true;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_CANCEL_ALL={
Type="COMMAND_CANCEL_ALL";
Description=[=[Cancel All Missions]=];
Help=[=[This will cancel all queued orders for the currently selected Unit.]=];
HotKey="KB_BACKSPACE";
HotKeyPriority=1;
OrderPriority=199;
ShiftDown=true;
All=true;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_STOP_AUTOMATION={
Type="COMMAND_STOP_AUTOMATION";
Description=[=[Stop Automation]=];
Help=[=[This will cancel the order for the Unit to automate itself. It will then rely on you for all orders.]=];
HotKey="KB_BACKSPACE";
OrderPriority=101;
Visible=true;
All=true;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_DELETE={
Type="COMMAND_DELETE";
Description=[=[{{ColorWarningBE|Delete the Unit}}]=];
Help=[=[Click on this order to remove the Unit from play.]=];
HotKey="KB_DELETE";
OrderPriority=-1;
Visible=true;
ConfirmCommand=true;
IconIndex=11;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_GIFT={
Type="COMMAND_GIFT";
Description=[=[Gift the Unit]=];
Help=[=[This will give the currently selected Unit to the player who controls the land the Unit is standing on. To give the Unit to a different player you must first move the Unit into their territory.]=];
OrderPriority=1;
Visible=true;
IconIndex=7;
IconAtlas="UNIT_ACTION_ATLAS";};

COMMAND_HOTKEY={
Type="COMMAND_HOTKEY";
Description="TXT_KEY_COMMAND_HOTKEY";
Help=[=[Allows you to assign a hot-key to this Unit.]=];
IconIndex=-1;};

}
return data
Advertisement