Esempio n. 1
0
 public override void DoPostConfigureComplete(GameObject go)
 {
     GeneratedBuildings.RegisterLogicPorts(go, SuperTransferArmConfig.INPUT_PORTS);
     go.AddOrGet <LogicOperationalController>();
     go.AddOrGet <SolidTransferArm>().pickupRange = RANGE;
     SuperTransferArmConfig.AddVisualizer(go, false);
 }
Esempio n. 2
0
        public override void DoPostConfigureUnderConstruction(GameObject go)
        {
            GeneratedBuildings.RegisterLogicPorts(go, SuperTransferArmConfig.INPUT_PORTS);
            SuperTransferArmConfig.AddVisualizer(go, false);
            Constructable component = go.GetComponent <Constructable>();

            component.choreTags        = GameTags.ChoreTypes.ConveyorChores;
            component.requiredRolePerk = RoleManager.rolePerks.ConveyorBuild.id;
        }
Esempio n. 3
0
 public override void DoPostConfigurePreview(BuildingDef def, GameObject go)
 {
     GeneratedBuildings.RegisterLogicPorts(go, SuperTransferArmConfig.INPUT_PORTS);
     SuperTransferArmConfig.AddVisualizer(go, true);
 }