001package com.fs.starfarer.api.impl.campaign.skills;
002
003import java.awt.Color;
004
005import com.fs.starfarer.api.characters.DescriptionSkillEffect;
006import com.fs.starfarer.api.impl.campaign.intel.BaseIntelPlugin;
007import com.fs.starfarer.api.util.Misc;
008
009public class AptitudeDesc {
010        public static class Level0 implements DescriptionSkillEffect {
011                public String getString() {
012                        //return "The maximum level of all skills governed by this aptitude is limited to the level of the aptitude.";
013                        return BaseIntelPlugin.BULLET + "Choose enough skills in lower tiers to unlock the next tier\n"
014                                  +BaseIntelPlugin.BULLET + "It's possible to skip a tier by taking more skills in lower tiers instead\n"
015                                  +BaseIntelPlugin.BULLET + "Reaching the top tier requires 4 skill points, plus 1 more to take one of the top skills\n"
016                                  +BaseIntelPlugin.BULLET + "Taking the second top tier skill requires an additional 2 points spent in lower tier skills\n"
017                                  +BaseIntelPlugin.BULLET + "Skills that only affect the piloted ship can be made \"elite\" at the cost of a " + Misc.STORY + " point\n"
018                                  +BaseIntelPlugin.BULLET + "Skills that have been made elite in the past can be re-made elite at no cost\n"
019                        
020                        ;
021                        // pick one to unlock next tier
022                        // can wrap around
023                        // spend " + Misc.STORY + " points to make elite
024                }
025                public Color[] getHighlightColors() {
026                        Color h = Misc.getHighlightColor();
027                        Color s = Misc.getStoryOptionColor();
028                        return new Color[] {h, h, h, s};
029                }
030                public String[] getHighlights() {
031                        return new String[] {"4", "1", "2", "" + Misc.STORY + " point"};
032                }
033                public Color getTextColor() {
034                        return Misc.getTextColor();
035                        //return null;
036                }
037        }
038        
039//      public static class CombatDesc implements DescriptionSkillEffect {
040//              public String getString() {
041//                      return "The maximum level of all skills governed by this aptitude is limited to the level of the aptitude.";
042////                    return "The maximum level of all skills governed by this aptitude is limited to the level of the aptitude." +
043////                                    "\n\n" + 
044////                                    "All combat skills have a Mastery effect that applies to all ships in the fleet, including your flagship, " +
045////                                    "when the skill reaches level three.";
046//              }
047//              public Color[] getHighlightColors() {
048//                      Color c = Global.getSettings().getColor("tooltipTitleAndLightHighlightColor"); 
049//                      return new Color[] {c};
050//              }
051//              public String[] getHighlights() {
052//                      return new String[] {"Mastery"};
053//              }
054//              public Color getTextColor() {
055//                      return null;
056//              }
057//      }
058
059        
060}