[lightlod]
Type=ShapeComponent
Geometry=factory_light_light.erf

[lightwatcher]
Type=AttributeWatcherOfInt
Attribute=IsDark
SimulationShouldExecute=1

[lightswitch]
Type=SwitchComponent
Input=LightWatcher
Child=LightLOD

[lod]
Type=ShapeComponent
Geometry=factory_light.erf

[watcher]
Type=AttributeWatcherOfInt
Attribute=VisualRepresentation
SimulationShouldExecute=1

[damageappearance]
Type=SwitchComponent
Input=Watcher
Child=LOD

[locator]
Child=LightSwitch
Child=DamageAppearance

