From 8ede484b0e5761dcc6da0b9d75a71a395ebcc365 Mon Sep 17 00:00:00 2001 From: William JCM Date: Tue, 3 Aug 2021 20:07:16 +0200 Subject: [PATCH] ResearchTree: added T4 engine nodes. --- src/ResearchTree/ResearchTree.cpp | 76 +++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/src/ResearchTree/ResearchTree.cpp b/src/ResearchTree/ResearchTree.cpp index 18b5adf..22653ca 100644 --- a/src/ResearchTree/ResearchTree.cpp +++ b/src/ResearchTree/ResearchTree.cpp @@ -218,6 +218,58 @@ void ResearchTree::generateEngineTree() { "Level 2 Rewiring that efficiently improves power and engine durability.", "Durability +360, Power +11", ""}); + // T4 + _engineNodes.emplace(ModLunariteEngine, Node{Node::Type::Engine, "Mod. Lunarite Engine", 4, 4, + "Modified Durasteel that is heavier than normal durasteel, but even more durable", + "Durability +3744, Power +105, Armour +428, Acceleration +75, Magazine load +54, Energy capacity +54", + "Durability +3%"}); + _engineNodes.emplace(ChargedLunariteEngine, Node{Node::Type::Engine, "Charged Lunarite Engine", 4, 4, + "Charged up Lunarite engine that compromises durability for more speed, then added with armour platings.", + "Durability +3120, Power +105, Acceleration +300, Magazine load +54, Energy capacity +54, Fuel capacity +157", + "Acceleration +5"}); + _engineNodes.emplace(LunariteEngine, Node{Node::Type::Engine, "Lunarite Engine", 4, 4, + "Engine made of an alloy composed of Lunarite and various other metals.", + "Durability +3120, Power +147, Armour +285, Acceleration +75, Magazine load +54, Energy capacity +54", + "Power +3%"}); + _engineNodes.emplace(InfusedEngine, Node{Node::Type::Engine, "Infused Engine", 4, 4, + "An engine with infused plating. Highly resistant to heat, allowing fuel to be burned at higher temperatures.", + "Durability +5460, Power +84, Armour +499, Acceleration -50, Magazine load +43, Energy capacity +43", + "Durability +3%"}); + _engineNodes.emplace(MetalPlatings4, Node{Node::Type::Gear, "Metal Platings 4", 4, 0, + "Level 4 Metal plating that adds durability and armour to your engine.", + "Durability +540, Armour +73, Acceleration -15", ""}); + _engineNodes.emplace(HeatTurbines4, Node{Node::Type::Gear, "Heat Turbines 4", 4, 0, + "Level 4 Modified heat turbines to increase speed for a M.A.S.S.", + "Acceleration +75, Fuel capacity +47", ""}); + _engineNodes.emplace(Microcontroller4, Node{Node::Type::Gear, "Microcontroller 4", 4, 0, + "Level 4 Microchip that enhances various aspects of a M.A.S.S.", + "Durability +324, Power +8, Armour +30, Magazine load +8, Energy capacity +8, Fuel capacity +24", ""}); + _engineNodes.emplace(WeaponsCargo3, Node{Node::Type::Gear, "Weapons Cargo 3", 4, 0, + "Level 3 Added another cargo hold for ammo and energy recharger.", + "Magazine load +32, Energy capacity +32, Acceleration -40", ""}); + _engineNodes.emplace(CombustionController4, Node{Node::Type::Gear, "Combustion Controller 4", 4, 0, + "Level 4 Controlled combustion allows increased power generation through specific ignition.", + "Power +16, Magazine load +16, Energy capacity +16, Acceleration -25", ""}); + _engineNodes.emplace(PoweredRewiring3, Node{Node::Type::Gear, "Powered Rewiring 3", 4, 0, + "Level 3 Rewiring that efficiently improves power and engine durability.", + "Durability +540, Power +16", ""}); + _engineNodes.emplace(ArmouredCargo1, Node{Node::Type::Gear, "Armoured Cargo 1", 4, 0, + "Added armoured platings for large cargo holds.", + "Armour +61, Magazine load +16, Energy capacity +16, Acceleration -40", ""}); + _engineNodes.emplace(ArmouredFuelTank1, Node{Node::Type::Gear, "Armoured Fuel Tank 1", 4, 0, + "Added armoured platings for a large fuel tank.", + "Armour +61, Fuel capacity +24, Acceleration -15", ""}); + _engineNodes.emplace(ExtraCapacity1, Node{Node::Type::Gear, "Extra Capacity 1", 4, 0, + "Space management with added capacity for more cargo holds and fuel.", + "Magazine load +16, Energy capacity +16, Fuel capacity +47, Acceleration -40", ""}); + _engineNodes.emplace(HighmetalEngine, Node{Node::Type::Engine, "Highmetal Engine", 4, 4, + "Made of highmetal, an alloy composed of Lunarite and other metals. Difficult to work into complex shapes, but high heat resistance.", + "Durability +2730, Power +189, Armour +249, Acceleration -50", + "Power +3%"}); + _engineNodes.emplace(PowerRedirector1, Node{Node::Type::Gear, "Power Redirector 1", 4, 0, + "Redirection of power into fuel management for more power and acceleration.", + "Power +16, Acceleration +50", ""}); + _engineNodes.at(VerseEngine).addChild(_engineNodes.at(MetalPlatings1)); _engineNodes.at(VerseEngine).addChild(_engineNodes.at(HeatTurbines1)); _engineNodes.at(VerseEngine).addChild(_engineNodes.at(LoadedEngine)); @@ -249,6 +301,30 @@ void ResearchTree::generateEngineTree() { _engineNodes.at(NecriumAlloyEngine).addChild(_engineNodes.at(WeaponsCargo2)); _engineNodes.at(NecriumAlloyEngine).addChild(_engineNodes.at(CombustionController3)); _engineNodes.at(NecriumAlloyEngine).addChild(_engineNodes.at(PoweredRewiring2)); + _engineNodes.at(MetalPlatings3).addChild(_engineNodes.at(ModLunariteEngine)); + _engineNodes.at(HeatTurbines3).addChild(_engineNodes.at(ChargedLunariteEngine)); + _engineNodes.at(Microcontroller3).addChild(_engineNodes.at(ChargedLunariteEngine)); + _engineNodes.at(WeaponsCargo2).addChild(_engineNodes.at(ChargedLunariteEngine)); + _engineNodes.at(CombustionController3).addChild(_engineNodes.at(LunariteEngine)); + _engineNodes.at(PoweredRewiring2).addChild(_engineNodes.at(LunariteEngine)); + _engineNodes.at(ModLunariteEngine).addChild(_engineNodes.at(InfusedEngine)); + _engineNodes.at(ModLunariteEngine).addChild(_engineNodes.at(MetalPlatings4)); + _engineNodes.at(ChargedLunariteEngine).addChild(_engineNodes.at(HeatTurbines4)); + _engineNodes.at(ChargedLunariteEngine).addChild(_engineNodes.at(Microcontroller4)); + _engineNodes.at(ChargedLunariteEngine).addChild(_engineNodes.at(WeaponsCargo3)); + _engineNodes.at(LunariteEngine).addChild(_engineNodes.at(CombustionController4)); + _engineNodes.at(LunariteEngine).addChild(_engineNodes.at(PoweredRewiring3)); + _engineNodes.at(InfusedEngine).addChild(_engineNodes.at(ArmouredCargo1)); + _engineNodes.at(InfusedEngine).addChild(_engineNodes.at(ArmouredFuelTank1)); + _engineNodes.at(MetalPlatings4).addChild(_engineNodes.at(ArmouredCargo1)); + _engineNodes.at(MetalPlatings4).addChild(_engineNodes.at(ArmouredFuelTank1)); + _engineNodes.at(HeatTurbines4).addChild(_engineNodes.at(ExtraCapacity1)); + _engineNodes.at(Microcontroller4).addChild(_engineNodes.at(ExtraCapacity1)); + _engineNodes.at(WeaponsCargo3).addChild(_engineNodes.at(ExtraCapacity1)); + _engineNodes.at(CombustionController4).addChild(_engineNodes.at(HighmetalEngine)); + _engineNodes.at(CombustionController4).addChild(_engineNodes.at(PowerRedirector1)); + _engineNodes.at(PoweredRewiring3).addChild(_engineNodes.at(HighmetalEngine)); + _engineNodes.at(PoweredRewiring3).addChild(_engineNodes.at(PowerRedirector1)); _engineNodes.at(VerseEngine).setState(Node::State::Unlocked); }