protected override void PrepareLaunchpadTasks(LaunchpadTasksList tasksList) { tasksList.AddTask(TaskBuildRocketFrame, new TextureResource("Misc/LaunchpadTasks/RocketFrame.png"), new InputItems() .Add <ItemStructuralPlating>(25) .Add <ItemAramidFiber>(50) .Add <ItemComponentsMechanical>(50)); }
protected override void PrepareLaunchpadTasks(LaunchpadTasksList tasksList) { tasksList.AddTask(TaskFuelTheRocket, new TextureResource("Misc/LaunchpadTasks/FuelTheRocket.png"), new InputItems() .Add <ItemFuelCellPragmium>(5) .Add <ItemFuelSack>(50) .Add <ItemSolvent>(100)) .AddTask(TaskPrepareSupplies, new TextureResource("Misc/LaunchpadTasks/PrepareSupplies.png"), new InputItems() .Add <ItemComponentsPharmaceutical>(100) .Add <ItemBottleWater>(100) .Add <ItemWheatGrains>(100)); }
protected override void PrepareLaunchpadTasks(LaunchpadTasksList tasksList) { tasksList.AddTask(TaskBuildFuelTank, new TextureResource("Misc/LaunchpadTasks/FuelTank.png"), new InputItems() .Add <ItemIngotSteel>(100) .Add <ItemPlastic>(100) .Add <ItemReactorDeflector>(5)) .AddTask(TaskBuildPropulsionSystem, new TextureResource("Misc/LaunchpadTasks/PropulsionSystem.png"), new InputItems() .Add <ItemImpulseEngine>(25) .Add <ItemPragmiumHeart>(5) .Add <ItemTyrantHeart>(5)) .AddTask(TaskBuildControlElectronics, new TextureResource("Misc/LaunchpadTasks/ControlElectronics.png"), new InputItems() .Add <ItemComponentsElectronic>(25) .Add <ItemComponentsHighTech>(25) .Add <ItemWire>(100)); }
protected override void PrepareConstructionConfig( ConstructionTileRequirements tileRequirements, ConstructionStageConfig build, ConstructionStageConfig repair, ConstructionUpgradeConfig upgrade, out ProtoStructureCategory category) { category = GetCategory <StructureCategoryOther>(); this.PrepareLaunchpadConstructionConfig(build, repair, upgrade); if (upgrade.Entries.Count > 1 || (upgrade.Entries.Count == 1 && upgrade.Entries[0].RequiredItems.Count > 0)) { throw new Exception("There must be max 1 upgrade entry and there must be no required items"); } var tasksList = new LaunchpadTasksList(); this.PrepareLaunchpadTasks(tasksList); this.TasksList = tasksList.AsReadOnly(); }
protected override void PrepareLaunchpadTasks(LaunchpadTasksList tasksList) { tasksList.AddTask(TaskBuildLifeSupportSystem, new TextureResource("Misc/LaunchpadTasks/LifeSupportSystem.png"), new InputItems() .Add <ItemKeinite>(100) .Add <ItemVialBiomaterial>(100) .Add <ItemComponentsIndustrialChemicals>(100)) .AddTask(TaskBuildNavigationSystem, new TextureResource("Misc/LaunchpadTasks/NavigationSystem.png"), new InputItems() .Add <ItemComponentsOptical>(50) .Add <ItemImplantArtificialRetina>(1) .Add <ItemSolarPanel>(10)) .AddTask(TaskBuildAnomalyAvoidanceSystem, new TextureResource("Misc/LaunchpadTasks/AnomalyAvoidanceSystem.png"), new InputItems() .Add <ItemPragmiumSensor>(1) .Add <ItemTeleportLocationData>(1) .Add <ItemOrePragmium>(100)); }
protected abstract void PrepareLaunchpadTasks(LaunchpadTasksList tasksList);