public override void DoPostConfigureComplete(GameObject go) { GeneratedBuildings.RegisterLogicPorts(go, SuperTransferArmConfig.INPUT_PORTS); go.AddOrGet <LogicOperationalController>(); go.AddOrGet <SolidTransferArm>().pickupRange = RANGE; SuperTransferArmConfig.AddVisualizer(go, false); }
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; }
public override void DoPostConfigurePreview(BuildingDef def, GameObject go) { GeneratedBuildings.RegisterLogicPorts(go, SuperTransferArmConfig.INPUT_PORTS); SuperTransferArmConfig.AddVisualizer(go, true); }