modded7/overrides/scripts/AdvRocketry.zs

968 lines
27 KiB
Plaintext
Raw Normal View History

2022-01-23 23:35:02 +08:00
import mods.gregtech.recipe.RecipeMap;
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;
import scripts.common.makeShaped as makeShaped;
import scripts.common.makeExtremeRecipe5 as makeExtremeRecipe5;
// Machine Structure
recipes.remove(<libvulpes:structuremachine>);
makeShaped("libvulpes_structure_machine",
<libvulpes:structuremachine>, [
" P ",
"PMP",
" P ",
], {
P: <ore:plateStainlessSteel>, // Stainless Steel Plate
M: <extrautils2:machine>, // Extra Utils 2 Machine Block
});
recipes.remove(<libvulpes:hatch>);
recipes.remove(<libvulpes:hatch:1>);
recipes.remove(<libvulpes:hatch:2>);
recipes.remove(<libvulpes:hatch:3>);
recipes.remove(<libvulpes:forgepowerinput>);
recipes.remove(<advancedrocketry:loader:2>);
recipes.remove(<advancedrocketry:loader:3>);
recipes.remove(<advancedrocketry:loader:4>);
recipes.remove(<advancedrocketry:loader:5>);
recipes.addShapeless(<libvulpes:hatch>, [<libvulpes:structuremachine>,<meta_tile_entity:item_bus.import.mv>]);
recipes.addShapeless(<libvulpes:hatch:1>, [<libvulpes:structuremachine>,<meta_tile_entity:item_bus.export.mv>]);
recipes.addShapeless(<libvulpes:hatch:2>, [<libvulpes:structuremachine>,<meta_tile_entity:fluid_hatch.import.mv>]);
recipes.addShapeless(<libvulpes:hatch:3>, [<libvulpes:structuremachine>,<meta_tile_entity:fluid_hatch.export.mv>]);
recipes.addShapeless(<libvulpes:forgepowerinput>, [<libvulpes:structuremachine>,<meta_tile_entity:energy_hatch.input.mv>]);
recipes.addShapeless(<advancedrocketry:loader:2>, [<libvulpes:hatch:1>,<metaitem:electric.piston.hv>]);
recipes.addShapeless(<advancedrocketry:loader:3>, [<libvulpes:hatch:0>,<metaitem:electric.piston.hv>]);
recipes.addShapeless(<advancedrocketry:loader:4>, [<libvulpes:hatch:3>,<metaitem:electric.pump.hv>]);
recipes.addShapeless(<advancedrocketry:loader:5>, [<libvulpes:hatch:2>,<metaitem:electric.pump.hv>]);
// Liquid Fueled Engine
recipes.remove(<advancedrocketry:rocketmotor>);
makeShaped("ar_liquid_engine",
<advancedrocketry:rocketmotor>, [
" P ",
"PPP",
"TTT",
], {
P: <ore:plateDoubleSteel>, // Heavy Steel Plating
T: <simplyjetpacks:metaitemmods:7>, // Electrical Steel Thruster
});
// Seat
recipes.remove(<advancedrocketry:seat>);
recipes.addShaped(<advancedrocketry:seat>, [
[<minecraft:wool> , <minecraft:wool> , <minecraft:wool> ],
[<ore:plateStainlessSteel>, <ore:plateStainlessSteel> , <ore:plateStainlessSteel>]
]);
// Structure Tower
recipes.remove(<advancedrocketry:structuretower>);
recipes.addShaped(<advancedrocketry:structuretower> * 3, [
[<ore:frameGtStainlessSteel>],
[<ore:frameGtStainlessSteel>],
[<ore:frameGtStainlessSteel>]
]);
/**
* Pressure Tanks
*/
val arTanks as IIngredient[IItemStack] = {
<advancedrocketry:pressuretank>: hardenedtankIng,
<advancedrocketry:pressuretank:1>: reinforcedtankIng,
<advancedrocketry:pressuretank:2>: signalumtankIng,
<advancedrocketry:pressuretank:3>: resonanttankIng,
};
var counter = -1;
for pressureTank, thermalTank in arTanks {
counter = counter + 1;
recipes.remove(pressureTank);
makeShaped("ar_pressure_tank_" + (counter as string),
pressureTank, [
" M ",
"PTP",
" P ",
], {
M: <ore:pipeNormalFluidStainlessSteel>, // Medium Stainless Steel Pipe
P: <ore:plateStainlessSteel>, // Stainless Steel Plate
T: thermalTank, // Portable Tank
});
}
/**
* PackagedAuto!
*/
// Package Component
recipes.remove(<packagedauto:package_component>);
makeShaped("pauto_package_component",
<packagedauto:package_component>, [
"VTV",
"TXT",
"VTV",
], {
V: <ore:plateVibrantAlloy>, // Vibrant Alloy Plate
T: <ore:plateTitanium>, // Titanium Plate
X: <minecraft:ender_eye> // Ender Eye
});
recipes.remove(<packagedauto:recipe_holder>);
makeShaped("pauto_recipe_holder",
<packagedauto:recipe_holder> * 3, [
"GPG",
"PBP",
"TMT",
], {
G: <appliedenergistics2:quartz_glass>, // Quartz Glass
P: <appliedenergistics2:material:52>, // Blank Pattern
M: <packagedauto:me_package_component>, // ME Packaging Component
B: <ore:blockCrystaltine>, // Block of Crystaltine
T: <ore:plateTitanium>, // Titanium Plate
});
recipes.remove(<packagedauto:packager>);
makeShaped("pauto_packager",
<packagedauto:packager>, [
"TMT",
"CXC",
"TIT",
], {
M: <packagedauto:me_package_component>, // ME Packaging Component
I: <appliedenergistics2:part:240>, // ME Import Bus
T: <ore:plateTitanium>, // Titanium Plate
C: <ore:circuitEv>, // T4 Circuit
2022-01-23 23:35:02 +08:00
X: <extrautils2:crafter>, // ExU2 Crafter
});
recipes.remove(<packagedauto:unpackager>);
makeShaped("pauto_unpackager",
<packagedauto:unpackager>, [
"TMT",
"CXC",
"TET",
], {
M: <packagedauto:me_package_component>, // ME Packaging Component
E: <appliedenergistics2:part:260>, // ME Export Bus
T: <ore:plateTitanium>, // Titanium Plate
C: <ore:circuitEv>, // T4 Circuit
2022-01-23 23:35:02 +08:00
X: <extrautils2:crafter>, // ExU2 Crafter
});
recipes.remove(<packagedauto:encoder>);
makeShaped("pauto_encoder",
<packagedauto:encoder>, [
"TMT",
"HXH",
"TCT",
], {
M: <packagedauto:me_package_component>, // ME Packaging Component
H: <packagedauto:recipe_holder>, // Recipe Holder
T: <ore:plateTitanium>, // Titanium Plate
C: <ore:circuitEv>, // T4 Circuit
Update Nomi-Labs, GT, GCYM, GrS and More (#790) This PR updates Nomi-Labs to 0.7.0, allowing for associate updates to GT, GCYM, GrS and Architecture Craft, as well as the removal of Random Patches, Just Enough Dimensions, and Difficulty Lock. Although GT 2.8.10 also fixed Extreme RAM Usage in Alfheim 1.3, (See PR https://github.com/GregTechCEu/GregTech/pull/2475) this PR **does not** update Alfheim to 1.3. This is because Alfheim 1.3, although not consuming large amounts of memory, still consumes more memory than 1.1.1, and causes fps spikes. Also, because Nomi-Labs now implements a native and better difficulty lock, of which works on dedicated servers, `server.properties` overrides, as well as previously changed parts in README and Pack Mode Switchers (in https://github.com/Nomi-CEu/Nomi-CEu/pull/292), have been removed. This PR also fixes an issue with corrupted images and jar files in built packs. /* Github Stuff */ [FIXUP] [[fixes]] sha = "bd58b9072f45d647734ae66168cbd27bf9b2f220" newTitle = "Update GT and Related Mods for 1.7" newBody = ''' [EXPAND] [[messages]] messageTitle = "Update GT to 2.8+, add Nomi Labs" messageBody = """ [BREAKING] [DETAILS] details = [ \"**Please DO NOT revert any saves that have been loaded in this release to 1.6.1b, 1.6.1a, or prior!**\", \"**Lots of Recipes have been moved to the Assembly Line, and now require Assembly Line Research.**\", \"Adds Assembly Line Research\", \"Adds ME Hatches and Buses, for combining Multiblocks with AE Networks\", \"Adds Filtered Output Hatches\", \"Adds EU Multiblock Power Storage\", \"Adds Multiblock Transformer and Laser Power Transfer\", \"Adds Long Distance Pipes\", \"Creating Waypoints in the Prospector\", \"Fixing many Bugs\", \"And many more!\" ] [DETAILS] [PRIORITY] priority = 100 [PRIORITY] """ [[messages]] messageTitle = "Multiblock Changes" messageBody = """ [BREAKING] [DETAILS] details = [ \"Multiblocks accept a new **maximum** of 2 Energy Hatches.\", \"All Custom Multiblocks, such as Naquadah Reactors and Multiverse Projectors, now have **minimum casing requirements** and a **maintenance hatch**.\", \"Some Custom Multiblocks now have Distinct Mode\", \"All Custom Multiblocks now have custom Front Overlays\", \"Reworked & Improved Multiblock UIs\" ] [DETAILS] [PRIORITY] priority = 50 [PRIORITY] """ [EXPAND] ''' [FIXUP] [EXPAND] [[messages]] messageTitle = "Upgrade AE2 Stuff to AE2 Stuff Unofficial" messageBody = ''' [BREAKING] [DETAILS] details = [ "Pattern Encoders have been Removed!", "Any existing Pattern Encoders, whether items, in patterns or placed, have been remapped to AE2 Interfaces.", "All Usages in Recipes have also been changed to AE2 Interfaces!", ] [DETAILS] [PRIORITY] priority=25 [PRIORITY] ''' [[messages]] messageTitle = "Update GT to 2.8.10" messageBody = ''' [BREAKING] [DETAILS] details = [ "Allows GregTech Data Sticks to Copy ME Hatch Settings", "Adds an 'Stocking' Version of ME Hatches and Buses", "Support for Displaying Power Substation on Central Monitor", ] [DETAILS] [PRIORITY] priority=20 [PRIORITY] [IGNORE] checks = { compareBefore = "1.7-alpha-4" } # Only apply this if the commit being compared against is 1.7-alpha-4 or newer [IGNORE] ''' [[messages]] messageTitle = "Update Nomi Labs to 0.7.0" messageBody = ''' [BREAKING] [DETAILS] details = [ "Improvement of DME Simulation Chamber (now increases Tiers and Data Counts of Models)", "Custom Implementation of Difficulty Lock, now works on Dedicated Servers", "Replacement of the Void Dimension, fixing issues with Difficulty Changing", "Replacement of Custom Window Titles and Logos, Allowing the Removal of Random Patches", "Improvements to FTB Utils and Effortless Building", "Allows Setting of Default Keybinds for New Players", ] [DETAILS] [PRIORITY] priority=15 [PRIORITY] [IGNORE] checks = { compareBefore = "1.7-alpha-4" } # Only apply this if the commit being compared against is 1.7-alpha-4 or newer [IGNORE] ''' [EXPAND] [MOD INFO] [[infos]] projectID = 254317 info = "Replaced by Nomi Labs" [[infos]] projectID = 285612 info = "Replaced by Nomi Labs" [[infos]] projectID = 390886 info = "Replaced by Nomi Labs" [[infos]] projectID = 538092 info = "Replaced by Betterer P2P" [MOD INFO]
2024-07-11 21:32:57 +10:00
X: <appliedenergistics2:interface> // AE2 Interface
2022-01-23 23:35:02 +08:00
});
recipes.remove(<packagedauto:me_package_component>);
makeShaped("pauto_me_package_component",
<packagedauto:me_package_component>, [
"PGP",
"AXF",
"PGP",
], {
F: <appliedenergistics2:material:43>, // Formation Core
A: <appliedenergistics2:material:44>, // Annihilation Core
G: <appliedenergistics2:quartz_glass>, // Quartz Glass
X: <packagedauto:package_component>, // Package Component
P: <ore:plateTitanium>, // Titanium Plate
});
/**
* PackagedExCrafting
*/
val extremeCrafterPattern as string[] = [
"CIC",
"BTB",
"CMC",
];
// Advanced Crafter
recipes.remove(<packagedexcrafting:advanced_crafter>);
makeShaped("pexc_advanced_crafter",
<packagedexcrafting:advanced_crafter>, extremeCrafterPattern, {
C: <extendedcrafting:material:15>, // Advanced Catalyst
I: <extendedcrafting:interface>, // Automation Interface
M: <packagedauto:me_package_component>, // ME Packaging Component
B: <ore:plateBlackSteel>, // Black Steel Plate
T: <extendedcrafting:table_advanced> // Advanced Crafting Table
.transformDamage(0),
});
// Elite Crafter
recipes.remove(<packagedexcrafting:elite_crafter>);
makeShaped("pexc_elite_crafter",
<packagedexcrafting:elite_crafter>, extremeCrafterPattern, {
C: <extendedcrafting:material:16>, // Elite Catalyst
I: <extendedcrafting:interface>, // Automation Interface
M: <packagedauto:me_package_component>, // ME Packaging Component
B: <ore:plateBlackSteel>, // Black Steel Plate
T: <extendedcrafting:table_elite> // Elite Crafting Table
.transformDamage(0),
});
// Ultimate
recipes.remove(<packagedexcrafting:ultimate_crafter>);
makeShaped("pexc_ultimate_crafter",
<packagedexcrafting:ultimate_crafter>, extremeCrafterPattern, {
C: <extendedcrafting:material:17>, // Ultimate Catalyst
I: <extendedcrafting:interface>, // Automation Interface
M: <packagedauto:me_package_component>, // ME Packaging Component
B: <ore:plateBlackSteel>, // Black Steel Plate
T: <extendedcrafting:table_ultimate> // Ultimate Crafting Table
.transformDamage(0),
});
// Hardened Glass
alloy_smelter.recipeBuilder()
.inputs([
<ore:dustLead>,
<ore:dustObsidian> * 4
])
.outputs([<thermalfoundation:glass:3>])
.duration(100)
.EUt(30)
.buildAndRegister();
// Suit Workstation
recipes.remove(<advancedrocketry:suitworkstation>);
makeShaped("ar_suit_workstation",
<advancedrocketry:suitworkstation>, [
"RTR",
"CXC",
"WWW",
], {
T: <metaitem:workbench>, // Workstation
R: <metaitem:robot.arm.mv>, // MV Robot Arm
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
X: <meta_tile_entity:hull.mv>, // MV Machine Hull
W: <meta_tile_entity:workbench>, // GTCE Crafting Station
});
// Gas Charger
recipes.remove(<advancedrocketry:oxygencharger>);
makeShaped("ar_oxygen_charger",
<advancedrocketry:oxygencharger>, [
" ",
"SPS",
"ETE",
], {
S: <ore:plateDoubleSteel>, // Heavy Steel Plating
P: <ore:pipeNormalFluidStainlessSteel>, // Medium Stainless Steel Pipe
E: <metaitem:electric.pump.hv>, // HV Pump
T: hardenedtank, // Hardened Portable Tank
});
// Cloth
makeShaped("ctt_cloth",
<nomilabs:cloth> * 4, [
2022-01-23 23:35:02 +08:00
"SSS",
"SSS",
"SSS",
], {
S: <minecraft:string> // Ssssssssstring 🐍
});
makeShaped("ctt_thermal_cloth",
<nomilabs:thermalcloth> * 3, [
2022-01-23 23:35:02 +08:00
"RRR",
"CCC",
"RRR",
], {
R: <minecraft:redstone>, // Redstone
C: <nomilabs:cloth>, // Cloth
2022-01-23 23:35:02 +08:00
});
/**
* Unprepared Space Suit
*/
var thermalCloth as IIngredient[string] = {
T: <nomilabs:thermalcloth>,
2022-01-23 23:35:02 +08:00
};
makeShaped("ctt_unprepared_space_helmet",
<nomilabs:unpreparedspacehelmet>, [
2022-01-23 23:35:02 +08:00
"TTT",
"T T",
" ",
], thermalCloth);
makeShaped("ctt_unprepared_space_chestpiece",
<nomilabs:unpreparedspacechestpiece>, [
2022-01-23 23:35:02 +08:00
"T T",
"TTT",
"TTT",
], thermalCloth);
makeShaped("ctt_unprepared_space_leggins",
<nomilabs:unpreparedspaceleggings>, [
2022-01-23 23:35:02 +08:00
"TTT",
"T T",
"T T",
], thermalCloth);
makeShaped("ctt_unprepared_space_boots",
<nomilabs:unpreparedspaceboots>, [
2022-01-23 23:35:02 +08:00
" ",
"T T",
"T T",
], thermalCloth);
/**
* Space Suit
*/
recipes.remove(<advancedrocketry:spacehelmet>);
recipes.remove(<advancedrocketry:spacechestplate>);
recipes.remove(<advancedrocketry:spaceboots>);
recipes.remove(<advancedrocketry:spaceleggings>);
val spaceSuitLayerPattern as string[] = [
"CPC",
"CPC",
"CPC",
];
makeShaped("ctt_pressure_layer",
<nomilabs:pressurelayer>, spaceSuitLayerPattern, {
C: <nomilabs:cloth>, // Cloth
2022-01-23 23:35:02 +08:00
P: <ore:plateBlackSteel>, // Black Steel Plate
});
makeShaped("ctt_radiation_layer",
<nomilabs:radiationlayer>, spaceSuitLayerPattern, {
C: <nomilabs:cloth>, // Cloth
2022-01-23 23:35:02 +08:00
P: <ore:plateLead>, // Lead Plate
});
// Space Helmet
assembler.recipeBuilder()
.inputs([
<nomilabs:unpreparedspacehelmet>,
<nomilabs:pressurelayer> * 2,
<nomilabs:radiationlayer> * 2,
2022-01-23 23:35:02 +08:00
<minecraft:glass_pane>,
<ore:circuitHv>
2022-01-23 23:35:02 +08:00
])
.outputs([<advancedrocketry:spacehelmet>])
.duration(500)
.EUt(30)
.buildAndRegister();
// Space Chestplate
assembler.recipeBuilder()
.inputs([
<nomilabs:unpreparedspacechestpiece>,
<nomilabs:pressurelayer> * 4,
<nomilabs:radiationlayer> * 4
2022-01-23 23:35:02 +08:00
])
.outputs([<advancedrocketry:spacechestplate>])
.duration(800)
.EUt(30)
.buildAndRegister();
// Space Leggins
assembler.recipeBuilder()
.inputs([
<nomilabs:unpreparedspaceleggings>,
<nomilabs:pressurelayer> * 3,
<nomilabs:radiationlayer> * 3
2022-01-23 23:35:02 +08:00
])
.outputs([<advancedrocketry:spaceleggings>])
.duration(600)
.EUt(30)
.buildAndRegister();
// Space boots
assembler.recipeBuilder()
.inputs([
<nomilabs:unpreparedspaceboots>,
<nomilabs:pressurelayer>,
<nomilabs:radiationlayer>
2022-01-23 23:35:02 +08:00
])
.outputs([<advancedrocketry:spaceboots>])
.duration(400)
.EUt(30)
.buildAndRegister();
/* ---- */
// Liquid Fuel Tank
recipes.remove(<advancedrocketry:fueltank>);
makeShaped("ar_fuel_tank",
<advancedrocketry:fueltank>, [
"PTP",
"PTP",
"PTP",
], {
P: <ore:plateStainlessSteel>,
T: <thermalexpansion:tank>.withTag({RSControl: 0 as byte, Creative: 0 as byte, Level: 0 as byte}),
2022-01-23 23:35:02 +08:00
});
// Concrete
2022-02-27 21:51:24 +08:00
//mixer.recipeBuilder()
// .inputs([
// <minecraft:gravel> * 3,
// <ore:dustClay>
// ])
// .fluidInputs([<liquid:water> * 500])
// .fluidOutputs(<liquid:concrete> * 1000)
// .EUt(16)
// .duration(200)
// .buildAndRegister();
2022-01-23 23:35:02 +08:00
// Guidance Computer
recipes.remove(<advancedrocketry:guidancecomputer>);
makeExtremeRecipe5(<advancedrocketry:guidancecomputer>,
[
"GPPPG",
"PSMEP",
"PCXCP",
"PECSP",
"GPPPG",
], {
G: <appliedenergistics2:quartz_vibrant_glass>, // Vibrant Quartz Glass
P: <ore:plateDoubleSteel>, // Steel Heavy Plating
X: <libvulpes:structuremachine>, // Machine Structure
S: <metaitem:sensor.hv>, // HV Sensor
E: <metaitem:emitter.hv>, // HV Emitter
C: <ore:circuitHv>, // T3 Circuit
2022-01-23 23:35:02 +08:00
M: <metaitem:cover.screen>, // GT Computer Screen
});
// Rocket Assembling Machine
recipes.remove(<advancedrocketry:rocketbuilder>);
makeExtremeRecipe5(<advancedrocketry:rocketbuilder>,
[
"RPEPR",
"PXMXP",
"PCACP",
"PXCXP",
"RPEPR",
], {
P: <ore:plateDoubleSteel>, // Steel Heavy Plating
R: <metaitem:robot.arm.mv>, // MV Robot Arm
X: <libvulpes:structuremachine>, // Machine Structure
A: <meta_tile_entity:assembler.mv>, // MV Assembling Machine
E: <metaitem:emitter.mv>, // MV Emitter
M: <metaitem:cover.screen>, // GT Computer Screen
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
});
// Planet ID Chip
recipes.remove(<advancedrocketry:planetidchip>);
makeShaped("ar_planet_id_chip",
<advancedrocketry:planetidchip>, [
"WPW",
"WCW",
"WPW",
], {
W: <ore:wireFineStainlessSteel>, // Fine Stainless Steel Wire
P: <ore:plateVibrantAlloy>, // Vibrant Alloy Plate
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
});
//// Soul Powder
//macerator.recipeBuilder()
// .inputs([<enderio:item_alloy_ingot:7>])
// .outputs([<enderio:item_material:74>])
// .duration(200).EUt(30)
// .buildAndRegister();
// Saltpeter
macerator.recipeBuilder()
.inputs([<ore:sandstone> * 4])
.outputs([<ore:dustSaltpeter>.firstItem])
.duration(300)
.EUt(30)
.buildAndRegister();
// Certus Quartz Dust
macerator.recipeBuilder()
.inputs([<appliedenergistics2:material>])
.outputs([<ore:dustCertusQuartz>.firstItem])
.duration(20)
.EUt(16)
.buildAndRegister();
// Draconium 🐉
macerator.recipeBuilder()
.inputs([<draconicevolution:draconium_ore:2>])
.outputs([<draconicevolution:draconium_dust> * 3])
.duration(40)
.EUt(500)
.buildAndRegister();
// Launch Pad
recipes.remove(<advancedrocketry:launchpad>);
makeShaped("ar_launchpad",
<advancedrocketry:launchpad> * 9, [
"CCC",
"CCC",
"CCC",
], {
2022-08-26 22:53:50 +08:00
C: <ore:dustConcrete>
2022-01-23 23:35:02 +08:00
});
//Linker
recipes.remove(<libvulpes:linker>);
makeShaped("ar_linker",
<libvulpes:linker>, [
" E ",
"SCS",
"SSS",
], {
S: <ore:plateStainlessSteel>, // Stainless Steel Plate
E: <metaitem:emitter.hv>, // HV Emitter
C: <ore:circuitHv>, // T3 Circuit
2022-01-23 23:35:02 +08:00
});
// Plant Fibers
recipes.addShapeless(<minecraft:string> * 3, [<hooked:microcrafting>,<hooked:microcrafting>]);
// Fueling Station
recipes.remove(<advancedrocketry:fuelingstation>);
makeShaped("ar_fueling_station",
<advancedrocketry:fuelingstation>, [
"PMP",
"PXP",
"SSS",
], {
S: <ore:plateDoubleSteel>, // Heavy Steel Plating
X: <libvulpes:structuremachine>, // Machine Structure
P: <metaitem:electric.pump.hv>, // HV Pump
M: <ore:pipeNormalFluidStainlessSteel>, // Medium Stainless Steel Pipe
});
// Dilithium Dust
macerator.recipeBuilder()
.inputs([<libvulpes:ore0>])
.outputs([<ore:dustDilithium>.firstItem * 2])
.duration(200)
.EUt(420)
.buildAndRegister();
// Dilithium Crystal
autoclave.recipeBuilder()
.inputs([<ore:dustDilithium> * 4])
.fluidInputs(<liquid:deuterium> * 1000)
.outputs([<ore:gemDilithium>.firstItem * 4])
.duration(400)
.EUt(110)
.buildAndRegister();
// Space Station Builder
recipes.remove(<advancedrocketry:stationbuilder>);
makeExtremeRecipe5(<advancedrocketry:stationbuilder>,
[
"RTETR",
"TXMXT",
"TCACT",
"TXCXT",
"RTETR",
], {
T: <metaitem:plateDoubleTitanium>, // Heavy Titanium Plating
X: <libvulpes:structuremachine>, // Machine Structure
R: <metaitem:robot.arm.ev>, // EV Robot Arm
E: <metaitem:emitter.ev>, // EV Emitter
A: <meta_tile_entity:assembler.ev>, // EV Assembling Machine
C: <ore:circuitEv>, // T4 Circuit
2022-01-23 23:35:02 +08:00
M: <metaitem:cover.screen>, // Screen
});
// Station ID Chip
recipes.remove(<advancedrocketry:spacestationchip>);
makeShaped("ar_station_id_chip",
<advancedrocketry:spacestationchip>, [
"WPW",
"WCW",
"WPW",
], {
W: <ore:wireFineTitanium>, // Fine Titanium Wire
P: <ore:plateBlackSteel>, // Black Steel Plate
C: <ore:circuitEv>, // T4 Circuit
2022-01-23 23:35:02 +08:00
});
// Warp Monitor
recipes.remove(<advancedrocketry:warpmonitor>);
makeShaped("ar_warp_monitor",
<advancedrocketry:warpmonitor>, [
"SMS",
"CXC",
"SCS",
], {
X: <libvulpes:structuremachine>, // Machine Structure
S: <metaitem:sensor.ev>, // EV Sensor
M: <metaitem:cover.screen>, // Screen
C: <ore:circuitEv>, // T4 Circuit
2022-01-23 23:35:02 +08:00
});
// Holo Projector
recipes.remove(<libvulpes:holoprojector>);
makeShaped("ar_holo_projector",
<libvulpes:holoprojector>, [
" ",
"TOT",
"TTT",
], {
O: <advancedrocketry:satelliteprimaryfunction>, // Optical Sensor
T: <ore:plateTitanium>, // Titanium Plate
});
// Optical Sensor
recipes.remove(<advancedrocketry:satelliteprimaryfunction>);
makeShaped("ar_optical_sensor",
<advancedrocketry:satelliteprimaryfunction>, [
"GGG",
"ISI",
" I ",
], {
G: <minecraft:glass_pane>, // Glass Pane
2022-02-05 16:29:50 +08:00
I: <ore:platePulsatingIron>, // Pulsating Iron
2022-01-23 23:35:02 +08:00
S: <metaitem:sensor.ev>, // EV Sensor
});
// Warp Core
recipes.remove(<advancedrocketry:warpcore>);
makeShaped("ar_warp_core",
<advancedrocketry:warpcore>, [
"LTL",
"TNT",
"LTL",
], {
L: <ore:blockLumium>, // Block of Lumium
T: <ore:blockTitanium>, // Block of Titanium
N: <ore:blockNetherStar>, // Block of Nether Stars
});
// Rocket Monitoring Station
recipes.remove(<advancedrocketry:monitoringstation>);
makeShaped("ar_rocket_monitoring_station",
<advancedrocketry:monitoringstation>, [
"ROR",
"RXR",
"RCR",
], {
O: <advancedrocketry:satelliteprimaryfunction>, // Optical Sensor
X: <libvulpes:structuremachine>, // Machine Structure
R: <ore:stickCopper>, // Copper Rod
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
});
// Guidance Computer Access Hatch
recipes.remove(<advancedrocketry:loader:6>);
makeShaped("ar_guidance_computer_access_hatch",
<advancedrocketry:loader:6>, [
" C ",
"RXR",
" C ",
], {
X: <libvulpes:structuremachine>, // Machine Structure
R: <ore:stickCopper>, // Copper Rod
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
});
// Station Docking Port
recipes.remove(<advancedrocketry:stationmarker>);
recipes.addShapeless(<advancedrocketry:stationmarker>, [
<actuallyadditions:item_battery>, <ore:circuitMv>, <libvulpes:structuremachine>
2022-01-23 23:35:02 +08:00
]);
// Station Gravity Controller
recipes.remove(<advancedrocketry:gravitycontroller>);
recipes.addShapeless(<advancedrocketry:gravitycontroller>, [
<libvulpes:structuremachine>, <minecraft:piston>, <metaitem:cover.screen>
]);
// Altitude Controller
recipes.remove(<advancedrocketry:altitudecontroller>);
recipes.addShapeless(<advancedrocketry:altitudecontroller>, [
<libvulpes:structuremachine>, <metaitem:cover.screen>, <ore:circuitMv>
2022-01-23 23:35:02 +08:00
]);
// Orientation Controller
recipes.remove(<advancedrocketry:orientationcontroller>);
recipes.addShapeless(<advancedrocketry:orientationcontroller>, [
<libvulpes:structuremachine>, <metaitem:cover.screen>, <minecraft:compass>
]);
// Docking Pad
recipes.remove(<advancedrocketry:landingpad>);
recipes.addShapeless(<advancedrocketry:landingpad>, [
<advancedrocketry:launchpad>, <ore:circuitMv>
2022-01-23 23:35:02 +08:00
]);
// Station Light
recipes.remove(<advancedrocketry:circlelight>);
makeShaped("ar_circlelight",
<advancedrocketry:circlelight> * 4, [
" P ",
"PGP",
" P ",
], {
P: <ore:plateIron>, // Iron Plate
G: <minecraft:glowstone>, // Glowstone
});
// Atmosphere Detector
recipes.remove(<advancedrocketry:oxygendetection>);
makeShaped("ar_atmosphere_detector",
<advancedrocketry:oxygendetection>, [
"PMP",
"BXR",
"PCP",
], {
X: <libvulpes:structuremachine>,
B: <minecraft:iron_bars>, // Vanilla Iron Bars
M: <metaitem:cover.screen>, // Screen
P: <ore:plateSteel>, // Steel Plate
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
R: <ore:rotorSteel>, // Steel Rotor
});
// Area Gravity Controller
recipes.remove(<advancedrocketry:gravitymachine>);
makeShaped("ar_gravity_machine",
<advancedrocketry:gravitymachine>, [
" M ",
"TWT",
"TCT",
], {
W: <advancedrocketry:warpcore>, // Warp Core
T: <ore:plateTitanium>, // Titanium Plate
C: <ore:circuitEv>, // T4 Circuit
2022-01-23 23:35:02 +08:00
M: <metaitem:cover.screen>, // Screen
});
// Seal Detector
recipes.remove(<advancedrocketry:sealdetector>);
recipes.addShaped(<advancedrocketry:sealdetector>, [
[<metaitem:sensor.mv> ],
[<metaitem:cover.screen> ],
[<minecraft:comparator>]
]);
// HoverCraft
recipes.remove(<advancedrocketry:hovercraft>);
makeShaped("ar_hovercraft",
<advancedrocketry:hovercraft>, [
"CMC",
"DTD",
"E E",
], {
T: <advancedrocketry:structuretower>, // Structure Tower
E: <advancedrocketry:rocketmotor>, // Liquid Engine
C: <ore:circuitMv>, // T2 Circuit
2022-01-23 23:35:02 +08:00
M: <metaitem:cover.screen>, // Screen
D: <ore:crystalDilithium>, // Dilithium Crystal
});
// Planet Selector
recipes.remove(<advancedrocketry:planetselector>);
recipes.addShaped(<advancedrocketry:planetselector>, [
[<ore:circuitMv> , <advancedrocketry:planetidchip> , <ore:circuitMv> ],
2022-01-23 23:35:02 +08:00
[<libvulpes:structuremachine> , <libvulpes:structuremachine> , <libvulpes:structuremachine>]
]);
// Holographic Planet Selector
recipes.remove(<advancedrocketry:planetholoselector>);
makeShaped("ar_planetselector_holo",
<advancedrocketry:planetholoselector>, [
"CGC",
"XPX",
"CHC",
], {
P: <advancedrocketry:planetselector>,
X: <libvulpes:structuremachine>,
C: <ore:circuitMv>,
2022-01-23 23:35:02 +08:00
G: <minecraft:glowstone>,
H: <libvulpes:holoprojector>,
});
// Advanced Machine Structure
recipes.remove(<libvulpes:advstructuremachine>);
makeShaped("ar_advanced_structure",
<libvulpes:advstructuremachine>, [
"RPR",
"PSP",
"RPR",
], {
P: <metaitem:plateTitanium>,
R: <metaitem:stickTitanium>,
S: <libvulpes:structuremachine>,
});
// Space Suit Upgrades
// Hover Upgrade
assembler.recipeBuilder()
.inputs([
<enderio:item_dark_steel_upgrade:1>
.withTag({"enderio:dsu": "enderio:glide", "enderio:enabled": 1 as byte}),
<nomilabs:radiationlayer>,
<nomilabs:pressurelayer>
2022-01-23 23:35:02 +08:00
])
.outputs(<advancedrocketry:itemupgrade:0>)
.duration(400)
.EUt(100)
.buildAndRegister();
// Bionic Leg upgrade
assembler.recipeBuilder()
.inputs([
<enderio:item_dark_steel_upgrade:1>
.withTag({"enderio:dsu": "enderio:speedboost3", "enderio:enabled": 1 as byte}),
<nomilabs:radiationlayer>,
<nomilabs:pressurelayer>
2022-01-23 23:35:02 +08:00
])
.outputs(<advancedrocketry:itemupgrade:2>)
.duration(400)
.EUt(100)
.buildAndRegister();
// Flight Speed Control Upgrade
assembler.recipeBuilder()
.inputs([
<enderio:item_dark_steel_upgrade:1>
.withTag({"enderio:dsu": "enderio:travel", "enderio:enabled": 1 as byte}),
<nomilabs:radiationlayer>,
<nomilabs:pressurelayer>
2022-01-23 23:35:02 +08:00
])
.outputs(<advancedrocketry:itemupgrade:1>)
.duration(400)
.EUt(100)
.buildAndRegister();
// Anti Fog visor
assembler.recipeBuilder()
.inputs([
<enderio:item_dark_steel_upgrade:1>
.withTag({"enderio:dsu": "enderio:nightvision", "enderio:enabled": 1 as byte}),
<nomilabs:radiationlayer>,
<nomilabs:pressurelayer>
2022-01-23 23:35:02 +08:00
])
.outputs(<advancedrocketry:itemupgrade:4>)
.duration(400)
.EUt(100)
.buildAndRegister();
// Padded Landing Boots
assembler.recipeBuilder()
.inputs([
<enderio:item_dark_steel_upgrade:1>
.withTag({"enderio:dsu": "enderio:energyupgrade4", "enderio:enabled": 1 as byte}),
<nomilabs:radiationlayer>,
<nomilabs:pressurelayer>
2022-01-23 23:35:02 +08:00
])
.outputs(<advancedrocketry:itemupgrade:3>)
.duration(400)
.EUt(100)
.buildAndRegister();
// Atmospheric sensor
assembler.recipeBuilder()
.inputs([
<enderio:item_dark_steel_upgrade>,
<metaitem:sensor.mv>
])
.outputs(<advancedrocketry:atmanalyser>)
.duration(200)
.EUt(100)
.buildAndRegister();
2022-08-25 15:18:36 +08:00
// Orbital Laser Drill
recipes.removeByRecipeName("advancedrocketry:spacelaser");
makeExtremeRecipe5(<advancedrocketry:spacelaser>,
[
"TTTTT",
"TCFCT",
"GESEG",
2022-08-27 21:18:03 +08:00
"RZWZR",
2022-08-25 15:18:36 +08:00
"CLRLC",
], {
T: <metaitem:plateDenseTrinium>,
C: <ore:circuitZpm>,
F: <metaitem:field.generator.zpm>,
G: <metaitem:nomilabs:gearDraconium>,
2022-08-25 15:18:36 +08:00
R: <metaitem:frameHsss>,
E: <metaitem:emitter.luv>,
Z: <metaitem:emitter.zpm>,
L: <nomilabs:t3laser>,
2022-08-27 21:18:03 +08:00
S: <metaitem:large_miner.luv>,
W: <advancedrocketry:warpcore>,
2022-08-25 15:18:36 +08:00
});
// Lens (for the drill)
recipes.remove(<advancedrocketry:lens>);
recipes.addShapeless(<advancedrocketry:lens>, [<ore:craftingLensGlass>]);
2022-08-25 15:18:36 +08:00
2023-01-14 19:39:10 +08:00
// Force Field Projector
recipes.addShaped(<advancedrocketry:forcefieldprojector>, [
[<metaitem:plateAluminium>, <gregtech:transparent_casing>, <metaitem:plateAluminium>],
[<metaitem:plateAluminium>, <metaitem:emitter.lv>, <metaitem:plateAluminium>],
[<metaitem:plateAluminium>, <ore:circuitLv>, <metaitem:plateAluminium>]
]);
2022-01-23 23:35:02 +08:00
/*
Removals
*/
mods.jei.JEI.removeAndHide(<advancedrocketry:blockpump>); // Fluid Pump
mods.jei.JEI.removeAndHide(<advancedrocketry:centrifuge>); // Centrifuge
mods.jei.JEI.removeAndHide(<advancedrocketry:basalt>); // Basalt
mods.jei.JEI.removeAndHide(<advancedrocketry:landingfloat>); // Landing Float
mods.jei.JEI.removeAndHide(<advancedrocketry:airlock_door>); // Airlock Door (Technical Block)
mods.jei.JEI.removeAndHide(<advancedrocketry:lightsource>); // Light source (Technical Block)
mods.jei.JEI.removeAndHide(<advancedrocketry:astrobed>); // Astrobed (Technical Block)
//AR Rocket fuel, unusable
mods.jei.JEI.removeAndHide(<forge:bucketfilled>.withTag({FluidName: "rocketfuel", Amount: 1000}));
// Various unused satellite sensors
mods.jei.JEI.removeAndHide(<advancedrocketry:satelliteprimaryfunction:2>);
mods.jei.JEI.removeAndHide(<advancedrocketry:satelliteprimaryfunction:3>);
mods.jei.JEI.removeAndHide(<advancedrocketry:satelliteprimaryfunction:4>);
mods.jei.JEI.removeAndHide(<advancedrocketry:satelliteprimaryfunction:5>);
// Unused Chips
mods.jei.JEI.removeAndHide(<advancedrocketry:ic:1>);
mods.jei.JEI.removeAndHide(<advancedrocketry:satelliteidchip>);
// Oxygen vent recipe using EV motor and titanium rotor
recipes.remove(<advancedrocketry:oxygenvent>);
recipes.addShaped(<advancedrocketry:oxygenvent>, [
[<minecraft:iron_bars>, <metaitem:rotorTitanium>, <minecraft:iron_bars>],
[<minecraft:iron_bars>, <metaitem:electric.motor.ev>, <minecraft:iron_bars>],
[<minecraft:iron_bars>, <advancedrocketry:fueltank>, <minecraft:iron_bars>]]);
// CO2 Scrubber Recipe - same material replacements as above
recipes.remove(<advancedrocketry:oxygenscrubber>);
recipes.addShaped(<advancedrocketry:oxygenscrubber>, [
[<minecraft:iron_bars>, <metaitem:rotorTitanium>, <minecraft:iron_bars>],
[<minecraft:iron_bars>, <metaitem:electric.motor.ev>, <minecraft:iron_bars>],
2022-02-05 16:29:50 +08:00
[<minecraft:iron_bars>, <metaitem:carbon.mesh>, <minecraft:iron_bars>]]);
2022-01-23 23:35:02 +08:00
// Carbon Collection Cartridge - steel plating since these last a while
recipes.remove(<advancedrocketry:carbonscrubbercartridge>);
recipes.addShaped(<advancedrocketry:carbonscrubbercartridge>, [
[<ore:plateDoubleSteel>, <minecraft:iron_bars>, <ore:plateDoubleSteel>],
[<ore:plateDoubleSteel>, <minecraft:iron_bars>, <ore:plateDoubleSteel>],
2022-03-26 12:47:22 +08:00
[<ore:plateDoubleSteel>, <minecraft:iron_bars>, <ore:plateDoubleSteel>]]);
// Oxidized Ferric Sand
centrifuge.recipeBuilder()
.inputs(<advancedrocketry:hotturf>)
.chancedOutput(<metaitem:crushedBandedIron>, 5000, 500)
2022-10-05 18:27:29 +08:00
.duration(20).EUt(480).buildAndRegister();