Page 1 of 1

Add [P/] to rich text formatting?

Posted: Wed Jul 15, 2020 8:48 pm
by jdogg
Would it be possible to add a paragraph break [P/] to the rich text formatting for making the locale description look right no matter what screen resolution your using?

The idea behind it would be so this:

Code: Select all

[entity-description]
main-description=Integrated passive provider and requester chests[P/][color=red]Press: [font=default-bold]__1__[/font] to open requester chest.[/color][P/][color=yellow]Press: [font=default-bold]__2__[/font] to open requester chest inserter configuration.[/color][P/][color=blue]Press: [font=default-bold]__3__[/font] to open provider chest.[/color][P/][color=green]Press: [font=default-bold]__4__[/font] to open provider chest inserter configuration.[/color]
Would display like this no matter the resolution:
cfg-formatting-1.png
cfg-formatting-1.png (467.09 KiB) Viewed 1071 times
But without them the description shows like this:
cfg-formatting-2.png
cfg-formatting-2.png (228.13 KiB) Viewed 1071 times

Re: Add [P/] to rich text formatting?

Posted: Wed Jul 15, 2020 8:56 pm
by Bilka
What would [P/] do differently than already existing \n?

Re: Add [P/] to rich text formatting?

Posted: Wed Jul 15, 2020 9:07 pm
by jdogg
Literally nothing, I feel dumb but I searched for way too long and couldn't find how to do it. Where is that even documented at or is that just a common thing for .cfg files? Also thank you that makes my descriptions look so much cleaner :D