Consolidating Development: 0.9.x (#846)
Signed-off-by: Pyritie <pyritie@gmail.com> Signed-off-by: TomPlop <tomdidome@gmail.com> Co-authored-by: Pyritie <Pyritie@gmail.com> Co-authored-by: Redeix <brayden.j.m.ford@gmail.com> Co-authored-by: TomPlop <tomdidome@gmail.com> Co-authored-by: aidie8 <aidenvanzuilen@gmail.com> Co-authored-by: Xikaro <os.valerievich@ya.ru> Co-authored-by: Xikaro <55663835+Xikaro@users.noreply.github.com> Co-authored-by: Zleub <debray.arnaud@gmail.com>
This commit is contained in:
parent
528672e95b
commit
d4c80a4b61
2192 changed files with 104647 additions and 53190 deletions
72
kubejs/server_scripts/alekiships/recipes.js
Normal file
72
kubejs/server_scripts/alekiships/recipes.js
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
/**
|
||||
*
|
||||
* @param {Internal.RecipesEventJS} event
|
||||
*/
|
||||
const registerAlekishipsRecipes = (event) => {
|
||||
//remove recipes
|
||||
event.remove("alekiships:crafting/oarlock")
|
||||
event.remove("alekiships:crafting/cleat")
|
||||
event.remove("alekiships:crafting/anchor")
|
||||
event.remove("alekiships:crafting/cannon")
|
||||
event.remove("alekiships:crafting/cannonball")
|
||||
|
||||
//#region Oarlock
|
||||
event.recipes.gtceu.assembler('tfg:alekiships/oarlock')
|
||||
.itemInputs('2x #forge:ingots/wrought_iron')
|
||||
.circuit(13)
|
||||
.itemOutputs('alekiships:oarlock')
|
||||
.duration(75)
|
||||
.EUt(4)
|
||||
|
||||
event.recipes.tfc.heating('alekiships:oarlock', 1535)
|
||||
.resultFluid(Fluid.of('gtceu:iron', 288))
|
||||
.id(`alekiships:heating/oarlock`)
|
||||
//#endregion
|
||||
|
||||
//#region Cleat
|
||||
event.recipes.gtceu.assembler('tfg:firmaciv/cleat')
|
||||
.itemInputs('2x #forge:ingots/steel')
|
||||
.circuit(14)
|
||||
.itemOutputs('alekiships:cleat')
|
||||
.duration(75)
|
||||
.EUt(4)
|
||||
|
||||
event.recipes.tfc.heating('alekiships:cleat', 1535)
|
||||
.resultFluid(Fluid.of('gtceu:steel', 288))
|
||||
.id(`alekiships:heating/cleat`)
|
||||
//#endregion
|
||||
|
||||
//#region Anchor
|
||||
event.recipes.gtceu.assembler('tfg:alekiships/anchor')
|
||||
.itemInputs('2x #forge:plates/steel')
|
||||
.circuit(10)
|
||||
.itemOutputs('alekiships:anchor')
|
||||
.duration(75)
|
||||
.EUt(4)
|
||||
|
||||
event.recipes.tfc.heating('alekiships:anchor', 1535)
|
||||
.resultFluid(Fluid.of('gtceu:steel', 288))
|
||||
.id(`firmaciv:heating/anchor`)
|
||||
//#endregion
|
||||
|
||||
//#region cannonball
|
||||
event.recipes.gtceu.fluid_solidifier('tfg:solidify_cannonball')
|
||||
.inputFluids(Fluid.of('gtceu:iron', 288))
|
||||
.notConsumable('gtceu:ball_casting_mold')
|
||||
.itemOutputs('alekiships:cannonball')
|
||||
.duration(75)
|
||||
.EUt(4)
|
||||
|
||||
event.recipes.gtceu.alloy_smelter('tfg:cast_cannonball')
|
||||
.itemInputs('2x #forge:ingots/iron')
|
||||
.notConsumable('gtceu:ball_casting_mold')
|
||||
.itemOutputs('alekiships:cannonball')
|
||||
.duration(75)
|
||||
.category(GTRecipeCategories.INGOT_MOLDING)
|
||||
.EUt(4)
|
||||
|
||||
event.recipes.tfc.heating('alekiships:cannonball', 1535)
|
||||
.resultFluid(Fluid.of('gtceu:iron', 288))
|
||||
.id(`alekiships:heating/cannonball`)
|
||||
//#endregion
|
||||
}
|
||||
12
kubejs/server_scripts/alekiships/tags.js
Normal file
12
kubejs/server_scripts/alekiships/tags.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
/**
|
||||
*
|
||||
* @param {TagEvent.Item} event
|
||||
*/
|
||||
const registerAlekishipsItemTags = (event) =>
|
||||
{
|
||||
global.ALEKISHIPS_DISABLED_ITEMS.forEach(element => {
|
||||
event.removeAllTagsFrom(element);
|
||||
event.add("c:hidden_from_recipe_viewers", element)
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue