From 238bfb8eca127c7f1841f92831b1f9eb6628813d Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Thu, 19 Feb 2015 11:32:41 -0800 Subject: [PATCH] Update IC2 with recipes for vanilla items --- .../experimental-2.2.663/mod-version.cg | 108 ++++++++++++++++-- .../mod_version_parser_v1.coffee | 8 +- 2 files changed, 103 insertions(+), 13 deletions(-) diff --git a/src/data/industrial_craft_2/experimental-2.2.663/mod-version.cg b/src/data/industrial_craft_2/experimental-2.2.663/mod-version.cg index f741a66a0..919aec4ca 100644 --- a/src/data/industrial_craft_2/experimental-2.2.663/mod-version.cg +++ b/src/data/industrial_craft_2/experimental-2.2.663/mod-version.cg @@ -3084,24 +3084,110 @@ group: Tools: Painters input: Dandelion Yellow, Painter pattern: ... 10. ... -update: Iron Ingot +update: Blaze Powder recipe: - input: Crushed Iron Ore, furnace fuel - pattern: .0. ... .1. - tools: Furnace + input: Blaze Rod + pattern: ... .0. ... + quantity: 5 + tools: Macerator +update: Bone Meal recipe: - input: Purified Crushed Iron Ore, furnace fuel - pattern: .0. ... .1. - tools: Furnace + input: Bone + pattern: ... .0. ... + quantity: 4 + tools: Macerator +update: Cobblestone recipe: - input: Iron Dust, furnace fuel - pattern: .0. ... .1. - tools: Furnace + input: Stone + pattern: ... .0. ... + tools: Macerator update: Diamond recipe: input: Coal Chunk pattern: ... .0. ... - tools: Compressor \ No newline at end of file + tools: Compressor + +update: Dirt + recipe: + input: Bio Chaff + pattern: ... .0. ... + tools: Macerator + +update: Flint + recipe: + input: Gravel + pattern: ... .0. ... + tools: Macerator + +update: Glowstone Dust + recipe: + input: Glowstone + pattern: ... .0. ... + quantity: 4 + tools: Macerator + +update: Gold Ingot + recipe: + input: Crushed Gold Ore, furnace fuel + pattern: .0. ... .1. + tools: Furnace + recipe: + input: Purified Crushed Gold Ore, furnace fuel + pattern: .0. ... .1. + tools: Furnace + recipe: + input: Gold Dust, furnace fuel + pattern: .0. ... .1. + tools: Furnace + +update: Iron Ingot + recipe: + input: Crushed Iron Ore, furnace fuel + pattern: .0. ... .1. + tools: Furnace + recipe: + input: Purified Crushed Iron Ore, furnace fuel + pattern: .0. ... .1. + tools: Furnace + recipe: + input: Iron Dust, furnace fuel + pattern: .0. ... .1. + tools: Furnace + +update: Nether Quartz + recipe: + input: Quartz Stairs + pattern: ... .0. ... + quantity: 6 + tools: Macerator + recipe: + input: Block of Quartz + pattern: ... .0. ... + quantity: 4 + tools: Macerator + +update: Sand + recipe: + input: Cobblestone + pattern: ... .0. ... + tools: Macerator + recipe: + input: Sandstone + pattern: ... .0. ... + tools: Macerator + +update: Snowball + recipe: + input: Ice + pattern: ... .0. ... + tools: Macerator + +update: String + recipe: + input: Wool + pattern: ... .0. ... + quantity: 2 + tools: Macerator \ No newline at end of file diff --git a/src/scripts/models/parser_versions/mod_version_parser_v1.coffee b/src/scripts/models/parser_versions/mod_version_parser_v1.coffee index fc80ed055..1147c3c1e 100644 --- a/src/scripts/models/parser_versions/mod_version_parser_v1.coffee +++ b/src/scripts/models/parser_versions/mod_version_parser_v1.coffee @@ -211,11 +211,15 @@ module.exports = class ModVersionParserV1 extends CommandParserVersionBase modVersion.eachGroup (group)=> @_unparseGroup builder, modVersion, group - for itemSlugText, recipeList of modVersion.findExternalRecipes() + externalRecipes = modVersion.findExternalRecipes() + keys = _.keys(externalRecipes).sort() + for itemSlugText in keys + recipeList = externalRecipes[itemSlugText] + builder .line 'update: ', modVersion.findName ItemSlug.slugify(itemSlugText) .indent() - .loop(recipeList, delimiter:'\n', onEach:(b, r)=> @_unparseRecipe(b, r)) + .loop(recipeList, delimiter:'', onEach:(b, r)=> @_unparseRecipe(b, r)) .outdent() .line()