The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Andarix on May 27, 2026, 08:54:37 AM

Title: factory_desc_x Class
Post by: Andarix on May 27, 2026, 08:54:37 AM
factory_desc_x Class Reference (https://doc.simutrans-germany.com/Simutrans-Squirrel-API/classfactory__desc__x.html)

It appears to be impossible to query the passenger rate and destination cities for factories.
Title: Re: factory_desc_x Class
Post by: makie on June 25, 2026, 09:19:03 PM
An export of the function "get_target_cities()" for Squirrel would be very useful, for me too. I'm missing it as well.

However, it can be found in simfab.h would therefore be in the factory_x Class, not in factory_desc_x

Title: Re: factory_desc_x Class
Post by: prissi on June 26, 2026, 12:50:47 PM
Is in next nightly.
Title: Re: factory_desc_x Class
Post by: makie on June 26, 2026, 05:07:02 PM
Works as expected. Thanks very much.  :thumbsup:  :thumbsup: