Exemplo n.º 1
0
        public override void DoPostConfigureComplete(GameObject go)
        {
            GeneratedBuildings.RegisterLogicPorts(go, LogicOperationalController.INPUT_PORTS_0_1);
            go.AddOrGet <LogicOperationalController>();
            go.AddOrGetDef <PoweredActiveController.Def>();
            SpaceHeater spaceHeater = go.AddOrGet <SpaceHeater>();

            spaceHeater.targetTemperature = 5000f;
        }
Exemplo n.º 2
0
    public override void ConfigureBuildingTemplate(GameObject go, Tag prefab_tag)
    {
        go.AddOrGet <LoopingSounds>();
        SpaceHeater spaceHeater = go.AddOrGet <SpaceHeater>();

        spaceHeater.SetLiquidHeater();
        spaceHeater.targetTemperature = 358.15f;
        spaceHeater.minimumCellMass   = 400f;
    }
        public static void Postfix(GameObject go)
        {
            SpaceHeater spaceHeater = go.AddOrGet <SpaceHeater>();

            spaceHeater.targetTemperature = HEATER_TARGET_TEMP;
        }