Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
    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);
    }