@@ -78,9 +78,6 @@ public List<ResearchNode> Children
7878 }
7979 }
8080
81- public override bool Completed => Research . IsFinished ;
82- public override bool Available => ! Research . IsFinished && ( DebugSettings . godMode || BuildingPresent ( ) ) ;
83-
8481 public override string Label => Research . LabelCap ;
8582
8683 public static bool BuildingPresent ( ResearchProjectDef research )
@@ -190,7 +187,7 @@ public bool TechprintAvailable()
190187 {
191188 return TechprintAvailable ( Research ) ;
192189 }
193-
190+
194191 /// <summary>
195192 /// Draw the node, including interactions.
196193 /// </summary>
@@ -263,15 +260,14 @@ public override void Draw( Rect visibleRect, bool forceDetailedMode = false )
263260 // attach description and further info to a tooltip
264261 TooltipHandler . TipRegion ( Rect , GetResearchTooltipString , Research . GetHashCode ( ) ) ;
265262 if ( ! BuildingPresent ( ) )
266- TooltipHandler . TipRegion ( Rect ,
267- "Fluffy.ResearchTree.MissingFacilities" . Translate ( string . Join ( ", " ,
268- MissingFacilities ( ) . Select ( td => td . LabelCap ) . ToArray ( ) ) ) ) ;
269- }
263+ TooltipHandler . TipRegion ( Rect , "Fluffy.ResearchTree.MissingFacilities" . Translate (
264+ string . Join ( ", " ,
265+ MissingFacilities ( )
266+ . Select ( td => td . LabelCap ) . ToArray ( ) ) ) ) ;
267+
270268 else if ( ! TechprintAvailable ( ) )
271- {
272- TooltipHandler . TipRegion ( Rect ,
273- "Fluffy.ResearchTree.MissingTechprints" . Translate ( Research . TechprintsApplied , Research . techprintCount ) ) ;
274- }
269+ TooltipHandler . TipRegion ( Rect , "Fluffy.ResearchTree.MissingTechprints" . Translate (
270+ Research . TechprintsApplied , Research . techprintCount ) ) ;
275271
276272 // draw unlock icons
277273 if ( detailedMode )
0 commit comments