114 lines
3.4 KiB
JavaScript
114 lines
3.4 KiB
JavaScript
ServerEvents.recipes(event => {
|
|
//酸碱中和
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{ "fluid": "kubejs:muriatic_acid", "amount": 100 },
|
|
{ "fluid": "kubejs:caustic_soda", "amount": 100 },
|
|
],
|
|
"results": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 100 }
|
|
]
|
|
}).id('dut_create:saline_water_mixing')
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"ingredients": [
|
|
{ "fluid": "kubejs:muriatic_acid", "amount": 100 },
|
|
{ "fluid": "kubejs:caustic_soda", "amount": 100 },
|
|
],
|
|
"results": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 100 }
|
|
],
|
|
"processingTime": 50
|
|
}).id('dut_create:saline_water_pressurizing')
|
|
//盐水蒸馏
|
|
event.custom({
|
|
"type": "vintageimprovements:vacuumizing",
|
|
"heatRequirement": "heated",
|
|
"secondaryFluidOutput": 0,
|
|
"ingredients": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 500 }
|
|
],
|
|
"results": [
|
|
{ "fluid": "minecraft:water", "amount": 500 },
|
|
{ "item": "kubejs:salt", "count": 2 }
|
|
],
|
|
"processingTime": 200
|
|
}).id('dut_create:saline_water_distil')
|
|
//电解食盐水
|
|
event.custom({
|
|
"type": "vintageimprovements:pressurizing",
|
|
"secondaryFluidOutput": 2,
|
|
"ingredients": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 1000 },
|
|
{ "item": "kubejs:electrolyzer" }
|
|
],
|
|
"results": [
|
|
{ "fluid": "kubejs:caustic_soda", "amount": 1000 },
|
|
{ "fluid": "ad_astra:hydrogen", "amount": 500 },
|
|
{ "fluid": "kubejs:chlorine", "amount": 500 },
|
|
{ "item": "kubejs:uncharged_electrolyzer" }
|
|
],
|
|
"processingTime": 300
|
|
}).id('dut_create:saline_water_electrolysis')
|
|
//煮盐
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"heatRequirement": "heated",
|
|
"ingredients": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 1000 }
|
|
],
|
|
"results": [
|
|
{ "item": "kubejs:salt", "count": 4 }
|
|
]
|
|
}).id('dut_create:saline_water_heated')
|
|
//离心取盐
|
|
event.custom({
|
|
"type": "vintageimprovements:centrifugation",
|
|
"ingredients": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 500 }
|
|
],
|
|
"results": [
|
|
{ "item": "kubejs:salt", "count": 2 },
|
|
{ "fluid": "minecraft:water", "amount": 500 }
|
|
],
|
|
"processingTime": 1000
|
|
}).id('dut_create:saline_water_centrifugation')
|
|
//海带浸取盐水
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{ "fluid": "minecraft:water", "amount": 500 },
|
|
{ "item": "kubejs:kelp_dust" },
|
|
{ "item": "kubejs:kelp_dust" },
|
|
{ "item": "kubejs:kelp_dust" },
|
|
{ "item": "kubejs:kelp_dust" }
|
|
],
|
|
"results": [
|
|
{ "fluid": "kubejs:saline_water", "amount": 250 }
|
|
]
|
|
}).id('dut_create:saline_water_from_kelp_dust')
|
|
//海带粉碎
|
|
event.custom({
|
|
"type": "create:milling",
|
|
"ingredients": [
|
|
{ "item": "minecraft:dried_kelp" }
|
|
],
|
|
"results": [
|
|
{ "item": "kubejs:kelp_dust", "count": 2 },
|
|
{ "item": "kubejs:kelp_dust", "chance": 0.5 }
|
|
]
|
|
}).id('dut_create:kelp_dust')
|
|
//盐溶解
|
|
event.custom({
|
|
"type": "create:mixing",
|
|
"ingredients": [
|
|
{ "fluid": "minecraft:water", "amount": 1000 },
|
|
{ "item": "kubejs:salt" },
|
|
{ "item": "kubejs:salt" },
|
|
{ "item": "kubejs:salt" },
|
|
{ "item": "kubejs:salt" }
|
|
],
|
|
"results": [{ "fluid": "kubejs:saline_water", "amount": 1000 }]
|
|
}).id('dut_create:saline_water_from_salt')
|
|
}) |