The International Simutrans Forum

Development => Scripting Scenarios and AI => Topic started by: THLeaderH on January 09, 2021, 12:37:41 PM

Title: wayobj_x and wayobj_desc_x
Post by: THLeaderH on January 09, 2021, 12:37:41 PM
The current simutrans squirrel API cannot handle wayobj, since it does not have appropriate classes. I want to handle wayobjs in the script to build wayobjs in the script. Is there any plan to implement them, or should I post a patch?
Title: Re: wayobj_x and wayobj_desc_x
Post by: Dwachs on January 09, 2021, 12:45:23 PM
If you already have a patch, then please post it. Otherwise I will start working on this.
Title: Re: wayobj_x and wayobj_desc_x
Post by: THLeaderH on January 09, 2021, 12:52:19 PM
I have no patch at all now  :P
Title: Re: wayobj_x and wayobj_desc_x
Post by: Dwachs on January 09, 2021, 12:55:58 PM
nevermind, already started typing :)
Title: Re: wayobj_x and wayobj_desc_x
Post by: Dwachs on January 09, 2021, 02:52:37 PM
in r9539. Enjoy :)

http://dwachs.github.io/simutrans-sqapi-doc/changelog.html
Title: Re: wayobj_x and wayobj_desc_x
Post by: THLeaderH on January 09, 2021, 03:57:19 PM
Thank you  8)