Initial commit
This commit is contained in:
79
DATA/SCRIPTS/AI/BUILDHUTTPALACEPLAN.LUA
Normal file
79
DATA/SCRIPTS/AI/BUILDHUTTPALACEPLAN.LUA
Normal file
@@ -0,0 +1,79 @@
|
||||
-- $Id: //depot/Projects/StarWars_Steam/FOC/Run/Data/Scripts/AI/BuildHuttPalacePlan.lua#1 $
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
--
|
||||
-- (C) Petroglyph Games, Inc.
|
||||
--
|
||||
--
|
||||
-- ***** ** * *
|
||||
-- * ** * * *
|
||||
-- * * * * *
|
||||
-- * * * * * * * *
|
||||
-- * * *** ****** * ** **** *** * * * ***** * ***
|
||||
-- * ** * * * ** * ** ** * * * * ** ** ** *
|
||||
-- *** ***** * * * * * * * * ** * * * *
|
||||
-- * * * * * * * * * * * * * * *
|
||||
-- * * * * * * * * * * ** * * * *
|
||||
-- * ** * * ** * ** * * ** * * * *
|
||||
-- ** **** ** * **** ***** * ** *** * *
|
||||
-- * * *
|
||||
-- * * *
|
||||
-- * * *
|
||||
-- * * * *
|
||||
-- **** * *
|
||||
--
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
-- C O N F I D E N T I A L S O U R C E C O D E -- D O N O T D I S T R I B U T E
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
--
|
||||
-- $File: //depot/Projects/StarWars_Steam/FOC/Run/Data/Scripts/AI/BuildHuttPalacePlan.lua $
|
||||
--
|
||||
-- Original Author: Steve_Copeland
|
||||
--
|
||||
-- $Author: Brian_Hayes $
|
||||
--
|
||||
-- $Change: 637819 $
|
||||
--
|
||||
-- $DateTime: 2017/03/22 10:16:16 $
|
||||
--
|
||||
-- $Revision: #1 $
|
||||
--
|
||||
--/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
require("pgevents")
|
||||
|
||||
|
||||
function Definitions()
|
||||
DebugMessage("%s -- In Definitions", tostring(Script))
|
||||
|
||||
Category = "AlwaysOff"
|
||||
-- Category = "Build_Hutt_Palace"
|
||||
IgnoreTarget = true
|
||||
TaskForce = {
|
||||
{
|
||||
"StructureForce",
|
||||
-- "Ground_Hutt_Palace_E | Ground_Hutt_Palace_R = 1"
|
||||
}
|
||||
}
|
||||
|
||||
DebugMessage("%s -- Done Definitions", tostring(Script))
|
||||
end
|
||||
|
||||
function StructureForce_Thread()
|
||||
DebugMessage("%s -- In StructureForce_Thread.", tostring(Script))
|
||||
|
||||
Sleep(1)
|
||||
|
||||
-- StructureForce.Set_As_Goal_System_Removable(false)
|
||||
AssembleForce(StructureForce)
|
||||
|
||||
StructureForce.Set_Plan_Result(true)
|
||||
DebugMessage("%s -- StructureForce done!", tostring(Script));
|
||||
ScriptExit()
|
||||
end
|
||||
|
||||
function StructureForce_Production_Failed(tf, failed_object_type)
|
||||
DebugMessage("%s -- Abandonning plan owing to production failure.", tostring(Script))
|
||||
ScriptExit()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user