This commit is contained in:
kepler155c
2018-01-27 03:28:12 -05:00
parent 6dbb2774b4
commit e8824aec3a
2 changed files with 452 additions and 1 deletions

View File

@@ -1236,7 +1236,7 @@ end
function craftPage.wizard.pages.resources:enable()
local items = listItems()
local count = tonumber(self.parent.quantity.count.value)
local recipe = Craft.findRecipe(self.item)
local recipe = Craft.findRecipe(craftPage.item)
local ingredients = Craft.getResourceList4(recipe, items, count)
for _,v in pairs(ingredients) do
v.displayName = itemDB:getName(v)

451
etc/recipes/botania.db Normal file
View File

@@ -0,0 +1,451 @@
{
[ "botania:vial:0" ] = {
ingredients = {
"botania:manaGlass:0",
[ 6 ] = "botania:manaGlass:0",
[ 3 ] = "botania:manaGlass:0",
},
count = 3,
},
[ "botania:lens:0" ] = {
count = 1,
ingredients = {
[ 10 ] = "botania:manaResource:0",
[ 2 ] = "botania:manaResource:0",
[ 5 ] = "botania:manaResource:0",
[ 6 ] = "minecraft:glass_pane:0",
[ 7 ] = "botania:manaResource:0",
},
maxCount = 1,
},
[ "botania:brewery:0" ] = {
ingredients = {
"botania:livingrock:0",
"minecraft:brewing_stand:0",
"botania:livingrock:0",
[ 9 ] = "botania:livingrock:0",
[ 10 ] = "botania:storage:0",
[ 11 ] = "botania:livingrock:0",
[ 5 ] = "botania:livingrock:0",
[ 6 ] = "botania:rune:8",
[ 7 ] = "botania:livingrock:0",
},
count = 1,
},
[ "botania:spark:0" ] = {
ingredients = {
[ 10 ] = "botania:petal:*",
[ 2 ] = "botania:petal:*",
[ 5 ] = "minecraft:blaze_powder:0",
[ 6 ] = "minecraft:gold_nugget:0",
[ 7 ] = "minecraft:blaze_powder:0",
},
count = 1,
},
[ "botania:petal:10" ] = {
ingredients = {
"botania:flower:10",
},
count = 12,
},
[ "botania:vial:1" ] = {
ingredients = {
"botania:elfGlass:0",
[ 6 ] = "botania:elfGlass:0",
[ 3 ] = "botania:elfGlass:0",
},
count = 3,
},
[ "botania:manaTablet:0" ] = {
ingredients = {
"botania:livingrock:0",
"botania:livingrock:0",
"botania:livingrock:0",
[ 9 ] = "botania:livingrock:0",
[ 10 ] = "botania:livingrock:0",
[ 11 ] = "botania:livingrock:0",
[ 5 ] = "botania:livingrock:0",
[ 6 ] = "botania:manaResource:1",
[ 7 ] = "botania:livingrock:0",
},
count = 1,
},
[ "botania:hourglass:0" ] = {
ingredients = {
"minecraft:gold_ingot:0",
"botania:manaGlass:0",
"minecraft:gold_ingot:0",
[ 9 ] = "minecraft:gold_ingot:0",
[ 10 ] = "botania:manaGlass:0",
[ 11 ] = "minecraft:gold_ingot:0",
[ 5 ] = "minecraft:redstone:0",
[ 6 ] = "botania:manaResource:0",
[ 7 ] = "minecraft:redstone:0",
},
count = 1,
},
[ "botania:pylon:2" ] = {
ingredients = {
[ 10 ] = "botania:manaResource:8",
[ 2 ] = "botania:manaResource:8",
[ 5 ] = "botania:manaResource:7",
[ 6 ] = "botania:pylon:0",
[ 7 ] = "botania:manaResource:7",
},
count = 1,
},
[ "botania:terraPlate:0" ] = {
ingredients = {
"minecraft:lapis_block:0",
"minecraft:lapis_block:0",
"minecraft:lapis_block:0",
[ 9 ] = "botania:rune:2",
[ 10 ] = "botania:rune:8",
[ 11 ] = "botania:rune:3",
[ 5 ] = "botania:rune:0",
[ 6 ] = "botania:storage:0",
[ 7 ] = "botania:rune:1",
},
count = 1,
},
[ "botania:livingwood:5" ] = {
ingredients = {
"botania:livingwood:0",
"minecraft:glowstone_dust:0",
},
count = 1,
},
[ "botania:pylon:1" ] = {
ingredients = {
[ 10 ] = "minecraft:ender_eye:0",
[ 2 ] = "botania:manaResource:18",
[ 5 ] = "botania:manaResource:18",
[ 6 ] = "botania:pylon:0",
[ 7 ] = "botania:manaResource:18",
},
count = 1,
},
[ "botania:petal:11" ] = {
ingredients = {
"botania:flower:11",
},
count = 2,
},
[ "botania:conjurationCatalyst:0" ] = {
ingredients = {
"botania:livingrock:0",
"botania:manaResource:8",
"botania:livingrock:0",
[ 9 ] = "botania:livingrock:0",
[ 10 ] = "botania:manaResource:7",
[ 11 ] = "botania:livingrock:0",
[ 5 ] = "botania:manaResource:7",
[ 6 ] = "botania:alchemyCatalyst:0",
[ 7 ] = "botania:manaResource:7",
},
count = 1,
},
[ "botania:petal:15" ] = {
ingredients = {
"botania:flower:15",
},
count = 2,
},
[ "botania:sparkUpgrade:2" ] = {
ingredients = {
"botania:manaResource:8",
"botania:manaResource:0",
[ 5 ] = "botania:rune:2",
},
count = 1,
},
[ "botania:petal:8" ] = {
ingredients = {
"botania:doubleFlower2:0",
},
count = 4,
},
[ "botania:petal:6" ] = {
ingredients = {
"botania:flower:6",
},
count = 10,
},
[ "botania:petal:9" ] = {
ingredients = {
"botania:flower:9",
},
count = 10,
},
[ "botania:turntable:0" ] = {
ingredients = {
"botania:livingwood:0",
"botania:livingwood:0",
"botania:livingwood:0",
[ 9 ] = "botania:livingwood:0",
[ 10 ] = "botania:livingwood:0",
[ 11 ] = "botania:livingwood:0",
[ 5 ] = "botania:livingwood:0",
[ 6 ] = "minecraft:sticky_piston:0",
[ 7 ] = "botania:livingwood:0",
},
count = 1,
},
[ "botania:alfheimPortal:0" ] = {
ingredients = {
"botania:livingwood:0",
"botania:manaResource:18",
"botania:livingwood:0",
[ 9 ] = "botania:livingwood:0",
[ 10 ] = "botania:manaResource:18",
[ 11 ] = "botania:livingwood:0",
[ 5 ] = "botania:livingwood:0",
[ 6 ] = "botania:manaResource:18",
[ 7 ] = "botania:livingwood:0",
},
count = 1,
},
[ "botania:fertilizer:0" ] = {
ingredients = {
"minecraft:dye:15",
"minecraft:dye:1",
"minecraft:dye:1",
[ 5 ] = "minecraft:dye:11",
[ 6 ] = "minecraft:dye:11",
},
count = 1,
},
[ "botania:storage:0" ] = {
ingredients = {
"botania:manaResource:0",
"botania:manaResource:0",
"botania:manaResource:0",
[ 9 ] = "botania:manaResource:0",
[ 10 ] = "botania:manaResource:0",
[ 11 ] = "botania:manaResource:0",
[ 5 ] = "botania:manaResource:0",
[ 6 ] = "botania:manaResource:0",
[ 7 ] = "botania:manaResource:0",
},
count = 1,
},
[ "botania:openCrate:0" ] = {
ingredients = {
"botania:livingwood:1",
"botania:livingwood:1",
"botania:livingwood:1",
[ 7 ] = "botania:livingwood:1",
[ 9 ] = "botania:livingwood:1",
[ 11 ] = "botania:livingwood:1",
[ 5 ] = "botania:livingwood:1",
},
count = 1,
},
[ "botania:petal:14" ] = {
ingredients = {
"botania:flower:14",
},
count = 2,
},
[ "botania:twigWand:0:6605f7f28f36765a5acc434fa1820653" ] = {
count = 1,
ingredients = {
[ 9 ] = "botania:manaResource:3",
[ 2 ] = "botania:petal:6",
[ 3 ] = "botania:manaResource:3",
[ 6 ] = "botania:manaResource:3",
[ 7 ] = "botania:petal:6",
},
maxCount = 1,
},
[ "botania:petal:4" ] = {
ingredients = {
"botania:flower:4",
},
count = 2,
},
[ "botania:sparkUpgrade:0" ] = {
ingredients = {
"botania:manaResource:8",
"botania:manaResource:0",
[ 5 ] = "botania:rune:0",
},
count = 1,
},
[ "botania:altar:0" ] = {
ingredients = {
"minecraft:stone_slab:3",
"botania:petal:0",
"minecraft:stone_slab:3",
[ 9 ] = "minecraft:cobblestone:0",
[ 10 ] = "minecraft:cobblestone:0",
[ 11 ] = "minecraft:cobblestone:0",
[ 6 ] = "minecraft:cobblestone:0",
},
count = 1,
},
[ "botania:petal:1" ] = {
ingredients = {
"botania:flower:1",
},
count = 2,
},
[ "botania:petal:3" ] = {
ingredients = {
"botania:flower:3",
},
count = 2,
},
[ "botania:petal:5" ] = {
ingredients = {
"botania:flower:5",
},
count = 12,
},
[ "botania:spreader:0" ] = {
ingredients = {
"botania:livingwood:0",
"botania:livingwood:0",
"botania:livingwood:0",
[ 9 ] = "botania:livingwood:0",
[ 10 ] = "botania:livingwood:0",
[ 11 ] = "botania:livingwood:0",
[ 5 ] = "botania:livingwood:0",
[ 6 ] = "botania:petal:4",
},
count = 1,
},
[ "botania:manaResource:6" ] = {
ingredients = {
"minecraft:tallgrass:1",
"minecraft:redstone:0",
},
count = 1,
},
[ "botania:manaResource:3" ] = {
ingredients = {
"botania:livingwood:0",
[ 5 ] = "botania:livingwood:0",
},
count = 1,
},
[ "botania:alchemyCatalyst:0" ] = {
ingredients = {
"botania:livingrock:0",
"minecraft:gold_ingot:0",
"botania:livingrock:0",
[ 9 ] = "botania:livingrock:0",
[ 10 ] = "minecraft:gold_ingot:0",
[ 11 ] = "botania:livingrock:0",
[ 5 ] = "minecraft:brewing_stand:0",
[ 6 ] = "botania:manaResource:1",
[ 7 ] = "minecraft:brewing_stand:0",
},
count = 1,
},
[ "botania:pool:0" ] = {
ingredients = {
"botania:livingrock:0",
[ 7 ] = "botania:livingrock:0",
[ 3 ] = "botania:livingrock:0",
[ 5 ] = "botania:livingrock:0",
[ 6 ] = "botania:livingrock:0",
},
count = 1,
},
[ "botania:pylon:0" ] = {
ingredients = {
[ 10 ] = "minecraft:gold_ingot:0",
[ 2 ] = "minecraft:gold_ingot:0",
[ 5 ] = "botania:manaResource:0",
[ 6 ] = "botania:manaResource:2",
[ 7 ] = "botania:manaResource:0",
},
count = 1,
},
[ "botania:manaResource:14" ] = {
ingredients = {
[ 10 ] = "botania:manaResource:5",
[ 2 ] = "botania:manaResource:5",
[ 5 ] = "botania:manaResource:5",
[ 6 ] = "botania:manaResource:4",
[ 7 ] = "botania:manaResource:5",
},
count = 1,
},
[ "botania:petal:0" ] = {
ingredients = {
"botania:flower:0",
},
count = 6,
},
[ "botania:livingwood:1" ] = {
ingredients = {
"botania:livingwood:0",
},
count = 4,
},
[ "botania:runeAltar:0" ] = {
ingredients = {
"botania:livingrock:0",
"botania:livingrock:0",
"botania:livingrock:0",
[ 5 ] = "botania:livingrock:0",
[ 6 ] = "botania:manaResource:1",
[ 7 ] = "botania:livingrock:0",
},
count = 1,
},
[ "botania:manaResource:18" ] = {
ingredients = {
"botania:manaResource:4",
},
count = 9,
},
[ "botania:petal:2" ] = {
ingredients = {
"botania:flower:2",
},
count = 2,
},
[ "botania:petal:7" ] = {
ingredients = {
"botania:flower:7",
},
count = 2,
},
[ "botania:petal:13" ] = {
ingredients = {
"botania:flower:13",
},
count = 4,
},
[ "botania:lens:10" ] = {
count = 1,
ingredients = {
"botania:lens:0",
"minecraft:gold_ingot:0",
[ 5 ] = "minecraft:iron_ingot:0",
},
maxCount = 1,
},
[ "botania:distributor:0" ] = {
ingredients = {
"botania:livingrock:0",
"botania:livingrock:0",
"botania:livingrock:0",
[ 9 ] = "botania:livingrock:0",
[ 10 ] = "botania:livingrock:0",
[ 11 ] = "botania:livingrock:0",
[ 5 ] = "botania:manaResource:0",
[ 7 ] = "botania:manaResource:0",
},
count = 1,
},
[ "botania:petal:12" ] = {
ingredients = {
"botania:flower:12",
},
count = 2,
},
}