* Convert the `propulsion.txt` and `bodypropulsionimd.txt` stats to the SQLite database

This addresses #2 ( http://trac.wz2100.net/ticket/2 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4052 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-03-14 22:11:00 +00:00
parent 0316bee001
commit cac17150d3
5 changed files with 240 additions and 0 deletions

View File

@ -0,0 +1,187 @@
BEGIN TRANSACTION;
-- Data for table `bodypropulsionimd`
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL1.PIE', 'PRLRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL2.PIE', 'PRLRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL3.PIE', 'PRLRVTL3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL2.PIE', 'PRLRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLWHL1.PIE', 'PRLRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL1.PIE', 'PRLRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL2.PIE', 'PRLRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL2.PIE', 'PRLRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL3.PIE', 'PRLRVTL3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL2.PIE', 'PRHRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL2.PIE', 'PRHRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL2.PIE', 'PRHRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body10MBT' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL3.PIE', 'PRHRVTL3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL3.PIE', 'PRHRVTL3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL3.PIE', 'PRHRVTL3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body11ABT' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL4.PIE', 'PRHRVTL4.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL4.PIE', 'PRHRVTL4.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL4.PIE', 'PRHRVTL4.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body12SUP' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL1.PIE', 'PRLRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body1REC' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL2.PIE', 'PRLRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body2SUP' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL2.PIE', 'PRLRVTL2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body3MBT' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLVTL3.PIE', 'PRLRVTL3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLTRK1.PIE', 'PRLRTRK1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLLHTR1.PIE', 'PRLRHTR1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRLHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body4ABT' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body5REC' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body6SUPP' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body7ABT' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLHTR2.PIE', 'PRMRHTR2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLTRK2.PIE', 'PRMRTRK2.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLVTL1.PIE', 'PRMRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRMLWHL1.PIE', 'PRMRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body8MBT' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='HalfTrack';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='HalfTrack02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLHTR3.PIE', 'PRHRHTR3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='HalfTrack03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='hover01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='hover02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHHOV1.PIE', NULL FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='hover03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='tracked01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='tracked02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLTRK3.PIE', 'PRHRTRK3.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='tracked03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL1.PIE', 'PRHRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='V-Tol';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL1.PIE', 'PRHRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='V-Tol02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLVTL1.PIE', 'PRHRVTL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='V-Tol03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='wheeled01';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='wheeled02';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'PRHLWHL1.PIE', 'PRHRWHL1.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='Body9REC' AND `propulsion`.`name`='wheeled03';
INSERT INTO `bodypropulsionimd` SELECT `body`.`id`, `propulsion`.`id`, 'MIBNKDRL.PIE', 'MIBNKDRR.PIE' FROM `body`, `propulsion` WHERE `body`.`name`='ZNULLBODY' AND `propulsion`.`name`='ZNULLPROP';
COMMIT TRANSACTION;

View File

@ -0,0 +1,27 @@
BEGIN TRANSACTION;
-- Data for table `propulsion`
INSERT INTO `propulsion` VALUES(NULL, 'ZNULLPROP', 'Level All', 0, 0, 0, 0, 0, 0, 'MIBNKDRL.PIE', 'Wheeled', 0, 0);
INSERT INTO `propulsion` VALUES(NULL, 'wheeled03', 'Level All', 150, 50, 200, 1, 1, 300, 'PRLRWHL1.PIE', 'Wheeled', 175, 0);
INSERT INTO `propulsion` VALUES(NULL, 'wheeled02', 'Level All', 100, 50, 250, 1, 1, 200, 'PRLRWHL1.PIE', 'Wheeled', 175, 0);
INSERT INTO `propulsion` VALUES(NULL, 'wheeled01', 'Level All', 50, 50, 300, 1, 1, 100, 'PRLRWHL1.PIE', 'Wheeled', 175, 1);
INSERT INTO `propulsion` VALUES(NULL, 'V-Tol03', 'Level All', 300, 125, 50, 0, 1, 300, 'DPVTOL.PIE', 'Lift', 800, 0);
INSERT INTO `propulsion` VALUES(NULL, 'V-Tol02', 'Level All', 250, 125, 50, 0, 1, 150, 'DPVTOL.PIE', 'Lift', 800, 0);
INSERT INTO `propulsion` VALUES(NULL, 'V-Tol', 'Level All', 150, 125, 50, 0, 1, 100, 'DPVTOL.PIE', 'Lift', 700, 1);
INSERT INTO `propulsion` VALUES(NULL, 'tracked03', 'Level All', 275, 125, 550, 1, 1, 800, 'PRLRTRK1.PIE', 'Tracked', 125, 0);
INSERT INTO `propulsion` VALUES(NULL, 'tracked02', 'Level All', 200, 125, 600, 1, 1, 600, 'PRLRTRK1.PIE', 'Tracked', 125, 0);
INSERT INTO `propulsion` VALUES(NULL, 'tracked01', 'Level All', 125, 125, 650, 1, 1, 400, 'PRLRTRK1.PIE', 'Tracked', 125, 1);
INSERT INTO `propulsion` VALUES(NULL, 'hover03', 'Level All', 200, 100, 100, 1, 1, 300, 'PRLHOV1.PIE', 'Hover', 200, 0);
INSERT INTO `propulsion` VALUES(NULL, 'hover02', 'Level All', 150, 100, 150, 1, 1, 200, 'PRLHOV1.PIE', 'Hover', 225, 0);
INSERT INTO `propulsion` VALUES(NULL, 'hover01', 'Level All', 100, 100, 200, 1, 1, 150, 'PRLHOV1.PIE', 'Hover', 200, 1);
INSERT INTO `propulsion` VALUES(NULL, 'HalfTrack03', 'Level All', 125, 75, 300, 1, 1, 500, 'PRLRHTR1.PIE', 'Half-Tracked', 150, 1);
INSERT INTO `propulsion` VALUES(NULL, 'HalfTrack02', 'Level All', 100, 75, 350, 1, 1, 350, 'PRLRHTR1.PIE', 'Half-Tracked', 150, 1);
INSERT INTO `propulsion` VALUES(NULL, 'HalfTrack', 'Level All', 75, 75, 400, 1, 1, 200, 'PRLRHTR1.PIE', 'Half-Tracked', 150, 1);
INSERT INTO `propulsion` VALUES(NULL, 'CyborgLegs03', 'Level All', 10, 50, 100, 1, 1, 150, NULL, 'Legged', 400, 0);
INSERT INTO `propulsion` VALUES(NULL, 'CyborgLegs02', 'Level All', 10, 50, 100, 1, 1, 100, NULL, 'Legged', 400, 0);
INSERT INTO `propulsion` VALUES(NULL, 'CyborgLegs', 'Level All', 10, 50, 100, 1, 1, 50, NULL, 'Legged', 400, 0);
INSERT INTO `propulsion` VALUES(NULL, 'BaBaProp', 'Level All', 0, 15, 10, 1, 5, 1, NULL, 'Wheeled', 200, 0);
INSERT INTO `propulsion` VALUES(NULL, 'BaBaLegs', 'Level All', 0, 15, 10, 1, 5, 1, NULL, 'Legged', 200, 0);
COMMIT TRANSACTION;

View File

@ -0,0 +1,9 @@
-- Table structure for table `bodypropulsionimd`
CREATE TABLE `bodypropulsionimd` (
body INTEGER NOT NULL, -- The body's ID number (i.e. refers to the `id` column in table `body`)
propulsion INTEGER NOT NULL, -- The propulsions's ID number (i.e. refers to the `id` column in table `propulsion`)
leftIMD TEXT, -- Graphics for the propulsion object on the left of the body
rightIMD TEXT, -- Graphics for the propulsion object on the right of the body
UNIQUE(body, propulsion)
);

View File

@ -0,0 +1,17 @@
-- Table structure for table `propulsion`
CREATE TABLE `propulsion` (
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
name TEXT NOT NULL, -- Text id name (short language independant name)
techlevel TEXT NOT NULL, -- Technology level of this component
buildPower NUMERIC NOT NULL, -- Power required to build this component
buildPoints NUMERIC NOT NULL, -- Time required to build this component
weight NUMERIC NOT NULL, -- Component's weight (mass?)
hitpoints NUMERIC NOT NULL, -- Component's hitpoints - SEEMS TO BE UNUSED
systempoints NUMERIC NOT NULL, -- Space the component takes in the droid - SEEMS TO BE UNUSED
body NUMERIC NOT NULL, -- Component's body points
GfxFile TEXT, -- The IMD to draw for this component
type TEXT NOT NULL, -- Type of propulsion
maxSpeed NUMERIC NOT NULL, -- Max speed for droids with this propulsion
designable NUMERIC NOT NULL -- flag to indicate whether this component can be used in the design screen
);

Binary file not shown.