1. Create a train station with a rich text name
2. Place a train, create a schedule to goto the new station
3. Press Control-F to search the station list, the rich text name isn't included in the textual search (ie: searching iron won't show rich text iron plates)
[0.18.10] Rich text train station names are not searchable
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: [0.18.10] Rich text train station names are not searchable
Thanks for the report, however yes they are.
If you want to get ahold of me I'm almost always on Discord.
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: [0.18.10] Rich text train station names are not searchable
Interesting! To be fair, I'm doing Pyanodon's and setup my test for Formaldehyde not a vanilla recipe. I'll go doublecheck.
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: [0.18.10] Rich text train station names are not searchable
Ok, further investigation looks interesting. I was able to make and search for names using items and recipes including modded and unmodded. I tried Sulfuric acid recipe, item for iron plates, etc and it worked.
Then I tried Py's Formaldehyde recipe again, and it doesn't find it in search. I did the shift-click method to put the name on the console to copy, and pasted it into a station. Then searching doesn't show it. Maybe it's a modded issue only, but I'm not sure what the difference was.
Then I tried Py's Formaldehyde recipe again, and it doesn't find it in search. I did the shift-click method to put the name on the console to copy, and pasted it into a station. Then searching doesn't show it. Maybe it's a modded issue only, but I'm not sure what the difference was.
Re: [0.18.10] Rich text train station names are not searchable
Probably because the recipe doesn't actually include the name "iron" in it? At no point did you say you typed it manually: [recipe-name=iron-plate]
It only searches that as text. If the recipe is something like: [recipe-name=Fe] searching for "iron" isn't going to match anything in that.
It only searches that as text. If the recipe is something like: [recipe-name=Fe] searching for "iron" isn't going to match anything in that.
If you want to get ahold of me I'm almost always on Discord.
-
- Fast Inserter
- Posts: 144
- Joined: Mon Mar 14, 2016 3:51 pm
- Contact:
Re: [0.18.10] Rich text train station names are not searchable
Got it. My example where it failed (Formaldehyde) was called Methanal internally. Clearly this isn't a problem, thanks for checking.
pyhightech_1.5.4/locale/en/locale.cfg:methanal=Formaldehyde
pyhightech_1.5.4/locale/en/locale.cfg:methanal=Formaldehyde