ClassicCityBuilderKit 1.8.8
|
put this interface on any building part that needs to affect the buildings efficiency
Properties | |
bool | IsWorking [get] |
false disrupts the building | |
float | Factor [get] |
how efficiency is changed by this component(0-1), a buildings efficiency is calculated by multiplying all of its efficiency factors | |
|
get |
how efficiency is changed by this component(0-1), a buildings efficiency is calculated by multiplying all of its efficiency factors
Implemented in CityBuilderCore.ConnectionPasserComponent, CityBuilderCore.DiseaseAddon, CityBuilderCore.EmploymentComponent, CityBuilderCore.FireAddon, CityBuilderCore.HousingComponent, CityBuilderCore.ItemEfficiencyComponent, CityBuilderCore.LayerEfficiencyComponent, CityBuilderCore.ScoreEfficiencyComponent, CityBuilderCore.ServiceEfficiencyComponent, CityBuilderCore.Tests.DebugNoEfficiencyComponent, CityBuilderCore.WorkerUserComponent, CityBuilderManual.Custom.CustomBuildingComponent, CityBuilderTown.TownProductionComponent, and CityBuilderTown.TownWorkComponent.
|
get |
false disrupts the building
Implemented in CityBuilderCore.ConnectionPasserComponent, CityBuilderCore.DiseaseAddon, CityBuilderCore.EmploymentComponent, CityBuilderCore.FireAddon, CityBuilderCore.HousingComponent, CityBuilderCore.ItemEfficiencyComponent, CityBuilderCore.LayerEfficiencyComponent, CityBuilderCore.ScoreEfficiencyComponent, CityBuilderCore.ServiceEfficiencyComponent, CityBuilderCore.Tests.DebugNoEfficiencyComponent, CityBuilderCore.WorkerUserComponent, CityBuilderManual.Custom.CustomBuildingComponent, CityBuilderTown.TownProductionComponent, and CityBuilderTown.TownWorkComponent.