From f0e31ea0baa3ca8b04fe1e1cb86d604316235468 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Mon, 28 Feb 2022 08:28:15 -0600 Subject: [PATCH] Cleanup functions --- .../HarmoniousEngineering/_global.js | 31 +++---------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/kubejs/server_scripts/HarmoniousEngineering/_global.js b/kubejs/server_scripts/HarmoniousEngineering/_global.js index 1d1c0cb..8b7445c 100644 --- a/kubejs/server_scripts/HarmoniousEngineering/_global.js +++ b/kubejs/server_scripts/HarmoniousEngineering/_global.js @@ -258,55 +258,34 @@ onEvent('server.datapack.first', _ => { evt.custom({ type: 'immersiveengineering:crusher', input: main, - result: { - count: output.getCount(), - base_ingredient: {item: output.getId()}, - }, + result: {count: output.getCount(), base_ingredient: {item: output.getId()}}, energy: 1500 * t, }); evt.custom({ type: 'create:milling', ingredients: [main], - results: [ - { - item: output.getId(), - count: output.getCount(), - }, - ], + results: [{item: output.getId(), count: output.getCount()}], processingTime: 500 * t, }); evt.custom({ type: 'create:crushing', ingredients: [main], - results: [ - { - item: output.getId(), - count: output.getCount(), - }, - ], + results: [{item: output.getId(), count: output.getCount()}], processingTime: 400 * t, }); evt.custom({ type: 'mekanism:crushing', input: {ingredient: main}, - output: { - item: output.getId(), - count: output.getCount(), - }, + output: {item: output.getId(), count: output.getCount()}, }); evt.custom({ type: 'thermal:pulverizer', ingredient: main, - result: [ - { - item: output.getId(), - count: output.getCount(), - }, - ], + result: [{item: output.getId(), count: output.getCount()}], experience: 0, }); };