Summary: For castles there is a building called "Toll Collector" that is supposed to boost the settlement's tax income by 10% per level, however it does not provide any boost at any level. The does building appear to be properly initialized in the DefaultBuildingTypes class (except it is initialized as "_buildingCastleLimeKilns" rather than "_buildingCastleTollCollector"). However, in the CalculateDailyTaxInternal method of the DefaultSettlementTaxModel class, there is an if statement that checks whether or not the settlement is a town and applies the building effects to towns, but there is not a separate check for castles, and thus the tax boost is never applied. A separate if statement is probably needed so the governor perks do not improperly affect castles.
Media:
Toll Collector is initialized and registered as CastleLimeKilns (there are some typos as well):
If statement checks to see if the setllement is a town, but not castle:
The building shows up in the castle management UI screen and is constructable:
Version: 1.5.1
Media:
Toll Collector is initialized and registered as CastleLimeKilns (there are some typos as well):
If statement checks to see if the setllement is a town, but not castle:
The building shows up in the castle management UI screen and is constructable:
Version: 1.5.1