The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on January 23, 2026, 11:51:54 AM

Title: Tutorial ADD get_make_public_months
Post by: Yona-TYT on January 23, 2026, 11:51:54 AM
0001-Script-API-add-get_make_public_months-to-settings-AP.patch
Title: Re: Tutorial ADD get_make_public_months
Post by: prissi on January 23, 2026, 12:41:11 PM
Care to elaborate why? That setting is only relevant for network games which are not really scripted (so far).
Title: Re: Tutorial ADD get_make_public_months
Post by: Andarix on January 23, 2026, 09:34:01 PM
I requested this.

Since I'm using the tooltip translation text (https://translator.simutrans.com/script/edit.php?obj_id=30778) in Scenario Chapter 2 Step H (https://github.com/simutrans/tutorial_multipak/blob/09d9d0ce3405087d988d3b9cf40254f4957d70f9/class/class_chapter_02.nut#L256), I also need the %i value.

And since the parameter is located in simuconf.tab, it's also possible that it has been changed. This would mean that, with a fixed number, the text would no longer match the in-game display.

My goal is to use as much of the existing text as possible. And the labels for the tools and tooltips, in particular, should match the text in the tutorial.

Screenshot 2026-01-23 222931.png
Title: Re: Tutorial ADD get_make_public_months
Post by: prissi on January 25, 2026, 05:23:30 AM
Comitted in r11874
Title: Re: Tutorial ADD get_make_public_months
Post by: Andarix on January 25, 2026, 08:42:18 AM
thank you
Title: Re: Tutorial ADD get_make_public_months
Post by: Yona-TYT on January 25, 2026, 02:59:30 PM
I apologize for the errors in the patch. :-[