FTBTeam / FTB-Mods-Issues

Any mod issues, be it FTB Teams, Quests or any other of our mods can be reported here!
21 stars 1 forks source link

[Feature Request]: Collapsable sections in quest descriptions #526

Open aaronhowser1 opened 1 year ago

aaronhowser1 commented 1 year ago

Mod

FTB Quests

Description

Example (click this) Like this

Basically so I can have a massive amount of text, but not require the entire thing be visible at once. Would be nice for like, structure build instructions.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

aaronhowser1 commented 1 year ago

In efforts of saving vertical space, I've abused the new hover text function.

This is a horrible pain to write, however. This is what that paragraph looks like:

["",{"translate":"university.dank.desc4"},{"translate":"university.dank.normal","color":"light_purple","hoverEvent":{"action":"show_text","contents":[{"translate":"university.dank.normaltext"}]}},", ",{"translate":"university.dank.all","color":"light_purple","hoverEvent":{"action":"show_text","contents":[{"translate":"university.dank.alltext"}]}},", ",{"translate":"university.dank.filtered","color":"light_purple","hoverEvent":{"action":"show_text","contents":[{"translate":"university.dank.filtered"}]}},", ",{"translate":"university.dank.void","color":"light_purple","hoverEvent":{"action":"show_text","contents":[{"translate":"university.dank.voidtext1"},{"translate":"university.dank.voidtext2","color":"red"},{"translate":"university.dank.voidtext3"}]}}]

desht commented 1 year ago

Yeah sorry I never replied to this one originally. This is actually a lot more difficult than it might initially appear, and while I agree it would be very to cool to have, I still haven't quite figured out how feasible it would be to implement without massive internal changes to how quest text is managed...

desht commented 1 year ago

Since we have multi-page quests now for handling very large descriptions, is this one needed anymore?

aaronhowser1 commented 1 year ago

Not really