News:

Beta test the new forum at https://simutrans.forum/

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Get pakset name "get.pakset_name ()"

Started by Yona-TYT, December 24, 2019, 12:39:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT


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 ()