крафты форм
This commit is contained in:
parent
0ff06e59f6
commit
4c828086f3
2 changed files with 60 additions and 15 deletions
|
|
@ -1478,6 +1478,21 @@ const registerTFCRecipes = (event) => {
|
|||
.duration(128)
|
||||
.EUt(3)
|
||||
|
||||
// Рецепты бесконечного камня в RockBreaker
|
||||
global.TFC_STONE_TYPES.forEach(stoneTypeName => {
|
||||
event.recipes.gtceu.rock_breaker(`raw_${stoneTypeName}`)
|
||||
.notConsumable(`tfc:rock/raw/${stoneTypeName}`)
|
||||
.itemOutputs(`tfc:rock/raw/${stoneTypeName}`)
|
||||
.duration(16)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.rock_breaker(`cobble_${stoneTypeName}`)
|
||||
.notConsumable(`tfc:rock/cobble/${stoneTypeName}`)
|
||||
.itemOutputs(`tfc:rock/cobble/${stoneTypeName}`)
|
||||
.duration(16)
|
||||
.EUt(7)
|
||||
})
|
||||
|
||||
//#region Фикс рецептов связанных с песком
|
||||
|
||||
event.recipes.gtceu.centrifuge('oilsands_ore_separation')
|
||||
|
|
@ -1602,21 +1617,6 @@ const registerTFCRecipes = (event) => {
|
|||
|
||||
//#endregion
|
||||
|
||||
// Рецепты бесконечного камня в RockBreaker
|
||||
global.TFC_STONE_TYPES.forEach(stoneTypeName => {
|
||||
event.recipes.gtceu.rock_breaker(`raw_${stoneTypeName}`)
|
||||
.notConsumable(`tfc:rock/raw/${stoneTypeName}`)
|
||||
.itemOutputs(`tfc:rock/raw/${stoneTypeName}`)
|
||||
.duration(16)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.rock_breaker(`cobble_${stoneTypeName}`)
|
||||
.notConsumable(`tfc:rock/cobble/${stoneTypeName}`)
|
||||
.itemOutputs(`tfc:rock/cobble/${stoneTypeName}`)
|
||||
.duration(16)
|
||||
.EUt(7)
|
||||
})
|
||||
|
||||
//#region Рецепты ковки слитков в GT машинах
|
||||
|
||||
// Сырая крица -> Укрепленная крица
|
||||
|
|
@ -1690,5 +1690,12 @@ const registerTFCRecipes = (event) => {
|
|||
.EUt(4)
|
||||
|
||||
//#endregion
|
||||
|
||||
for (let i = 0; i < global.TFC_UNFIRED_MOLDS.length; i++) {
|
||||
event.smelting(global.TFC_FIRED_MOLDS[i], global.TFC_UNFIRED_MOLDS[i])
|
||||
.id(`tfg:smelting/mold_${i}`)
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1251,6 +1251,44 @@ global.TFC_ORE_MATERIALS = [
|
|||
"tetrahedrite"
|
||||
];
|
||||
|
||||
global.TFC_UNFIRED_MOLDS = [
|
||||
"tfc:ceramic/unfired_ingot_mold",
|
||||
"tfc:ceramic/unfired_pickaxe_head_mold",
|
||||
"tfc:ceramic/unfired_propick_head_mold",
|
||||
"tfc:ceramic/unfired_axe_head_mold",
|
||||
"tfc:ceramic/unfired_shovel_head_mold",
|
||||
"tfc:ceramic/unfired_hoe_head_mold",
|
||||
"tfc:ceramic/unfired_chisel_head_mold",
|
||||
"tfc:ceramic/unfired_hammer_head_mold",
|
||||
"tfc:ceramic/unfired_saw_blade_mold",
|
||||
"tfc:ceramic/unfired_javelin_head_mold",
|
||||
"tfc:ceramic/unfired_sword_blade_mold",
|
||||
"tfc:ceramic/unfired_mace_head_mold",
|
||||
"tfc:ceramic/unfired_knife_blade_mold",
|
||||
"tfc:ceramic/unfired_scythe_blade_mold",
|
||||
"tfc:ceramic/unfired_bell_mold",
|
||||
"tfc:ceramic/unfired_fire_ingot_mold",
|
||||
];
|
||||
|
||||
global.TFC_FIRED_MOLDS = [
|
||||
"tfc:ceramic/ingot_mold",
|
||||
"tfc:ceramic/pickaxe_head_mold",
|
||||
"tfc:ceramic/propick_head_mold",
|
||||
"tfc:ceramic/axe_head_mold",
|
||||
"tfc:ceramic/shovel_head_mold",
|
||||
"tfc:ceramic/hoe_head_mold",
|
||||
"tfc:ceramic/chisel_head_mold",
|
||||
"tfc:ceramic/hammer_head_mold",
|
||||
"tfc:ceramic/saw_blade_mold",
|
||||
"tfc:ceramic/javelin_head_mold",
|
||||
"tfc:ceramic/sword_blade_mold",
|
||||
"tfc:ceramic/mace_head_mold",
|
||||
"tfc:ceramic/knife_blade_mold",
|
||||
"tfc:ceramic/scythe_blade_mold",
|
||||
"tfc:ceramic/bell_mold",
|
||||
"tfc:ceramic/fire_ingot_mold",
|
||||
];
|
||||
|
||||
global.calcAmountOfMetal = (defaultAmount, percents) => {
|
||||
const value = defaultAmount / (100 / percents)
|
||||
return (value % 2 == 0) ? value : Math.round(value) - 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue