You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, NewObjects can be built only by players. I would like a callback, to be run during map generation, which could populate the map with non-player-owned NewObjects, in a similar fashion to the default lighthouse and transmitter. The callback would select a random location to try and build the object, and have four possible results afaict: Build the object and go again; Build the object and finish; Don't build and go again; and Don't build and finish.
Additionally, a NewObject equivalent of callback 143 (Protect building conditionally) would be useful. Some NewObjects (eg rocky outcrops) may be appropriately removable by the players, others (eg ancient monuments) would not.
how does openttd know to try and build this object?
perhaps newobjects have a special "cargo" in action 3 for the map generation callback?
that's for whoever's actually programming it to work out
and that ain't me :)
one per town, one per map, only build on mountains, only build near coastlines, only build etc etc :]
although I don't think we have all the necessary variables yet ;)
hrm
I want a version that runs during game
sure
it would look for industries :P
and plant overbuildable fields
maybe it could run at the beginning of the month, or year, or whatever :]
Pikka opened the ticket and wrote:
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/5424
The text was updated successfully, but these errors were encountered: