Fellies/kubejs[atm]/server_scripts/ma_recipes.js

44 lines
1.3 KiB
JavaScript

events.listen('recipes', function (e) {
//Functions
function plus(result, count, name) {
e.shaped(item.of(result, count), [
' a ',
'aaa',
' a '
], {
a: 'mysticalagriculture:' + name + '_essence'
})
}
function circle(result, count, name) {
e.shaped(item.of(result, count), [
'aaa',
'a a',
'aaa'
], {
a: 'mysticalagriculture:' + name + '_essence'
})
}
//Recipes
e.shaped(item.of('minecraft:grass', 12), [
' E ',
'E E',
' '
], {
'E': 'mysticalagriculture:nature_essence'
})
circle('rats:oratchalcum_ingot', 4, 'oratchalcum')
circle('industrialforegoing:dryrubber',6,'rubber')
circle('allthemodium:allthemodium_nugget', 1, 'allthemodium')
circle('allthemodium:vibranium_nugget', 1, 'vibranium')
circle('allthemodium:unobtainium_nugget', 1, 'unobtainium')
circle('silentgear:azure_electrum_ingot', 4, 'azure_electrum')
circle('silentgear:azure_silver_ingot', 6, 'azure_silver')
circle('silentgear:crimson_iron_ingot', 6, 'crimson_iron')
circle('silentgear:crimson_steel_ingot', 4, 'crimson_steel')
circle('mekanism:fluorite_gem', 12, 'fluorite')
})