Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move GrS #365

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
33 changes: 33 additions & 0 deletions overrides/groovy/postInit/normal/AE2Sutff.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@



/*
* ########################################
* Blocks
* ########################################
*/

// Pattern Encoder
mods.jei.removeAndHide(item('ae2stuff:encoder'))

// Crystal Growth Chamber
mods.jei.removeAndHide(item('ae2stuff:grower'))

// Advanced Inscriber
mods.jei.removeAndHide(item('ae2stuff:inscriber'))

// Wireless Connector
crafting.removeByOutput(item('ae2stuff:wireless'))
mods.gregtech.assembler.recipeBuilder()
.circuitMeta(2)
.inputs(
item('appliedenergistics2:material', 24) * 4,
item('gtexpert:meta_item_1', 1) * 2,
item('appliedenergistics2:material', 41),
item('gregtech:machine_casing', 6)
)
.fluidInputs(fluid('fluix_alloy') * 1152)
.outputs(item('ae2stuff:wireless'))
.duration(20)
.EUt(30720)
.buildAndRegister()
22 changes: 22 additions & 0 deletions overrides/groovy/postInit/specific/CapabilityAdapter.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@



if (isLoaded('rf-capability-adapter')) {
/*
* ########################################
* Blocks
* ########################################
*/

// Capability Adapter
crafting.removeByOutput(item('rf-capability-adapter:aecapabilityadapter'))
crafting.addShapeless('capability_adapter_from_part', item('rf-capability-adapter:aecapabilityadapter'), [
item('rf-capability-adapter:aecapabilityadapter_part')
])
crafting.addShaped('capability_adapter', item('rf-capability-adapter:aecapabilityadapter'), [
[metaitem('plateTitanium'), ore('crystalPureFluix'), metaitem('plateTitanium')],
[ore('crystalPureFluix'), ore('craftInterfaceDual'), ore('crystalPureFluix')],
[metaitem('plateTitanium'), ore('crystalPureFluix'), metaitem('plateTitanium')]
])

}
121 changes: 121 additions & 0 deletions overrides/groovy/postInit/specific/CompactMachines.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@



if (isLoaded('compactmachines3')) {
/*
* ########################################
* Items
* ########################################
*/

// Personal Shrinking Device
crafting.removeByOutput(item('compactmachines3:psd'))
crafting.addShaped('personal_shrinking_device', item('compactmachines3:psd'), [
[null, metaitem('cover.screen'), null],
[metaitem('emitter.mv'), item('minecraft:book'), metaitem('emitter.mv')],
[null, ore('circuitMv'), null]
])

// Tunnel
mods.gregtech.assembler.recipeBuilder()
.inputs([
metaitem('cover.energy.detector'),
metaitem('cover.item.detector'),
metaitem('cover.fluid.detector')
])
.outputs([item('compactmachines3:tunneltool') * 4])
.duration(100)
.EUt(120)
.buildAndRegister()

// Redstone Tunnel
mods.gregtech.assembler.recipeBuilder()
.inputs([
metaitem('cover.activity.detector'),
metaitem('component.resistor')
])
.outputs([item('compactmachines3:redstonetunneltool') * 4])
.duration(100)
.EUt(120)
.buildAndRegister()

/*
* ########################################
* Blocks
* ########################################
*/

// Compact Machine Wall
crafting.addShaped('compact_machine_wall', item('compactmachines3:wallbreakable') * 8, [
[metaitem('frameSteel'), metaitem('frameSteel'), metaitem('frameSteel')],
[metaitem('frameSteel'), metaitem('sensor.mv'), metaitem('frameSteel')],
[metaitem('frameSteel'), metaitem('frameSteel'), metaitem('frameSteel')]
])

// Tiny Compact Machine
mods.gregtech.assembler.recipeBuilder()
.inputs([
item('compactmachines3:wallbreakable') * 8,
metaitem('field.generator.mv')
])
.outputs([item('compactmachines3:machine')])
.duration(200)
.EUt(120)
.buildAndRegister()

// Small Compact Machine
mods.gregtech.assembler.recipeBuilder()
.inputs([
item('compactmachines3:wallbreakable') * 16,
metaitem('field.generator.hv')
])
.outputs([item('compactmachines3:machine', 1)])
.duration(200)
.EUt(480)
.buildAndRegister()

// Normal Compact Machine
mods.gregtech.assembler.recipeBuilder()
.inputs([
item('compactmachines3:wallbreakable') * 24,
metaitem('field.generator.ev')
])
.outputs([item('compactmachines3:machine', 2)])
.duration(200)
.EUt(1920)
.buildAndRegister()

// Large Compact Machine
mods.gregtech.assembler.recipeBuilder()
.inputs([
item('compactmachines3:wallbreakable') * 32,
metaitem('field.generator.iv')
])
.outputs([item('compactmachines3:machine', 3)])
.duration(200)
.EUt(7680)
.buildAndRegister()

// Giant Compact Machine
mods.gregtech.assembler.recipeBuilder()
.inputs([
item('compactmachines3:wallbreakable') * 40,
metaitem('field.generator.luv')
])
.outputs([item('compactmachines3:machine', 4)])
.duration(200)
.EUt(30720)
.buildAndRegister()

// Maximum Compact Machine
mods.gregtech.assembler.recipeBuilder()
.inputs([
item('compactmachines3:wallbreakable') * 48,
metaitem('field.generator.zpm')
])
.outputs([item('compactmachines3:machine', 5)])
.duration(200)
.EUt(122880)
.buildAndRegister()

}
89 changes: 89 additions & 0 deletions overrides/groovy/postInit/specific/FluxNetworks.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@



if (isLoaded('fluxnetworks')) {
/*
* ########################################
* Items
* ########################################
*/

// Flux
mods.jei.removeAndHide(item('fluxnetworks:flux'))

// Flux Core
mods.jei.removeAndHide(item('fluxnetworks:fluxcore'))

// Flux Configurator
crafting.removeByOutput(item('fluxnetworks:fluxconfigurator'))
crafting.addShaped('flux_configurator', item('fluxnetworks:fluxconfigurator'), [
[null, item('appliedenergistics2:material', 45), metaitem('quantumeye')],
[null, metaitem('stickDarkSteel'), item('appliedenergistics2:material', 45)],
[metaitem('stickDarkSteel'), null, null]
])


/*
* ########################################
* Blocks
* ########################################
*/

// Flux Block
mods.jei.removeAndHide(item('fluxnetworks:fluxblock'))

// Flux Plug
crafting.removeByOutput(item('fluxnetworks:fluxplug'))
mods.gregtech.assembler.recipeBuilder()
.circuitMeta(2)
.inputs([
metaitem('emitter.ev') * 2,
metaitem('sensor.ev') * 2,
metaitem('cover.digital.wireless'),
item('appliedenergistics2:smooth_sky_stone_block')
])
.outputs([item('fluxnetworks:fluxplug')])
.duration(2000)
.EUt(1920)
.buildAndRegister()

// Flux Point
crafting.removeByOutput(item('fluxnetworks:fluxpoint'))
mods.gregtech.assembler.recipeBuilder()
.circuitMeta(6)
.inputs([
metaitem('emitter.ev') * 2,
metaitem('sensor.ev') * 2,
metaitem('cover.digital.wireless'),
item('appliedenergistics2:smooth_sky_stone_block')
])
.outputs([item('fluxnetworks:fluxpoint')])
.duration(2000)
.EUt(1920)
.buildAndRegister()

// Flux Controller
crafting.removeByOutput(item('fluxnetworks:fluxcontroller'))
mods.gregtech.assembler.recipeBuilder()
.circuitMeta(8)
.inputs([
metaitem('emitter.ev') * 2,
metaitem('sensor.ev') * 2,
metaitem('cover.digital.wireless') * 4,
item('gregtech:transparent_casing:2') * 4,
item('appliedenergistics2:smooth_sky_stone_block')
])
.outputs([item('fluxnetworks:fluxcontroller')])
.duration(2000)
.EUt(1920)
.buildAndRegister()

// Flux Storage
mods.jei.removeAndHide(item('fluxnetworks:fluxstorage'))

// Herculean Flux Storage
mods.jei.removeAndHide(item('fluxnetworks:herculeanfluxstorage'))

// Gargantuan Flux Storage
mods.jei.removeAndHide(item('fluxnetworks:gargantuanfluxstorage'))
}
29 changes: 29 additions & 0 deletions overrides/groovy/postInit/specific/SpiceOfLife.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@



if (isLoaded('spiceoflife')) {
/*
* ########################################
* Items
* ########################################
*/

// Food Journal
crafting.removeByOutput(item('spiceoflife:bookfoodjournal'))
crafting.addShapeless('book_food_journal', item('spiceoflife:bookfoodjournal'), [item('minecraft:book'), item('minecraft:wheat')])

// Lunchbag
crafting.removeByOutput(item('spiceoflife:lunchbag'))
crafting.addShaped('lunch_bag', item('spiceoflife:lunchbag'), [
[item('minecraft:paper'), null, item('minecraft:paper')],
[metaitem('rubber_drop'), item('minecraft:paper'), metaitem('rubber_drop')]
])

// Lunchbox
crafting.removeByOutput(item('spiceoflife:lunchbox'))
crafting.addShaped('lunch_box', item('spiceoflife:lunchbox'), [
[metaitem('plateDoubleIron'), ore('craftingToolScrewdriver'), metaitem('plateDoubleIron')],
[metaitem('screwIron'), metaitem('plateDoubleIron'), metaitem('screwIron')]
])

}
17 changes: 17 additions & 0 deletions overrides/groovy/runConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"packName": "GregTech Expert 2",
"packId": "gte2",
"version": "0.1.0",
"debug": false,
"classes": {
"preInit": []
},
"loaders": {
"preInit": [
"preInit/"
],
"postInit": [
"postInit/"
]
}
}
29 changes: 0 additions & 29 deletions overrides/scripts/normal/AE2Sutff.zs

This file was deleted.

16 changes: 0 additions & 16 deletions overrides/scripts/specific/CapabilityAdapter.zs

This file was deleted.

Loading