Turning off the 'free' house
Posted: 18 Apr 2013 13:19
I wish to not receive an effectively 'free' house whenever 'Fund new Buildings' is used in the Town menu.
Fund new buildings sets the house timer of a town to one day from whatever value it was manually set to, even if the town is not growing.
There's multiple ways in which it 'could' be done, but I believe most would require some kind of change to OpenTTD.
Method:
1) Add to configure patches.
- It would be a Somewhat obscure setting that has minimal impact on most games.
2) Allow scripts to override this functionality.
- E.g. if a script sets a town growth rate to be once every 200 days it will plant a house every 200 days, no matter if someone presses the fund town button.
3) Allow newGRF to override this functionality.
Also, I've noticed:
The classes GSTown and AITown have no way of providing AI or script with the information if/when a town is funded or not. Nor is the secondary way of verifying this (using the TownZone of a square, as a human player would be able to do it) possible.
Fund new buildings sets the house timer of a town to one day from whatever value it was manually set to, even if the town is not growing.
There's multiple ways in which it 'could' be done, but I believe most would require some kind of change to OpenTTD.
Method:
1) Add to configure patches.
- It would be a Somewhat obscure setting that has minimal impact on most games.
2) Allow scripts to override this functionality.
- E.g. if a script sets a town growth rate to be once every 200 days it will plant a house every 200 days, no matter if someone presses the fund town button.
3) Allow newGRF to override this functionality.
Also, I've noticed:
The classes GSTown and AITown have no way of providing AI or script with the information if/when a town is funded or not. Nor is the secondary way of verifying this (using the TownZone of a square, as a human player would be able to do it) possible.