Files
GregTech-Modern-Community-Pack/kubejs/startup_scripts/machinery/greenhouse.js
Deepa 109b058a92 GTM7 Update (#108)
* fix kube

* update mods, add guideme for new ae2

* rehash and re0ensure updates to make sure i didnt fuck up

* how did I unfix it

* extreme muffler is a greg necessity

please.

* bump ver

* probably an accidental copy paste?

* also remove the miscopied files from index

* add batch mode to gcp multis

* fix non clientside marked mods

* update quest for gtm fixing typo
2025-07-18 18:08:17 +01:00

33 lines
1.2 KiB
JavaScript

GTCEuStartupEvents.registry("gtceu:machine", (event) => {
event
.create("greenhouse", "multiblock")
.rotationState(RotationState.NON_Y_AXIS)
.recipeType("greenhouse")
.appearanceBlock(GTBlocks.MACHINE_CASING_ULV)
.recipeModifiers([GTRecipeModifiers.OC_NON_PERFECT, GTRecipeModifiers.BATCH_MODE])
.pattern((definition) =>
FactoryBlockPattern.start()
.aisle("0BBB0", "0BBB0", "0BBB0", "0BBB0")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("BBBBB", "BDDDB", "B###B", "BGGGB")
.aisle("0BBB0", "0BEB0", "0BBB0", "0BBB0")
.where("E", Predicates.controller(Predicates.blocks(definition.get())))
.where("D", Predicates.blocks("minecraft:dirt"))
.where("G", Predicates.blocks("gtceu:tempered_glass"))
.where(
"B",
Predicates.blocks("gtceu:ulv_machine_casing")
.setMinGlobalLimited(5)
.or(Predicates.autoAbilities(definition.getRecipeTypes()))
)
.where("#", Predicates.air())
.where("0", Predicates.any())
.build()
)
.workableCasingModel(
"gtceu:block/casings/voltage/ulv/side",
"gtceu:block/multiblock/implosion_compressor"
);
});