News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

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