5/1/2023 0 Comments Openttd growing citiesFor example TOWN_GROW_RATE_CUSTOM is not exposed in the API. In the API documentation, you should not refer to internal ENUM constants which are not exposed in the API. "more of this conditions" => "more of these conditions" (change "this" to "these") Items in the changelog is sorted alphabetically - not by date within the same version. In order for the HTML output to show up as a list, you need to follow the Doxygen syntax for bullet lists, otherwise it will probably even ignore your manual line breaks. In your doxygen comment you have something that looks like you intended to have a bullet list there. The latter could be also useful for other interesting scripts too. , which would make it possible to decide the service status in GS. Or make some GSStation function to retrieve struct Station properties : How it would be possible to implement some new GS feature?Įither gather the service information directly in town_cmd.cmd inĪnd send it to GS, like GSTown.HasService(townid), That is when town gui says correctly the town is not growing, but GS will say in goal gui the town is growing (even if I omit the growing line, the user can still be confused, if he sees the deliveries). Since GS cant recognize, that the town has no transport service, it gives the user invalid information about town growth in that case. This all works fine,īut when town has enough resources and is not serviced, the town will not grow, but the GS will think it grows, because town was supplied. I added new growth mechanism, that uses new features of setting town growth as TOWN_GROWTH_NORMAL when town is supplied and TOWN_GROWTH_NONE when not. Script influences town in such way, that they need to be supplied to grow houses. I am trying to implement new GS features to my Simple City Builder script, and I get into one small trouble.
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |