integrated Pipez

added quests
added recipes too

balancing todo
This commit is contained in:
mina
2023-09-28 20:05:43 +01:00
parent 3ca1617e94
commit c9dbca8cc0
2 changed files with 117 additions and 1 deletions

View File

@@ -423,7 +423,32 @@
x: 7.5d
y: 5.5d
}
{
dependencies: ["77EA56D16A9B3BFC"]
description: [
"In the absence of CEu Item Pipes in 1.19.2, we present a reskinned and rebalanced Pipez mod!"
""
"The upgrades scale by tier and are reduced in efficiency in an attempt to match the power granted by 1.12.2 pipes."
""
"If you would like to play with the cooler GT pipes, please don't hesistate to play the 1.12.2 pack instead - they have some interesting priority mechanics based on pipe material!"
]
id: "53E4B7425B3EE587"
rewards: [{
id: "6B15EF4E93681C66"
item: "pipez:wrench"
type: "item"
}]
subtitle: "Item Transportation"
tasks: [{
id: "6D723192E44717A5"
item: "pipez:item_pipe"
type: "item"
}]
title: "Pipez"
x: 1.0d
y: 2.5d
}
]
subtitle: ["Useful GregTech mechanics and tips for the budding engineer"]
title: "Tips and Tricks"
title: "Useful Information"
}

View File

@@ -0,0 +1,91 @@
ServerEvents.recipes(event => {
const greg = event.recipes.gtceu
event.remove({mod: "pipez"})
// Item Pipe
event.shaped('2x pipez:item_pipe', [
'RRR',
'BhB',
'RRR'
] , {
R: "#forge:plates/rubber",
B: "#forge:plates/brass",
h: "#forge:tools/hammers"
})
greg.assembler("rubber_pipe")
.itemInputs("2x #forge:plates/brass")
.inputFluids("gtceu:rubber 432")
.itemOutputs("2x pipez:item_pipe")
.duration(100).EUt(7)
event.shaped('4x pipez:item_pipe', [
'RRR',
'BhB',
'RRR'
] , {
R: "#forge:plates/silicone_rubber",
B: "#forge:plates/brass",
h: "#forge:tools/hammers"
})
greg.assembler("silicone_rubber_pipe")
.itemInputs("2x #forge:plates/brass")
.inputFluids("gtceu:silicone_rubber 216")
.itemOutputs("4x pipez:item_pipe")
.duration(100).EUt(7)
event.shaped('16x pipez:item_pipe', [
'RRR',
'BhB',
'RRR'
] , {
R: "#forge:plates/styrene_butadiene_rubber",
B: "#forge:plates/brass",
h: "#forge:tools/hammers"
})
greg.assembler("styrene_butadiene_rubber_pipe")
.itemInputs("2x #forge:plates/brass")
.inputFluids("gtceu:styrene_butadiene_rubber 108")
.itemOutputs("16x pipez:item_pipe")
.duration(100).EUt(7)
let upgradePipe = (machineTier, material, upgradeTier) => {
event.shaped(`pipez:${upgradeTier}_upgrade`, [
'PPP',
'CFC',
'PPP'
] , {
P: `#forge:plates/${material}`,
C: `gtceu:${machineTier}_conveyor_module`,
F: "gtceu:item_filter"
})
}
upgradePipe("mv", "aluminium", "basic")
upgradePipe("hv", "stainless_steel", "improved")
upgradePipe("ev", "titanium", "advanced")
upgradePipe("iv", "tungsten_steel", "ultimate")
// Wrench
event.shaped('pipez:wrench', [
'IhI',
' S ',
' S '
] , {
I: "#forge:plates/iron",
S: "#forge:plates/steel",
h: "#forge:tools/hammers"
})
// Terminal
event.shaped('pipez:filter_destination_tool', [
'R B',
'FCF',
'PSP'
] , {
R: "gtceu:red_alloy_single_wire",
B: "gtceu:cobalt_single_wire",
F: "gtceu:item_filter",
C: "#forge:circuits/mv",
P: "#forge:plates/vanadium_steel",
S: "#forge:screws/vanadium_steel"
})
})