Revamp thermal recipes, rf coils
This commit is contained in:
parent
715f229e0f
commit
48ccedc4e2
5 changed files with 118 additions and 55 deletions
|
|
@ -2,5 +2,6 @@
|
||||||
"item.kubejs.ender_singularity": "Ender Singularity",
|
"item.kubejs.ender_singularity": "Ender Singularity",
|
||||||
"item.kubejs.fluxed_singularity": "Fluxed Singularity",
|
"item.kubejs.fluxed_singularity": "Fluxed Singularity",
|
||||||
"item.kubejs.crude_andesite_alloy": "Crude Andesite Alloy",
|
"item.kubejs.crude_andesite_alloy": "Crude Andesite Alloy",
|
||||||
"item.kubejs.incomplete_redstone_servo": "Incomplete Redstone Servo"
|
"item.kubejs.incomplete_redstone_servo": "Incomplete Redstone Servo",
|
||||||
|
"item.kubejs.incomplete_rf_coil": "Incomplete RF Coil"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
kubejs/assets/kubejs/textures/item/incomplete_rf_coil.png
Normal file
BIN
kubejs/assets/kubejs/textures/item/incomplete_rf_coil.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 KiB |
BIN
kubejs/assets/kubejs/textures/item/rf_coil.png
Normal file
BIN
kubejs/assets/kubejs/textures/item/rf_coil.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 457 B |
|
|
@ -1,3 +1,113 @@
|
||||||
|
const redstoneServoRecipes = event => {
|
||||||
|
// Hard recipe for these
|
||||||
|
event.custom({
|
||||||
|
type: 'create:sequenced_assembly',
|
||||||
|
ingredient: {tag: 'forge:plates/steel'},
|
||||||
|
transitionalItem: {item: 'kubejs:incomplete_redstone_servo'},
|
||||||
|
sequence: [
|
||||||
|
{
|
||||||
|
type: 'create:deploying',
|
||||||
|
ingredients: [{item: 'kubejs:incomplete_redstone_servo'}, {item: 'minecraft:piston'}],
|
||||||
|
results: [{item: 'kubejs:incomplete_redstone_servo'}],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'create:deploying',
|
||||||
|
ingredients: [
|
||||||
|
{item: 'kubejs:incomplete_redstone_servo'},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone'},
|
||||||
|
],
|
||||||
|
results: [{item: 'kubejs:incomplete_redstone_servo'}],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'create:deploying',
|
||||||
|
ingredients: [
|
||||||
|
{item: 'kubejs:incomplete_redstone_servo'},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone'},
|
||||||
|
],
|
||||||
|
results: [{item: 'kubejs:incomplete_redstone_servo'}],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
results: [
|
||||||
|
{item: 'thermal:redstone_servo', chance: 300.0},
|
||||||
|
{item: 'emendatusenigmatica:steel_ingot', chance: 8.0},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone', chance: 80.0},
|
||||||
|
{item: 'minecraft:piston'},
|
||||||
|
],
|
||||||
|
loops: 2,
|
||||||
|
});
|
||||||
|
|
||||||
|
// Easier recipe
|
||||||
|
event.custom({
|
||||||
|
type: 'thermal:press',
|
||||||
|
ingredients: [
|
||||||
|
{tag: 'forge:plates/steel'},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone', count: 4},
|
||||||
|
],
|
||||||
|
result: [{item: 'kubejs:incomplete_redstone_servo'}],
|
||||||
|
});
|
||||||
|
|
||||||
|
event.custom({
|
||||||
|
type: 'thermal:press',
|
||||||
|
ingredients: [{item: 'kubejs:incomplete_redstone_servo'}, {item: 'minecraft:piston', count: 2}],
|
||||||
|
result: [{item: 'thermal:redstone_servo'}],
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const rfCoilRecipes = event => {
|
||||||
|
// Hard recipe for these
|
||||||
|
event.custom({
|
||||||
|
type: 'create:sequenced_assembly',
|
||||||
|
ingredient: {tag: 'forge:rods/gold'},
|
||||||
|
transitionalItem: {item: 'kubejs:incomplete_rf_coil'},
|
||||||
|
sequence: [
|
||||||
|
{
|
||||||
|
type: 'create:deploying',
|
||||||
|
ingredients: [{item: 'kubejs:incomplete_rf_coil'}, {tag: 'forge:plates/gold'}],
|
||||||
|
results: [{item: 'kubejs:incomplete_rf_coil'}],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'create:deploying',
|
||||||
|
ingredients: [
|
||||||
|
{item: 'kubejs:incomplete_rf_coil'},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone'},
|
||||||
|
],
|
||||||
|
results: [{item: 'kubejs:incomplete_rf_coil'}],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'create:deploying',
|
||||||
|
ingredients: [
|
||||||
|
{item: 'kubejs:incomplete_rf_coil'},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone'},
|
||||||
|
],
|
||||||
|
results: [{item: 'kubejs:incomplete_rf_coil'}],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
results: [
|
||||||
|
{item: 'thermal:rf_coil', chance: 300.0},
|
||||||
|
{tag: 'forge:ingots/gold', chance: 2.0},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone', chance: 40.0},
|
||||||
|
{tag: 'forge:plates/gold'},
|
||||||
|
],
|
||||||
|
loops: 2,
|
||||||
|
});
|
||||||
|
|
||||||
|
// Easier recipe
|
||||||
|
event.custom({
|
||||||
|
type: 'thermal:press',
|
||||||
|
ingredients: [
|
||||||
|
{tag: 'forge:rods/gold'},
|
||||||
|
{item: 'immersiveengineering:wirecoil_redstone', count: 4},
|
||||||
|
],
|
||||||
|
result: [{item: 'kubejs:incomplete_rf_coil'}],
|
||||||
|
});
|
||||||
|
|
||||||
|
event.custom({
|
||||||
|
type: 'thermal:press',
|
||||||
|
ingredients: [{item: 'kubejs:incomplete_rf_coil'}, {tag: 'forge:plates/gold'}],
|
||||||
|
result: [{item: 'thermal:rf_coil'}],
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
onEvent('recipes', event => {
|
onEvent('recipes', event => {
|
||||||
event.remove({output: 'thermal:rf_coil'});
|
event.remove({output: 'thermal:rf_coil'});
|
||||||
event.remove({output: 'thermal:machine_frame'});
|
event.remove({output: 'thermal:machine_frame'});
|
||||||
|
|
@ -9,11 +119,8 @@ onEvent('recipes', event => {
|
||||||
event.remove({id: 'thermal:machine/press/press_dandelion_to_latex'});
|
event.remove({id: 'thermal:machine/press/press_dandelion_to_latex'});
|
||||||
event.remove({id: 'thermal:machine/chiller/chiller_ender_to_ender_pearl'});
|
event.remove({id: 'thermal:machine/chiller/chiller_ender_to_ender_pearl'});
|
||||||
|
|
||||||
event.shaped('1x thermal:rf_coil', [' RG', 'RSR', 'GR '], {
|
rfCoilRecipes(event);
|
||||||
R: 'immersiveengineering:wirecoil_redstone',
|
redstoneServoRecipes(event);
|
||||||
S: '#forge:ingots/steel',
|
|
||||||
G: '#forge:nuggets/gold',
|
|
||||||
});
|
|
||||||
|
|
||||||
event.shaped('1x thermal:machine_frame', ['SGS', 'GTG', 'SGS'], {
|
event.shaped('1x thermal:machine_frame', ['SGS', 'GTG', 'SGS'], {
|
||||||
G: 'mekanism:structural_glass',
|
G: 'mekanism:structural_glass',
|
||||||
|
|
@ -45,53 +152,4 @@ onEvent('recipes', event => {
|
||||||
result: [{item: 'thermal:rubber'}],
|
result: [{item: 'thermal:rubber'}],
|
||||||
energy: 2000,
|
energy: 2000,
|
||||||
});
|
});
|
||||||
|
|
||||||
event.custom({
|
|
||||||
type: 'create:sequenced_assembly',
|
|
||||||
ingredient: {
|
|
||||||
tag: 'forge:plates/steel',
|
|
||||||
},
|
|
||||||
transitionalItem: {item: 'kubejs:incomplete_redstone_servo'},
|
|
||||||
sequence: [
|
|
||||||
{
|
|
||||||
type: 'create:deploying',
|
|
||||||
ingredients: [{item: 'kubejs:incomplete_redstone_servo'}, {item: 'minecraft:piston'}],
|
|
||||||
results: [{item: 'kubejs:incomplete_redstone_servo'}],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: 'create:deploying',
|
|
||||||
ingredients: [
|
|
||||||
{item: 'kubejs:incomplete_redstone_servo'},
|
|
||||||
{item: 'immersiveengineering:wirecoil_redstone'},
|
|
||||||
],
|
|
||||||
results: [{item: 'kubejs:incomplete_redstone_servo'}],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: 'create:deploying',
|
|
||||||
ingredients: [
|
|
||||||
{item: 'kubejs:incomplete_redstone_servo'},
|
|
||||||
{item: 'immersiveengineering:wirecoil_redstone'},
|
|
||||||
],
|
|
||||||
results: [{item: 'kubejs:incomplete_redstone_servo'}],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
results: [
|
|
||||||
{
|
|
||||||
item: 'thermal:redstone_servo',
|
|
||||||
chance: 300.0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
item: 'emendatusenigmatica:steel_ingot',
|
|
||||||
chance: 8.0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
item: 'immersiveengineering:wirecoil_redstone',
|
|
||||||
chance: 80.0,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
item: 'minecraft:piston',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
loops: 2,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@ onEvent('item.registry', event => {
|
||||||
.create('incomplete_redstone_servo')
|
.create('incomplete_redstone_servo')
|
||||||
.texture('kubejs:item/incomplete_redstone_servo')
|
.texture('kubejs:item/incomplete_redstone_servo')
|
||||||
.type('create:sequenced_assembly');
|
.type('create:sequenced_assembly');
|
||||||
|
event
|
||||||
|
.create('incomplete_rf_coil')
|
||||||
|
.texture('kubejs:item/incomplete_rf_coil')
|
||||||
|
.type('create:sequenced_assembly');
|
||||||
});
|
});
|
||||||
|
|
||||||
onEvent('item.modification', event => {
|
onEvent('item.modification', event => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue