public override void DoPostConfigureComplete(GameObject go) { go.GetComponent <Building>().Def.BuildingUnderConstruction.GetComponent <Constructable>().isDiggingRequired = false; KAnimGraphTileVisualizer kAnimGraphTileVisualizer = go.AddComponent <KAnimGraphTileVisualizer>(); kAnimGraphTileVisualizer.connectionSource = KAnimGraphTileVisualizer.ConnectionSource.Solid; kAnimGraphTileVisualizer.isPhysicalBuilding = true; LiquidConduitConfig.CommonConduitPostConfigureComplete(go); }
public override void DoPostConfigureComplete(GameObject go) { go.GetComponent <Building>().Def.BuildingUnderConstruction.GetComponent <Constructable>().isDiggingRequired = false; go.AddComponent <EmptyConduitWorkable>(); KAnimGraphTileVisualizer kAnimGraphTileVisualizer = go.AddComponent <KAnimGraphTileVisualizer>(); kAnimGraphTileVisualizer.connectionSource = KAnimGraphTileVisualizer.ConnectionSource.Gas; kAnimGraphTileVisualizer.isPhysicalBuilding = true; go.GetComponent <KPrefabID>().AddTag(GameTags.Vents, false); LiquidConduitConfig.CommonConduitPostConfigureComplete(go); }