Page 13 of 13

Re: Library

Posted: Mon Jan 12, 2026 1:42 am
by phkb
Krager wrote: Sun Jan 11, 2026 11:00 pm
Нашёл кусочек текста, не вынесенный в missiontext.plist.

Текст `Desc`
Файл `Lib_Config.js`
Строка `493`

Будете что нибудь менять и это тоже поменяйте пожалуйста.
Change line 493 to this:

Code: Select all

txt += "\n" + expandMissionText("[LIB_CONFIG_LINE_DESC]", { desc: "\n" + final }) + "\n";
And see if that fixes the issue. If so, I'll include it in the next release.

Re: Library

Posted: Mon Jan 12, 2026 12:35 pm
by Krager
phkb wrote: Mon Jan 12, 2026 1:42 am
Не работает. Выводит вместо описания слово `null`

Пока просто изменил в тексте.

Code: Select all

			txt += "\nОПИСАНИЕ:\n" + final + "\n"; // was inf.toString().substr(0, 240) (ie only 240 characters)

Re: Library

Posted: Tue Jan 13, 2026 5:16 am
by phkb
Krager wrote: Mon Jan 12, 2026 12:35 pm
Не работает. Выводит вместо описания слово `null`
Oops. My bad. Try this instead:

Code: Select all

txt += "\n" + expandMissionText("LIB_CONFIG_LINE_DESC", { desc: "\n" + final }) + "\n";

Re: Library

Posted: Tue Jan 13, 2026 11:54 am
by Krager
phkb wrote: Tue Jan 13, 2026 5:16 am

Code: Select all

txt += "\n" + expandMissionText("LIB_CONFIG_LINE_DESC", { desc: "\n" + final }) + "\n";
Так работает, всё хорошо, благодарю!