Starrynite120
Prince
- Joined
- Jul 15, 2015
- Messages
- 472
I'm having a strange problem with rearranging the tech web. I've gotten rid of most leaf techs. Geophysics is on tier 2 directly down of Habitation. On tier 3 I placed Geoscaping, Planetary Engineering, and Astrodynamics. For some reason, with the below code none of these techs are recognizing any prerequisites, and I'm at a loss as to why. Anyone know why its not working?
INSERT INTO Technology_Connections(FirstTech, SecondTech) VALUES
('TECH_GEOPHYSICS', 'TECH_GEOSCAPING'),
('TECH_BIONICS', 'TECH_PLANETARY_ENGINEERING'),
('TECH_GEOPHYSICS', 'TECH_PLANETARY_ENGINEERING'),
('TECH_GEOPHYSICS', 'TECH_ASTRODYNAMICS'),
('TECH_BALLISTICS', 'TECH_ASTRODYNAMICS'),
UPDATE Technologies SET LeafTech = '0', Cost = 200, GridRadius = 2, GridDegrees = 90 WHERE Type = 'TECH_GEOPHYSICS'
UPDATE Technologies SET LeafTech = '0', Cost = 1000, GridRadius = 3, GridDegrees = 90 WHERE Type = 'TECH_GEOSCAPING';
UPDATE Technologies SET LeafTech = '0', Cost = 1000, GridRadius = 3, GridDegrees = 75 WHERE Type = 'TECH_PLANETARY_ENGINEERING';
UPDATE Technologies SET LeafTech = '0', Cost = 1000, GridRadius = 3, GridDegrees = 105 WHERE Type = 'TECH_ASTRODYNAMICS';
INSERT INTO Technology_Connections(FirstTech, SecondTech) VALUES
('TECH_GEOPHYSICS', 'TECH_GEOSCAPING'),
('TECH_BIONICS', 'TECH_PLANETARY_ENGINEERING'),
('TECH_GEOPHYSICS', 'TECH_PLANETARY_ENGINEERING'),
('TECH_GEOPHYSICS', 'TECH_ASTRODYNAMICS'),
('TECH_BALLISTICS', 'TECH_ASTRODYNAMICS'),
UPDATE Technologies SET LeafTech = '0', Cost = 200, GridRadius = 2, GridDegrees = 90 WHERE Type = 'TECH_GEOPHYSICS'
UPDATE Technologies SET LeafTech = '0', Cost = 1000, GridRadius = 3, GridDegrees = 90 WHERE Type = 'TECH_GEOSCAPING';
UPDATE Technologies SET LeafTech = '0', Cost = 1000, GridRadius = 3, GridDegrees = 75 WHERE Type = 'TECH_PLANETARY_ENGINEERING';
UPDATE Technologies SET LeafTech = '0', Cost = 1000, GridRadius = 3, GridDegrees = 105 WHERE Type = 'TECH_ASTRODYNAMICS';