Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Author Topic: Ship "text2" description doesn't appear to do anything  (Read 693 times)

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2901
    • View Profile
    • Sc2Mafia
Ship "text2" description doesn't appear to do anything
« on: July 02, 2023, 11:49:39 PM »

In the fleet screen, Venture's description is:

Quote
Tough, dependable and not overly expensive, Venture-class cruisers are usually purchased by private corporations for escort duty or refitted by small non-aligned worlds for system defense.

It should be:

Quote
Tough and dependable, the Venture is usually fitted with a good missile complement but lacks the sustained damage output needed to do well in prolonged engagements. A built-in mining drone bay provides additional defenses - a particularly good thing because the civilian-grade power generators make the shields easy to overwhelm.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26085
    • View Profile
Re: Ship "text2" description doesn't appear to do anything
« Reply #1 on: July 03, 2023, 07:13:27 AM »

Hmm. Dug around a bit, and it looks like you're right that it's not actually used anywhere! There *is* a code path where it could be used given specific tooltip config values (which are never set in the code), but, hmm. I'm not sure that it *should* be used, and I'm not sure why the text2 is filled in with descriptions for these couple of ships - the Venture, the Eagle, the Falcon. I think it's probably just extraneous data in the descriptions file.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2901
    • View Profile
    • Sc2Mafia
Re: Ship "text2" description doesn't appear to do anything
« Reply #2 on: July 03, 2023, 11:27:38 PM »

I seem to recall it, at one point, being a sort of "override".  Like if you have an in-a-nutshell description to use instead of the codex paragraphs, or if you really want multiple paragraphs (rather than just the first) to appear in the fleet tooltip.  I don't believe there is any way currently to replicate that behavior.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26085
    • View Profile
Re: Ship "text2" description doesn't appear to do anything
« Reply #3 on: July 04, 2023, 12:11:58 PM »

Ah, that rings a bell! I'm not seeing any leftover code that would make it work, though - at least, not enough of it - so either we're both remembering wrong or I took it out for some particular reason, hm.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26085
    • View Profile
Re: Ship "text2" description doesn't appear to do anything
« Reply #4 on: July 04, 2023, 03:10:54 PM »

Ah, I remember! text2 and text3 are now used for the Tesseract etc, and other ships that don't show their full info in the tooltip.
Logged