Debian Codegraph @

scripts/ais/passive.lua

raw
1 -- ____ _ __
2 -- / __ )____ _____ | | / /___ ___________
3 -- / __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
4 -- / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
5 -- /_____/\____/____/ |__/|__/\__,_/_/ /____/
6 --
7 -- A futuristic real-time strategy game.
8 -- This file is part of Bos Wars.
9 --
10 -- passive.lua - Define the passive AI.
11 --
12 -- (c) Copyright 2000-2007 by Lutz Sammer
13 --
14 -- This program is free software; you can redistribute it and/or modify
15 -- it under the terms of the GNU General Public License as published by
16 -- the Free Software Foundation; either version 2 of the License, or
17 -- (at your option) any later version.
18 --
19 -- This program is distributed in the hope that it will be useful,
20 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
21 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 -- GNU General Public License for more details.
23 --
24 -- You should have received a copy of the GNU General Public License
25 -- along with this program; if not, write to the Free Software
26 -- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27 --
28 -- $Id: ai.lua 626 2006-11-25 18:10:03Z feb $
29 --
30
31 -- What we registered in AiTypes.
32 local this_ai_type
33
34 local function AiPassive()
35 end
36
37 this_ai_type = {
38 Ident = "ai-passive",
39 Name = _("Passive"),
40 Init = nil,
41 EachSecond = AiPassive,
42 }
43 DefineAiType(this_ai_type)