The International Simutrans Forum

 

Author Topic: Get pakset name "get.pakset_name ()"  (Read 95 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1242
    • Simutrans-BLOG
  • Languages: ES
Get pakset name "get.pakset_name ()"
« 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 ()