The International Simutrans Forum

Development => Extension Requests => Topic started by: Frank on May 03, 2016, 02:05:25 PM

Title: Scenario load dialoque
Post by: Frank on May 03, 2016, 02:05:25 PM
Is it possible in the scenario Loading dialog display the string of scenario.short_description?

right of the button
Title: Re: Scenario load dialoque
Post by: prissi on May 03, 2016, 08:59:31 PM
Unfourtunately this is not trivial, as is this an internal function in the nut script. I am not well enough in understanding to call sucessful the script without fully executing it.
Title: Re: Scenario load dialoque
Post by: Dwachs on May 06, 2016, 05:36:29 AM
What about adding a small file info.nut that contains the necessary information (but not more).
Title: Re: Scenario load dialoque
Post by: prissi on May 06, 2016, 09:44:20 PM
IT would be even easier, if one can have an entry in the scenario translations filed "scenario_short_goal" or so. Than one just have to parse the matching scenario file to display the goal. I think that would be the easiest way.