~ubuntu-branches/ubuntu/lucid/warzone2100/lucid

« back to all changes in this revision

Viewing changes to data/base/script/text/basic.slo

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger, Paul Wise, Christoph Egger
  • Date: 2009-06-29 17:12:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090629171252-5ddnlfg3zfchrega
Tags: 2.2.1+dfsg1-1
[ Paul Wise ]
* New upstream release (Closes: #534962)
* Adjust the flex build-depends to take account of the conflict
  with all the versions of flex 2.5.34 (LP: #372872)
* Make the -music Recommends more strict, 2.1 music doesn't work
  with 2.2.
* Upstream moved the downloads to sourceforge, update the watch file
* Bump Standards-Version, no changes needed
* Drop use of dh_desktop since it no longer does anything
* Recommend the new warzone2100-video package, version 2.2 or similar
* Mention the warzone2100 crash reports in the -dbg package description

[ Christoph Egger ]
* Replace CC-2.0 graphic from cybersphinx, create a new tarball
* Add myself to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * basic script for Warzone
 
3
 *
 
4
 */
 
5
 
 
6
//structures
 
7
public  STRUCTURESTAT           babaBunker;
 
8
public  STRUCTURESTAT           babaCorner;             
 
9
public  STRUCTURESTAT           babFactory;             
 
10
public  STRUCTURESTAT           babaTower;              
 
11
public  STRUCTURESTAT           babWall;                
 
12
public  STRUCTURESTAT           babaPower;              
 
13
public  STRUCTURESTAT           babaRocket;             
 
14
public  STRUCTURESTAT           command;                        
 
15
public  STRUCTURESTAT           factory;                        
 
16
public  STRUCTURESTAT           wall;                   
 
17
public  STRUCTURESTAT           cornerWall;             
 
18
public  STRUCTURESTAT           oilderrick;             
 
19
public  STRUCTURESTAT           powerGen;               
 
20
public  STRUCTURESTAT           research;               
 
21
 
 
22
//components
 
23
public  BODY                            viperBody;              
 
24
public  BODY                            howitzerBody;   
 
25
public  BODY                            missileBody;            
 
26
public  BODY                            trikeBody;              
 
27
public  BODY                            buggyBody;              
 
28
public  BODY                            babaBody;               
 
29
 
 
30
public  CONSTRUCT                       spade;                  
 
31
 
 
32
//public        ECM                                     ecm;                            
 
33
public  SENSOR                          defaultSensor;
 
34
 
 
35
public  PROPULSION                      wheeledProp;            
 
36
public  PROPULSION                      trackProp;              
 
37
public  PROPULSION                      babaProp;
 
38
public  WEAPON                          machineGun;
 
39
 
 
40
//public        WEAPON                          machineGun;             
 
41
//public        WEAPON                          cannon;                 
 
42
//public        WEAPON                          howitzer;               
 
43
//public        WEAPON                          missile;                        
 
44
 
 
45
public  RESEARCHSTAT                    commander;
 
46
 
 
47
//this event is called once the game has initialised itself
 
48
event initialisedEvent(CALL_GAMEINIT)
 
49
{
 
50
        //set up the reticule buttons
 
51
        addReticuleButton(OPTIONS);
 
52
        addReticuleButton(CANCEL);
 
53
        addReticuleButton(BUILD);
 
54
        addReticuleButton(MANUFACTURE);
 
55
        addReticuleButton(RESEARCH);
 
56
        addReticuleButton(INTELMAP);
 
57
        addReticuleButton(DESIGN);
 
58
 
 
59
        //make structures available to build
 
60
        enableStructure(babaBunker,6);
 
61
        enableStructure(babaCorner,6);
 
62
        enableStructure(babaTower,6);
 
63
        enableStructure(babFactory,6);
 
64
        enableStructure(babWall,6);
 
65
        enableStructure(babaPower,6);
 
66
        enableStructure(babaRocket,6);
 
67
        enableStructure(babaBunker,7);
 
68
        enableStructure(babaCorner,7);
 
69
        enableStructure(babaTower,7);
 
70
        enableStructure(babFactory,7);
 
71
        enableStructure(babWall,7);
 
72
        enableStructure(babaPower,7);
 
73
        enableStructure(babaRocket,7);
 
74
        enableStructure(command,0);
 
75
        enableStructure(factory,0);
 
76
        enableStructure(wall,0);
 
77
        enableStructure(cornerWall,0);
 
78
        enableStructure(oilderrick,0);
 
79
        enableStructure(powerGen,0);
 
80
        enableStructure(research,0);
 
81
        //make some components available
 
82
        makeComponentAvailable(viperBody, 0);
 
83
        makeComponentAvailable(machineGun, 0);
 
84
        makeComponentAvailable(howitzerBody, 1);
 
85
        makeComponentAvailable(missileBody, 1);
 
86
        makeComponentAvailable(trikeBody, 6);
 
87
        makeComponentAvailable(buggyBody, 6);
 
88
        makeComponentAvailable(babaBody, 6);
 
89
        makeComponentAvailable(trikeBody, 7);
 
90
        makeComponentAvailable(buggyBody, 7);
 
91
        makeComponentAvailable(babaBody, 7);
 
92
        makeComponentAvailable(spade, 0);
 
93
//      makeComponentAvailable(ecm, 6);
 
94
//      makeComponentAvailable(ecm, 7);
 
95
        makeComponentAvailable(wheeledProp, 0);
 
96
        makeComponentAvailable(wheeledProp, 1);
 
97
        makeComponentAvailable(trackProp, 1);
 
98
        makeComponentAvailable(babaProp, 6);
 
99
        makeComponentAvailable(babaProp, 7);
 
100
        //makeComponentAvailable(machineGun, 0);
 
101
        //makeComponentAvailable(machineGun, 6);
 
102
        //makeComponentAvailable(machineGun, 7);
 
103
        //makeComponentAvailable(howitzer, 1);
 
104
        //makeComponentAvailable(missile, 1);
 
105
 
 
106
//      completeResearch(commander, 0);
 
107
 
 
108
        setStructureLimits(factory, 5, 0);
 
109
        setDefaultSensor(defaultSensor ,0);
 
110
}
 
 
b'\\ No newline at end of file'