Туда же
This commit is contained in:
parent
b42d195aad
commit
0b5a64394b
1 changed files with 47 additions and 0 deletions
47
kubejs/server_scripts/tfc/customRecipes.js
Normal file
47
kubejs/server_scripts/tfc/customRecipes.js
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
const customWelding = (event,[input1,input2],result,tier) => {
|
||||
event.custom({
|
||||
type: "tfc:welding",
|
||||
first_input: {
|
||||
tag: input1
|
||||
},
|
||||
second_input: {
|
||||
tag: input2
|
||||
},
|
||||
result: {
|
||||
item: result
|
||||
},
|
||||
tier: tier,
|
||||
})
|
||||
}
|
||||
|
||||
const customHeating = (event,input1,[result,amount],temperature) => {
|
||||
event.custom({
|
||||
type: "tfc:heating",
|
||||
ingredient: {
|
||||
item: input1
|
||||
},
|
||||
result_fluid: {
|
||||
fluid: result,
|
||||
amount: amount
|
||||
},
|
||||
temperature: temperature
|
||||
})
|
||||
}
|
||||
|
||||
const customAnvil = (event,input1,result,tier,[firstRule,secondRule,thirdRule]) => {
|
||||
event.custom({
|
||||
type: "tfc:anvil",
|
||||
input: {
|
||||
tag: input1
|
||||
},
|
||||
result: {
|
||||
item: result
|
||||
},
|
||||
tier: tier,
|
||||
rules: [
|
||||
firstRule,
|
||||
secondRule,
|
||||
thirdRule
|
||||
]
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue