This commit is contained in:
oitsjustjose 2022-09-10 13:58:24 -05:00
commit b6dfc9680e
16 changed files with 580 additions and 122 deletions

View file

@ -0,0 +1,50 @@
onEvent('recipes', event => {
const sawdust = Item.of('thermal:sawdust').withChance(1.25);
const logs = [
{
unstripped: ['architects_palette:twisted_log', 'architects_palette:twisted_wood'],
stripped: 'architects_palette:stripped_twisted_log',
logTag: '#architects_palette:twisted_logs',
output: '6x architects_palette:twisted_planks',
},
{
unstripped: ['ecologics:azalea_log', 'ecologics:azalea_wood'],
stripped: 'ecologics:stripped_azalea_log',
logTag: '#ecologics:azalea_logs',
output: '6x ecologics:azalea_planks',
},
{
unstripped: ['ecologics:coconut_log', 'ecologics:coconut_wood'],
stripped: 'ecologics:stripped_coconut_log',
logTag: '#ecologics:coconut_logs',
output: '6x ecologics:coconut_planks',
},
{
unstripped: null,
stripped: null,
logTag: '#ecologics:flowering_azalea_logs',
output: '6x ecologics:flowering_azalea_planks',
},
{
unstripped: ['ecologics:walnut_log', 'ecologics:walnut_wood'],
stripped: 'ecologics:stripped_walnut_log',
logTag: '#ecologics:walnut_logs',
output: '6x ecologics:walnut_planks',
},
];
logs.forEach(x => {
event.recipes.thermal.sawmill([x.output, sawdust], x.logTag);
if (!!x.stripped && !!x.unstripped) {
event.recipes.immersiveengineering.sawmill(
x.output,
x.unstripped,
[{stripping: true, output: 'thermal:sawdust'}],
x.stripped
);
event.recipes.immersiveengineering.sawmill(x.output, x.stripped, [
{stripping: false, output: 'thermal:sawdust'},
]);
}
});
});

View file

@ -1,6 +1,18 @@
onEvent('recipes', event => {
const CustomRecipeHandler = global.recipes(event);
event.replaceInput(
{id: 'industrialforegoing:dissolution_chamber/advanced_machine_frame'},
'minecraft:netherite_scrap',
'architects_palette:unobtanium'
);
event.replaceInput(
{id: 'industrialforegoing:dissolution_chamber/supreme_machine_frame'},
'minecraft:netherite_ingot',
'minecraft:netherite_scrap'
);
event.remove({output: 'industrialforegoing:diamond_gear'});
event.remove({output: 'industrialforegoing:gold_gear'});
event.remove({output: 'industrialforegoing:iron_gear'});

View file

@ -1,3 +0,0 @@
Recipes are **meant** to require you to leave your existing machinery up and running - there will be
no ease of use compatibility recipes added, so if you needed a machine to surpass a Gate, you'll
need it from then on.