Hi
Are there any API calls that tells you which cargo need to go to towns like in the in-game 'industry chains'.
I have tried by making a special rule that all EXPRESS cargo type should be transported to 'sufficiently' large towns.
But in candyland only Fizzy Drinks are EXPRESS cargo, so I cant find a way to detect Candy also need to go there.
Best Regards
Kim
How to detect which cargo needs to be transported to towns
Moderator: OpenTTD Developers
Re: How to detect which cargo needs to be transported to tow
http://dev.openttdcoop.org/projects/gs- ... /utils.nut
line 402 will gave you example
line 402 will gave you example
Re: How to detect which cargo needs to be transported to tow
Thanks, that looks like what I have been missing.
If Cargo has a TownEffect then towns will accept that cargo type.
I will try and play around with that.
If Cargo has a TownEffect then towns will accept that cargo type.
I will try and play around with that.
Who is online
Users browsing this forum: No registered users and 12 guests