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

« back to all changes in this revision

Viewing changes to data/base/stats-sql/schema/weapons.sql

  • 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
-- Table structure for table `weapons`
 
2
 
 
3
CREATE TABLE `weapons` (
 
4
  id                    INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
 
5
  name                  TEXT    NOT NULL, -- Text id name (short language independant name)
 
6
  techlevel             TEXT    NOT NULL, -- Technology level of this component
 
7
  buildPower            NUMERIC NOT NULL, -- Power required to build this component
 
8
  buildPoints           NUMERIC NOT NULL, -- Time required to build this component
 
9
  weight                NUMERIC NOT NULL, -- Component's weight (mass?)
 
10
  hitpoints             NUMERIC NOT NULL, -- Component's hitpoints - SEEMS TO BE UNUSED
 
11
  systempoints          NUMERIC NOT NULL, -- Space the component takes in the droid - SEEMS TO BE UNUSED
 
12
  body                  NUMERIC NOT NULL, -- Component's body points
 
13
  GfxFile               TEXT,             -- The IMD to draw for this component
 
14
  mountGfx              TEXT,             -- The turret mount to use
 
15
  muzzleGfx             TEXT,             -- The muzzle flash
 
16
  flightGfx             TEXT,             -- The ammo in flight
 
17
  hitGfx                TEXT,             -- The ammo hitting a target
 
18
  missGfx               TEXT,             -- The ammo missing a target
 
19
  waterGfx              TEXT,             -- The ammo hitting water
 
20
  trailGfx              TEXT,             -- The trail used for in flight
 
21
  short_range           NUMERIC NOT NULL, -- Max distance to target for short range shot
 
22
  long_range            NUMERIC NOT NULL, -- Max distance to target for long range shot
 
23
  short_range_accuracy  NUMERIC NOT NULL, -- Chance to hit at short range
 
24
  long_range_accuracy   NUMERIC NOT NULL, -- Chance to hit at long range
 
25
  firePause             NUMERIC NOT NULL, -- Time between each weapon fire
 
26
  numExplosions         INTEGER NOT NULL, -- The number of explosions per shot
 
27
  rounds_per_salvo      INTEGER NOT NULL, -- The number of rounds per salvo(magazine)
 
28
  reload_time_per_salvo NUMERIC NOT NULL, -- Time to reload the round of ammo (salvo fire)
 
29
  damage                NUMERIC NOT NULL, -- How much damage the weapon causes
 
30
  radius                NUMERIC NOT NULL, -- Basic blast radius of weapon
 
31
  radiusHit             NUMERIC NOT NULL, -- Chance to hit in the blast radius
 
32
  radiusDamage          NUMERIC NOT NULL, -- Damage done in the blast radius
 
33
  incenTime             NUMERIC NOT NULL, -- How long the round burns
 
34
  incenDamage           NUMERIC NOT NULL, -- Damage done each burn cycle
 
35
  incenRadius           NUMERIC NOT NULL, -- Burn radius of the round
 
36
  directLife            NUMERIC NOT NULL, -- How long a direct fire weapon is visible. Measured in 1/100 sec.
 
37
  radiusLife            NUMERIC NOT NULL, -- How long a blast radius is visible
 
38
  flightSpeed           NUMERIC NOT NULL, -- speed ammo travels at
 
39
  indirectHeight        NUMERIC NOT NULL, -- how high the ammo travels for indirect fire
 
40
  fireOnMove            TEXT    NOT NULL, -- indicates whether the droid has to stop before firing
 
41
  weaponClass           TEXT    NOT NULL, -- the class of weapon
 
42
  weaponSubClass        TEXT    NOT NULL, -- the subclass to which the weapon belongs
 
43
  movement              TEXT    NOT NULL, -- which projectile model to use for the bullet
 
44
  weaponEffect          TEXT    NOT NULL, -- which type of warhead is associated with the weapon
 
45
  rotate                NUMERIC NOT NULL, -- amount the weapon(turret) can rotate 0 = none
 
46
  maxElevation          NUMERIC NOT NULL, -- max amount the turret can be elevated up
 
47
  minElevation          NUMERIC NOT NULL, -- min amount the turret can be elevated down
 
48
  facePlayer            TEXT    NOT NULL, -- flag to make the (explosion) effect face the player when drawn
 
49
  faceInFlight          TEXT    NOT NULL, -- flag to make the inflight effect face the player when drawn
 
50
  recoilValue           NUMERIC NOT NULL, -- used to compare with weight to see if recoils or not
 
51
  minRange              NUMERIC NOT NULL, -- Min distance to target for shot
 
52
  lightWorld            TEXT    NOT NULL, -- flag to indicate whether the effect lights up the world
 
53
  effectSize            NUMERIC NOT NULL, -- size of the effect 100 = normal, 50 = half etc
 
54
  surfaceToAir          NUMERIC NOT NULL, -- indicates how good in the air - SHOOT_ON_GROUND, SHOOT_IN_AIR or both
 
55
  numAttackRuns         NUMERIC NOT NULL, -- number of attack runs a VTOL droid can do with this weapon
 
56
  designable            NUMERIC NOT NULL, -- flag to indicate whether this component can be used in the design screen
 
57
  penetrate             NUMERIC NOT NULL  -- flag to indicate whether pentrate droid or not
 
58
);