create-the-brass-oncerto/kubejs/server_scripts/add/ore_exctract.js

233 lines
8.0 KiB
JavaScript

ServerEvents.recipes(event => {
//移除无效配方
//原油-盐水
event.custom({
"type": "createoreexcavation:extracting",
"drill": {
"tag": "createoreexcavation:drills"
},
"fluid": {
"amount": 1000,
"fluid": "kubejs:saline_water",
"nbt": {}
},
"output": {
"amount": 325,
"fluid": "createdieselgenerators:crude_oil"
},
"priority": 0,
"stress": 256,
"ticks": 400,
"vein_id": "createoreexcavation:ore_vein_type/crude_oil"
}).id("dut_create:extractor/oil_saline_water")
//原油-钻井液
event.custom({
"type": "createoreexcavation:extracting",
"drill": { "tag": "createoreexcavation:drills" },
"fluid": { "amount": 50, "fluid": "kubejs:drilling_fluid", },
"output": { "amount": 500, "fluid": "kubejs:refined_oil" },
"priority": 0,
"stress": 256,
"ticks": 200,
"vein_id": "createoreexcavation:ore_vein_type/refined_oil"
}).id("dut_create:extractor/oil_drilling_fluid")
//可燃冰
event.custom({
"type": "createoreexcavation:drilling",
"drill": { "item": "createoreexcavation:netherite_drill" },
"fluid": { "amount": 50, "fluid": "kubejs:drilling_fluid" },
"output": [
{ "item": "ad_astra:ice_shard", "count": 4 },
{ "item": "ad_astra:ice_shard", "count": 8, "chance": 0.25 },
{ "item": "ad_astra:ice_shard", "count": 8, "chance": 0.25 }
],
"priority": 0,
"stress": 384,
"ticks": 600,
"vein_id": "createoreexcavation:ore_vein_type/burnable_ice"
}).id("dut_create:extractor/burnable_ice")
//月球铝
event.custom({
"type": "createoreexcavation:drilling",
"drill": { "item": "createoreexcavation:netherite_drill" },
"fluid": { "amount": 50, "fluid": "kubejs:drilling_fluid" },
"output": [
{ "item": "kubejs:aluminite", "count": 6 }
],
"priority": 0,
"stress": 384,
"ticks": 200,
"vein_id": "createoreexcavation:ore_vein_type/moon/moon_aluminite"
}).id("dut_create:drilling/moon_aluminite")
//月球戴斯
event.custom({
"type": "createoreexcavation:drilling",
"drill": { "item": "createoreexcavation:netherite_drill" },
"fluid": { "amount": 50, "fluid": "kubejs:drilling_fluid" },
"output": [
{ "item": "ad_astra:raw_desh" },
{ "item": "ad_astra:raw_desh", "chance": 0.25 }
],
"priority": 0,
"stress": 512,
"ticks": 200,
"vein_id": "createoreexcavation:ore_vein_type/moon/moon_desh"
}).id("dut_create:drilling/moon_desh")
//月壤
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [
{ "item": "ad_astra:moon_sand", "count": 8 },
{ "item": "ad_astra:moon_sand", "count": 4, "chance": 0.25 },
{ "item": "ad_astra:moon_stone", "count": 8 },
{ "item": "ad_astra:moon_deepslate", "count": 4, "chance": 0.25 },
{ "item": "ad_astra:moon_cobblestone", "count": 4, "chance": 0.25 },
],
"priority": 0,
"stress": 96,
"ticks": 200,
"vein_id": "createoreexcavation:ore_vein_type/moon/moon_stone"
}).id("dut_create:drilling/moon_stone")
//月球铁
event.custom({
"type": "createoreexcavation:drilling",
"drill": { "item": "createoreexcavation:netherite_drill" },
"fluid": { "amount": 50, "fluid": "kubejs:drilling_fluid" },
"output": [
{ "item": "ad_astra:moon_iron_ore", "count": 8 },
{ "item": "ad_astra:moon_iron_ore", "count": 8, "chance": 0.5 },
{ "item": "ad_astra:moon_iron_ore", "count": 8, "chance": 0.5 }
],
"priority": 0,
"stress": 512,
"ticks": 200,
"vein_id": "createoreexcavation:ore_vein_type/moon/moon_iron"
}).id("dut_create:drilling/moon_iron")
//工业废料
event.custom({
"type": "createoreexcavation:drilling",
"drill": { "tag": "createoreexcavation:drills" },
"output": [
{ "item": "kubejs:scrap", "count": 6 },
{ "item": "kubejs:scrap", "count": 6, "chance": 0.5 },
{ "item": "kubejs:scrap", "count": 6, "chance": 0.5 }
],
"priority": 0,
"stress": 256,
"ticks": 100,
"vein_id": "createoreexcavation:ore_vein_type/moon/scrap"
}).id("dut_create:drilling/scrap")
event.custom({
"type": "createoreexcavation:drilling",
"drill": { "tag": "createoreexcavation:drills" },
"output": [
{ "item": "kubejs:scrap", "count": 3 },
{ "item": "kubejs:scrap_1", "count": 8, "chance": 0.5 },
{ "item": "kubejs:scrap_2", "count": 8, "chance": 0.5 },
{ "item": "kubejs:scrap_3", "count": 8, "chance": 0.5 }
],
"priority": 0,
"stress": 256,
"ticks": 100,
"vein_id": "createoreexcavation:ore_vein_type/moon/scrap_1"
}).id("dut_create:drilling/scrap_1")
//硫
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "createloveandwar:raw_sulphur", "count": 2 },
{ "item": "createloveandwar:sulphur", "chance": 0.5 }],
"priority": 0,
"stress": 196,
"ticks": 400,
"vein_id": "createoreexcavation:ore_vein_type/sulphur"
}).id("dut_create:drilling/sulphur")
//钨
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "createloveandwar:raw_tungsten", "count": 1 },
{ "item": "createloveandwar:raw_tungsten", "chance": 0.5 }],
"priority": 0,
"stress": 384,
"ticks": 400,
"vein_id": "createoreexcavation:ore_vein_type/tungsten"
}).id("dut_create:drilling/tungsten")
//安山岩
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "minecraft:andesite", "count": 4 },
{ "item": "minecraft:andesite", "count": 8, "chance": 0.25 }],
"priority": 0,
"stress": 96,
"ticks": 300,
"vein_id": "createoreexcavation:ore_vein_type/stone/andesite"
}).id("dut_create:drilling/andesite")
//闪长岩
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "minecraft:diorite", "count": 4 },
{ "item": "minecraft:diorite", "count": 8, "chance": 0.25 }],
"priority": 0,
"stress": 96,
"ticks": 300,
"vein_id": "createoreexcavation:ore_vein_type/stone/diorite"
}).id("dut_create:drilling/diorite")
//花岗岩
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "minecraft:granite", "count": 4 },
{ "item": "minecraft:granite", "count": 8, "chance": 0.25 }],
"priority": 0,
"stress": 96,
"ticks": 300,
"vein_id": "createoreexcavation:ore_vein_type/stone/granite"
}).id("dut_create:drilling/granite")
//凝灰岩
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "minecraft:tuff", "count": 4 },
{ "item": "minecraft:tuff", "count": 8, "chance": 0.25 }],
"priority": 0,
"stress": 96,
"ticks": 300,
"vein_id": "createoreexcavation:ore_vein_type/stone/tuff"
}).id("dut_create:drilling/tuff")
//方解石
event.custom({
"type": "createoreexcavation:drilling",
"drill": {
"tag": "createoreexcavation:drills"
},
"output": [{ "item": "minecraft:calcite", "count": 4 },
{ "item": "minecraft:calcite", "count": 8, "chance": 0.25 },
{ "item": "kubejs:salt", "count": 6, "chance": 0.25 },
{ "item": "minecraft:bone_meal", "count": 12, "chance": 0.25 }],
"priority": 0,
"stress": 192,
"ticks": 300,
"vein_id": "createoreexcavation:ore_vein_type/stone/calcite"
}).id("dut_create:drilling/calcite")
//
//event.custom({"type": "createoreexcavation:drilling","drill": {"tag": "createoreexcavation:drills"},"output": [{"item": "minecraft:","count":4},{"item": "minecraft:","count":4,"chance":0.25}],"priority": 0,"stress": 96,"ticks": 300,"vein_id": "dut_create:ore_vein_type/"}).id("dut_create:drilling/")
//
})