The International Simutrans Forum

Development => Scripting Scenarios and AI => Topic started by: Yona-TYT on December 24, 2019, 12:39:19 PM

Title: Get pakset name "get.pakset_name ()"
Post by: Yona-TYT on December 24, 2019, 12:39:19 PM

Hello how are you ? .

I am currently finishing rewriting a script that can work in any pakset.

However, I need to determine the name of the pakset that is being used to make decisions regarding some objects due to the availability of objects in some pakset.

This can also be useful for the scripts to work in different paksets in the future.

Example: world.get.pakset_name ()