The International Simutrans Forum

Development => Extension Requests => Topic started by: Andarix on April 20, 2025, 08:59:58 AM

Title: Script tools with definition restart=1
Post by: Andarix on April 20, 2025, 08:59:58 AM
Some script tools malfunction if the script environment is not restarted.

Therefore, it would be helpful if script tools that have restart=1 defined deactivate the tool at the end of execution and switch to the inspection tool.

This ensures that the tool and the script environment are restarted when used again.
Title: Re: Script tools with definition restart=1
Post by: prissi on September 20, 2026, 02:09:09 AM
In principle, there is already the restart=1 parameter in the documentation. However, it is difficult to determine when the tool has ended, as two click tools can take infinite amount of time and the place where the error message is recovered is not the best place to reinit the machine.