-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/EnigmaticaModpacks/Enigm…
…atica10 into develop
- Loading branch information
Showing
32 changed files
with
590 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
kubejs/server_scripts/recipes/actuallyadditions/liquid_fuel.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
ServerEvents.recipes((event) => { | ||
const id_prefix = 'enigmatica:actuallyadditions/liquid_fuel/'; | ||
|
||
const recipes = [ | ||
{ | ||
fuel: 'justdirethings:refined_t2_fluid_source', | ||
fe_per_mb: 450, | ||
fe_per_tick: 100, | ||
id: `${id_prefix}refined_t2_fluid_source` | ||
}, | ||
{ | ||
fuel: 'justdirethings:refined_t3_fluid_source', | ||
fe_per_mb: 1300, | ||
fe_per_tick: 130, | ||
id: `${id_prefix}refined_t3_fluid_source` | ||
}, | ||
{ | ||
fuel: 'justdirethings:refined_t4_fluid_source', | ||
fe_per_mb: 4000, | ||
fe_per_tick: 160, | ||
id: `${id_prefix}refined_t4_fluid_source` | ||
} | ||
]; | ||
|
||
recipes.forEach((recipe) => { | ||
recipe.type = 'actuallyadditions:liquid_fuel'; | ||
let burn_amount = 50; | ||
recipe.fuel = { id: recipe.fuel, amount: burn_amount }; | ||
recipe.total_energy = recipe.fe_per_mb * burn_amount; | ||
recipe.burn_time = recipe.total_energy / recipe.fe_per_tick; | ||
event.custom(recipe).id(recipe.id); | ||
}); | ||
}); |
17 changes: 17 additions & 0 deletions
17
kubejs/server_scripts/recipes/actuallyadditions/shapeless.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
ServerEvents.recipes((event) => { | ||
const id_prefix = 'enigmatica:actuallyadditions/shapeless/'; | ||
|
||
const recipes = [ | ||
{ | ||
output: '4x actuallyadditions:black_quartz', | ||
inputs: ['#c:storage_blocks/black_quartz'], | ||
id: `${id_prefix}black_quartz` | ||
} | ||
]; | ||
|
||
recipes.forEach((recipe) => { | ||
let r = event.shapeless(recipe.output, recipe.inputs).id(recipe.id); | ||
if (recipe.damage) r.damageIngredient(recipe.damage.item, recipe.damage.amount); | ||
if (recipe.replace) r.replaceIngredient(recipe.replace.item, recipe.replace.replacement); | ||
}); | ||
}); |
100 changes: 100 additions & 0 deletions
100
kubejs/server_scripts/recipes/actuallyadditions/solid_fuel.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
ServerEvents.recipes((event) => { | ||
const id_prefix = 'enigmatica:actuallyadditions/solid_fuel/'; | ||
|
||
const recipes = [ | ||
{ | ||
item: { tag: 'c:gems/lignite_coal' }, | ||
fuel_quality: 8, | ||
id: `${id_prefix}lignite_coal` | ||
}, | ||
{ | ||
item: { tag: 'c:storage_blocks/charcoal' }, | ||
fuel_quality: 80, | ||
id: `${id_prefix}charcoal_block` | ||
}, | ||
{ | ||
item: { tag: 'c:storage_blocks/lignite_coal' }, | ||
fuel_quality: 80, | ||
id: `${id_prefix}lignite_coal_block` | ||
}, | ||
{ | ||
item: { tag: 'c:dusts/charcoal' }, | ||
fuel_quality: 8, | ||
id: `${id_prefix}charcoal_dust` | ||
}, | ||
{ | ||
item: { tag: 'c:dusts/coal' }, | ||
fuel_quality: 8, | ||
id: `${id_prefix}coal_dust` | ||
}, | ||
{ | ||
item: { tag: 'c:dusts/lignite_coal' }, | ||
fuel_quality: 8, | ||
id: `${id_prefix}lignite_coal_dust` | ||
}, | ||
{ | ||
item: { tag: 'c:tiny_dusts/coal' }, | ||
fuel_quality: 0.8, | ||
id: `${id_prefix}coal_tiny_dust` | ||
}, | ||
{ | ||
item: { tag: 'c:tiny_dusts/lignite_coal' }, | ||
fuel_quality: 0.8, | ||
id: `${id_prefix}lignite_coal_tiny_dust` | ||
}, | ||
{ | ||
item: { item: 'evilcraft:blood_waxed_coal' }, | ||
fuel_quality: 16, | ||
id: `${id_prefix}blood_waxed_coal` | ||
}, | ||
{ | ||
item: { tag: 'c:gems/primal_coal' }, | ||
fuel_quality: 24, | ||
id: `${id_prefix}primal_coal` | ||
}, | ||
{ | ||
item: { tag: 'c:gems/blaze_ember' }, | ||
fuel_quality: 72, | ||
id: `${id_prefix}blaze_ember` | ||
}, | ||
{ | ||
item: { tag: 'c:gems/voidflame' }, | ||
fuel_quality: 216, | ||
id: `${id_prefix}voidflame` | ||
}, | ||
{ | ||
item: { tag: 'c:gems/eclipse_ember' }, | ||
fuel_quality: 648, | ||
id: `${id_prefix}eclipse_ember` | ||
}, | ||
{ | ||
item: { tag: 'c:storage_blocks/primal_coal' }, | ||
fuel_quality: 240, | ||
id: `${id_prefix}primal_coal_block` | ||
}, | ||
{ | ||
item: { tag: 'c:storage_blocks/blaze_ember' }, | ||
fuel_quality: 720, | ||
id: `${id_prefix}blaze_ember_block` | ||
}, | ||
{ | ||
item: { tag: 'c:storage_blocks/voidflame' }, | ||
fuel_quality: 2160, | ||
id: `${id_prefix}voidflame_block` | ||
}, | ||
{ | ||
item: { tag: 'c:storage_blocks/eclipse_ember' }, | ||
fuel_quality: 6480, | ||
id: `${id_prefix}eclipse_ember_block` | ||
} | ||
]; | ||
|
||
recipes.forEach((recipe) => { | ||
recipe.type = 'actuallyadditions:solid_fuel'; | ||
if (recipe.fuel_quality) { | ||
recipe.burn_time = recipe.fuel_quality * 200; | ||
recipe.total_energy = recipe.fuel_quality * 4000; | ||
} | ||
event.custom(recipe).id(recipe.id); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.