Loading...
Searching...
No Matches
CityBuilderCore.IEfficiencyFactor Interface Reference

Detailed Description

put this interface on any building part that needs to affect the buildings efficiency

Inheritance diagram for CityBuilderCore.IEfficiencyFactor:
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 CityBuilderTown.TownWorkComponent

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
 

Property Documentation

◆ Factor

◆ IsWorking