Module:Crafting/Templates

return { -- It is suggested to prepend template tooltips in Module:Crafting/Data with 'T:' -- There, {s} and {o} can be used for insersion of (processed) new crafted item id and (original) new crafted item string respectively -- {0}, {1}, {2}... can be used for custom variable placeholders (Uses zero indexing) -- Placeholders can be used in any fields (id/any other params, or in any overrides below) -- Usage: ["Existing Crafted Item Name as a Template"] = {  ..., } -- Adding a crafted item using a string will be equivalent as this in tooltips: -- [] = { '' } -- * optionally, you may use {s} on any position on any custom keys to insert the Crafted Item String. -- You can override any of the above with a table. For example, to replace the output link: -- { , Olink =  } -- You can use that table to insert variables with 'vars'. For example, to indicate values for {0} and {1}: -- { , 'Green', '&a' } -- Available : -- id: Override crafted item id/key on ALL table values (refered as {o}, the original string). -- Note: the new id/key after replacement will be refered as {s}, the new crafted item id	['T:Enchanted'] = { {'Enchanted Acacia Wood', 'Acacia Wood'}, {'Enchanted Ancient Claw', 'Ancient Claw'}, {'Enchanted Baked Potato', 'Enchanted Potato'}, {'Enchanted Birch Wood', 'Birch Wood'}, {'Enchanted Blaze Powder', 'Blaze Rod'}, {'Enchanted Blaze Rod', 'Enchanted Blaze Powder'}, {'Enchanted Block of Coal', 'Enchanted Coal'}, {'Enchanted Bone', 'Bone'}, {'Enchanted Bone Block', 'Enchanted Bone'}, {'Enchanted Brown Mushroom', 'Brown Mushroom'}, {'Enchanted Cactus', 'Cactus Green'}, {'Enchanted Cactus Green', 'Cactus'}, {'Enchanted Carrot', 'Carrot'}, {'Enchanted Clay', 'Clay'}, {'Enchanted Clownfish', 'Clownfish'}, {'Enchanted Coal', 'Coal'}, {'Enchanted Cobblestone', 'Cobblestone'}, {'Enchanted Cocoa Bean', 'Cocoa Beans'}, {'Enchanted Cooked Fish', 'Enchanted Raw Fish'}, {'Enchanted Cooked Mutton', 'Enchanted Mutton'}, {'Enchanted Cooked Salmon', 'Enchanted Raw Salmon'}, {'Enchanted Dandelion', 'Dandelion'}, {'Enchanted Dark Oak Wood', 'Dark Oak Wood'}, {'Enchanted Diamond', 'Diamond'}, {'Enchanted Diamond Block', 'Enchanted Diamond'}, {'Enchanted Emerald', 'Emerald'}, {'Enchanted Emerald Block', 'Enchanted Emerald'}, {'Enchanted End Stone', 'End Stone'}, {'Enchanted Ender Pearl', 'Ender Pearl'}, {'Enchanted Flint', 'Flint'}, {'Enchanted Glowstone', 'Glowstone Dust'}, {'Enchanted Glowstone Dust', 'Glowstone'}, {'Enchanted Gold', 'Gold Ingot'}, {'Enchanted Gold Block', 'Enchanted Gold'}, {'Enchanted Grilled Pork', 'Enchanted Pork'}, {'Enchanted Gunpowder', 'Gunpowder'}, {'Enchanted Ice', 'Ice'}, {'Enchanted Iron', 'Iron Ingot'}, {'Enchanted Iron Block', 'Enchanted Iron'}, {'Enchanted Jungle Wood', 'Jungle Wood'}, {'Enchanted Lapis Lazuli', 'Lapis Lazuli'}, {'Enchanted Lapis Block', 'Enchanted Lapis Lazuli'}, {'Enchanted Lily Pad', 'Lily Pad'}, {'Enchanted Magma Cream', 'Magma Cream'}, {'Enchanted Melon', 'Melon'}, {'Enchanted Melon Block', 'Enchanted Melon'}, {'Enchanted Mithril', 'Mithril'}, {'Enchanted Mutton', 'Mutton'}, {'Enchanted Mycelium', 'Mycelium'}, {'Enchanted Mycelium Cube', 'Enchanted Mycelium'}, {'Enchanted Nether Wart', 'Enchanted Nether Wart'}, {'Enchanted Netherrack', 'Enchanted Netherrack'}, {'Enchanted Oak Wood', 'Enchanted Oak Wood'}, {'Enchanted Obsidian', 'Enchanted Obsidian'}, {'Enchanted Packed Ice', 'Enchanted Ice'}, {'Enchanted Poisonous Potato', 'Poisonous Potato'}, {'Enchanted Pork', 'Pork'}, {'Enchanted Potato', 'Potato'}, {'Enchanted Pufferfish', 'Pufferfish'}, {'Enchanted Pumpkin', 'Pumpkin'}, {'Enchanted Quartz', 'Quartz'}, {'Enchanted Quartz Block', 'Enchanted Quartz'}, {'Enchanted Rabbit Foot', 'Rabbit Foot'}, {'Enchanted Raw Beef', 'Raw Beef'}, {'Enchanted Raw Chicken', 'Raw Chicken'}, {'Enchanted Raw Fish', 'Raw Fish'}, {'Enchanted Raw Rabbit', 'Raw Rabbit'}, {'Enchanted Raw Salmon', 'Raw Salmon'}, {'Enchanted Red Mushroom', 'Red Mushroom'}, {'Enchanted Red Sand', 'Red Sand'}, {'Enchanted Red Sand Cube', 'Enchanted Red Sand'}, {'Enchanted Redstone', 'Redstone'}, {'Enchanted Redstone Block', 'Enchanted Redstone'}, {'Enchanted Rotten Flesh', 'Rotten Flesh'}, {'Enchanted Sand', 'Sand'}, {'Enchanted Seeds', 'Seeds'}, {'Enchanted Slime Block', 'Enchanted Slimeball'}, {'Enchanted Slimeball', 'Slimeball'}, {'Enchanted Snow Block', 'Snow Block'}, {'Enchanted Spider Eye', 'Spider Eye'}, {'Enchanted Spruce Wood', 'Spruce Wood'}, {'Enchanted String', 'String'}, {'Enchanted Sugar', 'Sugar Cane'}, {'Enchanted Sugar Cane', 'Enchanted Sugar'}, {'Enchanted Sulphur', 'Sulphur'}, {'Enchanted Sulphur Cube', 'Enchanted Sulphur'}, {'Enchanted Titanium', 'Titanium'}, {'Enchanted Wool', 'White Wool'}, {'Mutant Nether Wart', 'Enchanted Nether Wart'}, {'Polished Pumpkin', 'Enchanted Pumpkin'}, {'Stuffed Chili Pepper', 'Chili Pepper'}, {'Whipped Magma Cream', 'Enchanted Magma Cream'}, },

['T:Enchanted Sacks'] = { {'Large Enchanted Fishing Sack', 'Enchanted Pufferfish'}, {'Large Enchanted Husbandry Sack', 'Enchanted Mutton'}, },

['T:Pets'] = { {'Mystery Bat Pet', 'Enchanted Brown Mushroom, 8'}, {'Mystery Blaze Pet', 'Enchanted Blaze Rod, 8'}, {'Mystery Chicken Pet', 'Enchanted Raw Chicken, 8'}, {'Mystery Endermite Pet', 'Enchanted End Stone, 64'}, {'Mystery Horse Pet', 'Enchanted Leather'}, {'Mystery Mithril Golem Pet', 'Enchanted Mithril, 16'}, {'Mystery Ocelot Pet', 'Enchanted Jungle Wood, 64'}, {'Mystery Pig Pet', 'Raw Porkchop, 64'}, {'Mystery Pigman Pet', 'Enchanted Grilled Pork'}, {'Mystery Rabbit Pet', 'Raw Rabbit, 8'}, {'Mystery Sheep Pet', 'Enchanted Mutton, 64'}, {'Mystery Silverfish Pet', 'Enchanted Cobblestone, 8'}, {'Mystery Skeleton Pet', 'Enchanted Bone, 16'}, {'Mystery Spider Pet', 'Enchanted String, 64'}, {'Mystery Wither Skeleton Pet', 'Enchanted Block of Coal'}, {'Mystery Wolf Pet', 'Enchanted Spruce Wood, 64'}, {'Mystery Zombie Pet', 'Zombie\'s Heart'}, },

['T:Sacks'] = { {'Large Fishing Sack', 'Enchanted Pufferfish, 8', 'Medium Fishing Sack'}, {'Large Husbandry Sack', 'Enchanted Mutton, 8', 'Medium Husbandry Sack'}, {'Medium Fishing Sack', 'Enchanted Pufferfish, 4', 'Small Fishing Sack'}, {'Medium Husbandry Sack', 'Enchanted Mutton, 4', 'Small Husbandry Sack'}, {'Small Fishing Sack', 'Enchanted Pufferfish, 2', 'Enchanted Leather'}, {'Small Husbandry Sack', 'Enchanted Mutton, 2', 'Enchanted Leather'}, }, }