script polishes

- removed crafting cover in recipes as it's uncraftable (ironic)
- fixed incorrect item names in storage drawer recipes
This commit is contained in:
mina
2023-12-22 22:56:44 +00:00
parent 9178b1de5c
commit 70744cfd93
46 changed files with 2099 additions and 2059 deletions

View File

@@ -1,17 +1,17 @@
ServerEvents.recipes((event) => {
const greg = event.recipes.gtceu;
let craftystorage = (componentSize, energyExponent) => {
event.remove({ output: `ae2:${componentSize}k_crafting_storage` });
greg
.canner(`gtceu:${componentSize}k_crafting_storage`)
.itemInputs("ae2:crafting_unit", `ae2:cell_component_${componentSize}k`)
.itemOutputs(`ae2:${componentSize}k_crafting_storage`)
.duration(100)
.EUt(4 ** (energyExponent - 1));
};
craftystorage("1", 1);
craftystorage("4", 2);
craftystorage("16", 3);
craftystorage("64", 4);
craftystorage("256", 5);
ServerEvents.recipes((event) => {
const greg = event.recipes.gtceu;
let craftystorage = (componentSize, energyExponent) => {
event.remove({ output: `ae2:${componentSize}k_crafting_storage` });
greg
.canner(`gtceu:${componentSize}k_crafting_storage`)
.itemInputs("ae2:crafting_unit", `ae2:cell_component_${componentSize}k`)
.itemOutputs(`ae2:${componentSize}k_crafting_storage`)
.duration(100)
.EUt(4 ** (energyExponent - 1));
};
craftystorage("1", 1);
craftystorage("4", 2);
craftystorage("16", 3);
craftystorage("64", 4);
craftystorage("256", 5);
});