--------------------------------------------------------------------------------
--
--  Proposed Command ID Ranges:
--
--    all negative:  Engine (build commands)
--       0 -   999:  Engine
--    1000 -  9999:  Group AI
--   10000 - 19999:  LuaUI
--   20000 - 29999:  LuaCob
--   30000 - 39999:  LuaRules
--

-- if you add a command, please order it by ID!

CMD_RETREAT =	10000
CMD_RETREAT_ZONE = 10001
CMD_SETHAVEN = CMD_RETREAT_ZONE
CMD_RESETFIRE = 10003
CMD_RESETMOVE = 10004
CMD_BUILDPREV		= 10005
CMD_RADIALBUILDMENU = 10006

CMD_FACTORY_GUARD = 13921
CMD_AREA_GUARD = 13922

CMD_SHOOTNOW = 18000

CMD_BUILD = 10010

CMD_AREA_MEX = 30100
CMD_MORPH = 31210
CMD_EMBARK = 31200
CMD_DISEMBARK = 31201
CMD_TRANSPORTTO = 31202
CMD_STEALTH = 32100
CMD_CLOAK_SHIELD = 32101
CMD_MINE = 32105	-- easymetal2
CMD_REARM = 32768	-- bomber control
CMD_FIND_PAD = 32769	-- bomber control
CMD_UNIT_FLOAT_STATE = 33412
CMD_PRIORITY = 34220
CMD_MISC_PRIORITY = 34221
CMD_UNIT_BOMBER_DIVE_STATE = 34281  -- bomber dive
CMD_AP_FLY_STATE = 34569	-- unit_air_plants
CMD_AP_AUTOREPAIRLEVEL = 34570	-- unit_air_plants
CMD_UNIT_SET_TARGET = 34923 -- unit_target_on_the_move
CMD_UNIT_CANCEL_TARGET = 34924
CMD_UNIT_SET_TARGET_CIRCLE = 34925
CMD_ONECLICK_WEAPON = 35000
CMD_PLACE_BEACON = 35170
CMD_WAIT_AT_BEACON = 35171
CMD_ABANDON_PW = 35200
CMD_ANTINUKEZONE = 35130	-- ceasefire
CMD_UNIT_KILL_SUBORDINATES = 35821	-- unit_capture
CMD_UNIT_AI = 36214
CMD_WANT_CLOAK = 37382
CMD_DONT_FIRE_AT_RADAR = 38372 -- fire at radar toggle gadget
CMD_JUMP = 38521
CMD_TURN = 38530
CMD_TIMEWARP = 38522
CMD_AIR_STRAFE = 39381
CMD_FACTORY_GUARD = 13921

-- terraform
CMD_RAMP = 39734
CMD_LEVEL = 39736
CMD_RAISE = 39737
CMD_SMOOTH = 39738
CMD_RESTORE = 39739
CMD_BUMPY = 39740
CMD_TERRAFORM_INTERNAL = 39801

-- not included here, just listed
--[[
CMD_PURCHASE = 32601	-- planetwars, range up to 32601 + #purchases
CMD_MORPH_STOP = 32210	-- range up to 32210 + #morphs
CMD_MORPH = 31210		-- ditto
]]--

-- deprecated
--[[
CMD_PLANTBOMB =     	32523
CMD_AUTOREPAIR =    	33250 	-- up to 33250 + 3
CMD_AUTORECLAIM =   	33251
CMD_AUTOASSIST  =   	33252
CMD_AUTOATTACK  =   	33253
CMD_PRIORITY=			34220
CobButton =         	34520 	-- up to 32520 + different cob buttons
CMD_SCRAMBLE =      	35128
CMD_WRECK =         	36734
CMD_RESTOREBOMB = 		39735
]]--