Improved NatProg compat
This commit is contained in:
parent
e3a2fd1de4
commit
8e9c12c98e
4 changed files with 151 additions and 413 deletions
|
|
@ -95,4 +95,34 @@ onEvent("recipes", (event) => {
|
|||
count: 1,
|
||||
},
|
||||
});
|
||||
|
||||
const tconWoods = [
|
||||
{
|
||||
log: "tconstruct:greenheart_log",
|
||||
strippedLog: "tconstruct:stripped_greenheart_log",
|
||||
wood: "tconstruct:greenheart_wood",
|
||||
strippedWood: "tconstruct:stripped_greenheart_wood",
|
||||
plank: "tconstruct:greenheart_planks",
|
||||
},
|
||||
{
|
||||
log: "tconstruct:skyroot_log",
|
||||
strippedLog: "tconstruct:stripped_skyroot_log",
|
||||
wood: "tconstruct:skyroot_wood",
|
||||
strippedWood: "tconstruct:stripped_skyroot_wood",
|
||||
plank: "tconstruct:skyroot_planks",
|
||||
},
|
||||
{
|
||||
log: "tconstruct:bloodshroom_log",
|
||||
strippedLog: "tconstruct:stripped_bloodshroom_log",
|
||||
wood: "tconstruct:bloodshroom_wood",
|
||||
strippedWood: "tconstruct:stripped_bloodshroom_wood",
|
||||
plank: "tconstruct:bloodshroom_planks",
|
||||
},
|
||||
];
|
||||
|
||||
tconWoods.forEach((woodType) => {
|
||||
event.remove({ output: woodType.plank });
|
||||
global.genNatProgRecipes(woodType.log, woodType.strippedLog, woodType.plank).forEach((x) => event.custom(x));
|
||||
global.genNatProgRecipes(woodType.wood, woodType.strippedWood, woodType.plank).forEach((x) => event.custom(x));
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue