// --- Created by DreamMasterXXL ---
// --- Importing Stuff ---
import mods.gregtech.Assembler;
import mods.gregtech.FormingPress;
import mods.gregtech.Mixer;
import mods.gregtech.CuttingSaw;
// --- I18N ---
val _I18N_Lang = "en_US";
val I18N_Witchery_0 = "Witchery";
val I18N_Witchery_1 = "Anointing Paste";
val I18N_Witchery_2 = "[WI] Magical Paste";
val I18N_Witchery_3 = "Anointing Paste is smeared onto a regular cauldron to turn it into a Witches' Cauldron, ready for brewing interesting potions and spells. Simply place the Cauldron in the world, and then use the Anointing Paste on it to convert it into a Witches' Cauldron. Mixing different witchery seeds in a mixer with water will give anointing paste";
val I18N_Witchery_4 = "Witchery Oven";
val I18N_Witchery_5 = "[WI] The tales of Hansel and Gretel";
val I18N_Witchery_6 = "The witches oven, made infamous in the tale of Hansel and Gretel, is a very practical device for the would-be witch or warlock. While unable to smelt metals, the oven is particularly good at cooking food and making charcoal; cooking about 10% faster than a furnace. The second, and probably more important feature of a witches oven, is that it is able to capture the by-products produced in the cooking process. Activating the oven to show the interface screen, you will see an additional slot to the right of the fuel slot.";
val I18N_Witchery_7 = "Clay jars must be placed in this slot. If there are clay jars present when something is cooked, there is a chance a by-product will be captured in one of the jars. These by-products are important ingredients in other recipes. If there are no clay jars in the oven when something is cooked, no by-products will be produced.";
val I18N_Witchery_8 = "Attuned Stone";
val I18N_Witchery_9 = "[WI] Stone Tuning";
val I18N_Witchery_10 = "An attuned stone, is a diamond that has been infused with natural magic in a fiery medium.
Attuned stones can be used to link non-magical devices to the magical currents present in the world, and are one of the main ingredients in crafting distilleries, kettles, altar foci and poppet shelves.
The other main use of attuned stones is to act as a portable power source for circle magic rites, when a nearby altar is not available. To act in such a way, the attuned stone must first be charged with a Rite of Charging.";
val I18N_Witchery_11 = "Quartz Sphere";
val I18N_Witchery_12 = "[WI] Calling The Witches";
val I18N_Witchery_13 = "A Quartz Sphere is a component used in the Ritual production of a Crystal Ball.";
val I18N_Witchery_14 = "Candelabra";
val I18N_Witchery_15 = "[WI] It became light";
val I18N_Witchery_16 = "The candelabra is an upgrade for an altar that improves its recharge rate. The chalice will increase the recharge rate by 2x the base recharge rate.
The candelabra is an upgrade to a torch. Only one torch upgrade will have an effect on an altar.";
val I18N_Witchery_17 = "Witchery Kettle";
val I18N_Witchery_18 = "[WI] Hocus pocus";
val I18N_Witchery_19 = "Nothing invokes the image of witchcraft more than a bubbling witches kettle (or cauldron), which is used to make witches brews and later infusions.
A kettle must be set up in the correct way, before it may be used. Firstly, a fire must be set under the kettle (netherrack is best for this, but wood will do just as well). Next the kettle must be filled by using a Water-filled Bucket on it. Thirdly, the ingredients for the brew or infusion must be thrown into the kettle (the liquid will change color according to the recipe being used). Finally, a glass bottle must be used on the kettle to bottle the resulting brew.";
val I18N_Witchery_20 = "It is important to keep the fire going constantly while the recipe is being prepared, otherwise it will be ruined. Swirls coming from the kettle is a sign all is well, black smoke (and brown liquid) indicates the brew is ruined. When a brew is ruined, the kettle must be emptied with a glass bottle, or just filled with more water, and the whole process repeated. When a brew is complete, the liquid will be the color of the resulting brew and will splutter (in addition to white swirls). Some recipes will require magical energy from a nearby Altar before they are bottled. If the brew is bottled when insufficient energy is available, the brew will be ruined. Black swirls coming from the Kettle is a good sign there is not enough power.";
val I18N_Witchery_21 = "A kettle must be within 14 (to 16) blocks of an Altar in order to obtain power from it (it can obtain power only from a single altar).";
val I18N_Witchery_22 = "Witchery Spinning Wheel";
val I18N_Witchery_23 = "[WI] Round and round...";
val I18N_Witchery_24 = "A Spinning Wheel is a device for spinning materials into thread. It is a magical device that draws power from a nearby Altar. To start spinning, place the raw material in the slot on the left, any additional ingredients in the bottom slots and the process will begin as long as there is sufficient power.
The spinning wheel can be used to make Golden Thread, Fanciful Thread and Tormented Twine.";
val I18N_Witchery_25 = "Ruby Slippers";
val I18N_Witchery_26 = "[WI] Welcome home";
val I18N_Witchery_27 = "Ruby Slippers are worn in the foot slot and have the same durability and protection as leather boots. They can be enchanted like leather boots too. They cannot be dyed.
Once every 30 minutes, if a player is infused, if the player chants *There's no place like home* into the chat or uses the command: *chant there's no place like home
They will be teleported back to their spawn point in the same dimension, this ability costs 40% of the players total infused power (or 60% if the teleport is cross-dimensional).";
val I18N_Witchery_28 = "Alternatively, once every 60 seconds the player may drop a Bound Waystone near to themselves and use the above chant to teleport to the location of the waystone (the waystone will be consumed!).
This ability saves the need to draw a circle to use the Rite of Transposition. This ability costs 20% of the players total infused power (or 40% if the teleport is cross-dimensional).
Ruby Slippers will turn invisible when the player is invisible. This is only a visual change, mobs will still react as if normal shoes were worn. Other players however will not be able to see the slippers!";
val I18N_Witchery_29 = "Distillery";
val I18N_Witchery_30 = "[WI] Blub...Blub...";
val I18N_Witchery_31 = "A distillery used by a witch is a construct used for distilling magical ingredients. It is unlike a normal distillery, because it heats itself using energy obtained from a nearby altar, the distillery must be within about 14 (to 16) blocks of an altar to draw power from it, a small icon is shown in the interface if no power is available. One or two ingredients are distilled together and will result in up to four distillates; or resulting materials. A supply of clay jars is also needed to capture the some or all of the distillates. A distillery is crafted using a fair bit of Thaumium, a Cauldron, finely crafted pipes, clay jars, and an Attuned Stone.";
val I18N_Witchery_32 = "Ritual Chalk";
val I18N_Witchery_33 = "[WI] Drawing Signs";
val I18N_Witchery_34 = "Ritual chalk is used to draw each of the white ritual glyphs that make up a ritual circle. It is also used as an ingredient in crafting the other types of chalk. To draw a ritual glyph, use the chalk on the ground. Ritual glyphs of various types will be drawn, although they all have the same function. If you use the chalk on an existing ritual glyph, a new one will be drawn in its place.
Ritual chalk is crafted from Gypsum, Wood Ash and Tear of the Goddess.";
val I18N_Witchery_35 = "Ritual glyphs should be arranged in the roughly circular patterns as illustrated in the book Witchcraft: Circle Magic. With a heart glyph drawn with Golden Chalk in the center.";
val I18N_Witchery_36 = "Circle Talisman";
val I18N_Witchery_37 = "[WI] Oh Shiny Talisman";
val I18N_Witchery_38 = "A circle talisman allows a pattern of glyphs drawn onto the ground to be bound instead to the talisman (the glyphs will disappear) and later be redrawn at a new location when then talisman is used. This makes it very easy for the witch or wizard to prepare time consuming circles in advance for rapid deployment later.
To bind a circle talisman perform the Rite of Binding described in Witchcraft: Circle Magic with any pattern of circles.";
val I18N_Witchery_39 = "To deploy a bound talisman, right-click on the ground in a place with enough space to contain the pattern. You will hear a fail sound if there are obstructions and the circles cannot be placed.";
val I18N_Witchery_40 = "Witchery Altar";
val I18N_Witchery_41 = "[WI] Our Father";
val I18N_Witchery_42 = "An altar is a focal point to concentrate the magic present in the surrounding area into single usable source of power. Since witchcraft is a method to harness the power of nature, placing an altar in a location with little or no living things will yield very little magic to work with. There is a reason why most witches huts are found deep in dark forests or swamps!
An altar is created by placing six altar blocks in a 2x3 pattern; you will know it is correct when a red cloth appears over the top of the altar.";
val I18N_Witchery_43 = "Activating the altar by right-clicking on it will bring up a screen showing how much power the altar has collected, how much it can collect and its current recharge rate. It is important to check that there is sufficient available power to perform a given rite or use a distillery or kettle recipe.
The maximum amount of power available is determined by how many natural items are in the vicinity of the altar, dirt, grass, trees, plants, etc. all contribute; stone and sand do not. The important thing is to have a diverse mix of different plants, trees and crops (plants from other mods are supported to an extent as well).";
val I18N_Witchery_44 = "Chalice";
val I18N_Witchery_45 = "[WI] Cheers";
val I18N_Witchery_46 = "The chalice is an upgrade for an altar that improves the maximum amount of power an altar can hold. The chalice will increase the maximum power by 1x the base power rate.
The chalice upgrades to the Filled Chalice. Only one chalice upgrade will have an effect on an altar.";
val I18N_Witchery_47 = "Arthana";
val I18N_Witchery_48 = "[WI] Ritualistic Knife";
val I18N_Witchery_49 = "An Arthana is a ritualistic knife use by witches and warlocks to both collect special ingredients and to perform some rites. It has the same general properties as a golden sword (damage, enchantability, etc.), although it has the durability of an iron sword. It is repaired with a Gold Ingot.
The main purpose of the dagger is to collect specialist ingredients used in witchcraft, and to this end it will dramatically improve the chance of a mob dropping such ingredients (e.g. Wool of Bat, Tongue of Dog, etc.). It also gives a small chance of undead dropping Spectral Dust.";
val I18N_Witchery_50 = "When only using vanilla Minecraft with Witchery (and no other mods), an Arthana dagger is the only way to get a skull to drop when a skeleton is killed, the drop chance is about 5% (the skull is a key upgrade for an altar). The dagger even gives a very small probability for other head drops (from mobs and players). All drop chances are increased with the Looting enchantment.
An Arthana does not change the drop chance for Wither Skeleton Skulls, that will require the Looting enchantment as usual.
Some Circle Magic rites use an Arthana as a foci, the Arthana is not consumed in the proces.";
val I18N_Witchery_51 = "Warm Blood";
val I18N_Witchery_52 = "[WI] Mhhh warm Blood";
val I18N_Witchery_53 = "The Bottle of Warm Blood is an item that can be drunk by a player. If the player is a vampire, they will restore 2 droplets of blood to the blood pool. If the player is not a vampire they will get a hunger debuff. This item allows a players to quickly get blood, or it can be used as a ingredient for the Demonic Contract.";
val I18N_Witchery_54 = "Fume Funnel";
val I18N_Witchery_55 = "[WI] Upgrades Yea";
val I18N_Witchery_56 = "A fume funnel is an upgrade for the Witches Oven that increases that increases the speed (over a normal furnace) by an additional 10%, and increases the chances of a by-product being produced by a further 25%.The Fume Funnel must be positioned next to the left or right of the witches oven with the same facing. Up to two funnels can be attached to one oven. It is possible to place a funnel between two ovens for it to benefit both. A third fume funnel can also be placed on top of an oven to make it look better and also to increase its speed by a further 10%.";
val I18N_Witchery_57 = "Fume Filter";
val I18N_Witchery_58 = "[WI] More By-products";
val I18N_Witchery_59 = "A Fume Filter is used to upgrade a Fume Funnel to a Filtered Fume Funnel in order to increase the by-product chance of a Witches Oven.";
val I18N_Witchery_60 = "Filtered Fume Funnel";
val I18N_Witchery_61 = "[WI] Upgrades again? Yea!";
val I18N_Witchery_62 = "A Filtered Fume Funnel is an upgrade to the Fume Funnel that increases the chance of a by-product being produced by a connected witches Oven by a further 5% above the normal Fume Funnel (for a total of +10% cook speed and +30% by-product chance). As with a Fume Funnel, an oven can only accept two Fume Funnels (whether they are upgraded or not).";
val I18N_Witchery_63 = "Waystone";
val I18N_Witchery_64 = "[WI] Teleport";
val I18N_Witchery_65 = "A waystone is an etched piece of flint that is an important foci for circle magic involving transposition. A waystone can be bound to a specific location using the Rite of Binding described in the book, Witchcraft: Circle Magic.
A bound waystone can also be made by dropping up to eight into a hollow 3x3 circle of Otherwhere runes and waiting.";
// --- Remove Recipes ---
// --- Oven
recipes.remove();
// --- Fume Funnel
recipes.remove();
// --- Filtered Fume Funnel
recipes.remove();
// --- Fume Filter
recipes.remove();
// --- Null Catalyst duplication
recipes.removeShapeless(, [, , ]);
// --- Altar
recipes.remove();
// --- Candelabra
recipes.remove();
// --- Chalice
recipes.remove();
// --- Kettle
recipes.remove();
// --- Arthana
recipes.remove();
// --- Anointing Paste
recipes.remove();
// --- Quicklime
recipes.remove();
//recipes.remove();
//recipes.remove();
//recipes.remove();
//recipes.remove();
// --- Soft Clay Jar
recipes.remove();
// --- Clay Jar
//furnace.remove();
// --- Spinning Wheel
recipes.remove();
// --- Distillery
recipes.remove();
// --- Demonic Contract
recipes.remove();
// --- Bone Needle
recipes.remove();
// --- Book of Herbology
recipes.remove();
// --- Book of Biome
recipes.remove();
// --- Book of Conjuration and Fetishes
recipes.remove();
// --- Book of Collection Fumes
recipes.remove();
// --- Book of Symbology
recipes.remove();
// --- Book of Brews
recipes.remove();
// --- Book of Distillation
recipes.remove();
// --- Book of Circle Magic
recipes.remove();
// --- Book of Brews and Infusions
recipes.remove();
// --- Ritual Chalk
recipes.remove();
// --- Circle Talisman
recipes.remove();
// --- Earmuffs
recipes.remove();
// --- Attuned Stone
recipes.remove();
// --- Quartz Sphere
recipes.remove();
// --- Waystone
recipes.remove();
//Ruby slippers
recipes.remove();
//Snow Pressure Plate
recipes.remove();
// --- Adding Recipes ---
// --- Witchery Tab
mods.thaumcraft.Research.addTab("WITCHERY", "dreamcraft", "textures/thaumcraft/icon/icon_Witchery.png", "dreamcraft", "textures/thaumcraft/tab/tab_Witchery.png");
game.setLocalization("tc.research_category.WITCHERY", I18N_Witchery_0);
// --- Warmwood
recipes.addShaped(, [
[.transformDamage(), , null],
[, , ],
[null, , null]]);
// --- Null Catalyst doublication
recipes.addShapeless( * 2, [, , , ]);
// --- Quicklime
recipes.addShaped(, [
[null, null, ],
[null, null, null],
[null, null, null]]);
// -
recipes.addShaped(, [
[null, null, ],
[null, null, null],
[null, null, null]]);
// --- Demonic Contract
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Bone Needle
recipes.addShapeless( * 4, [, ]);
// --- Book of Herbology
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Biome
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Conjuration and Fetishes
recipes.addShaped(, [
[.withTag({WITCDamage: 0}), , ],
[, , ],
[, , ]]);
// --- Book of Collection Fumes
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Brews
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Symbology
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Distillation
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Circle Magic
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Book of Brews and Infusions
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Earmuffs
recipes.addShaped(, [
[, , ],
[, , ],
[, , ]]);
// --- Snow Pressure Plate
recipes.addShaped( * 6, [
[, , ],
[, , ],
[, , ]]);
// --- Machine Recipes ---
// --- Assembler
// --- Snow Pressure Plate
Assembler.addRecipe( * 2, [ * 2, , * 0], null, 100, 8);
// -
Assembler.addRecipe( * 2, [ * 2, , * 0], null, 100, 8);
// --- Cutting Saw
// --- Bone Needle
CuttingSaw.addRecipe( * 8, null, , * 32, 100, 24);
// -
CuttingSaw.addRecipe( * 8, null, , * 16, 100, 24);
// -
CuttingSaw.addRecipe( * 8, null, , * 8, 50, 24);
// --- Forming Press Recipes ---
// --- Soft Clay Jar
FormingPress.addRecipe( * 4, * 4, * 0, 400, 30);
// --- Mixer Recipes ---
// --- Anointing Paste
Mixer.addRecipe(, null, [, , , ], * 1000, 400, 120);
// --- Thaumcraft Recipes
// --- Anointing Paste
mods.thaumcraft.Research.addResearch("ANOINTINGPASTE", "WITCHERY", "fabrico 12, aqua 9, praecantatio 6", 0, -4 as int, 2, );
game.setLocalization("tc.research_name.ANOINTINGPASTE", I18N_Witchery_1);
game.setLocalization("tc.research_text.ANOINTINGPASTE", I18N_Witchery_2);
mods.thaumcraft.Research.addPage("ANOINTINGPASTE", "Witchery.research_page.ANOINTINGPASTE.1");
game.setLocalization("Witchery.research_page.ANOINTINGPASTE.1", I18N_Witchery_3);
// --- Oven
mods.thaumcraft.Research.addResearch("OVEN", "WITCHERY", "metallum 15, fabrico 12, instrumentum 9, machina 6", -2 as int, 2, 4, );
game.setLocalization("tc.research_name.OVEN", I18N_Witchery_4);
game.setLocalization("tc.research_text.OVEN", I18N_Witchery_5);
mods.thaumcraft.Research.addPage("OVEN", "Witchery.research_page.OVEN.1");
game.setLocalization("Witchery.research_page.OVEN.1", I18N_Witchery_6);
mods.thaumcraft.Research.addPage("OVEN", "Witchery.research_page.OVEN.2");
game.setLocalization("Witchery.research_page.OVEN.2", I18N_Witchery_7);
mods.thaumcraft.Arcane.addShaped("OVEN", , "aer 20, ignis 20, terra 20", [
[, , ],
[, , ],
[, , ]]);
mods.thaumcraft.Research.addArcanePage("OVEN", );
mods.thaumcraft.Warp.addToResearch("OVEN", 1);
// --- Attuned Stone
mods.thaumcraft.Research.addResearch("ATTUNEDSTONE", "WITCHERY", "instrumentum 15, vitreus 12, ordo 9, praecantatio 6", 2, 0, 4, );
game.setLocalization("tc.research_name.ATTUNEDSTONE", I18N_Witchery_8);
game.setLocalization("tc.research_text.ATTUNEDSTONE", I18N_Witchery_9);
mods.thaumcraft.Research.addPrereq("ATTUNEDSTONE", "OVEN", false);
mods.thaumcraft.Research.addPage("ATTUNEDSTONE", "Witchery.research_page.ATTUNEDSTONE");
game.setLocalization("Witchery.research_page.ATTUNEDSTONE", I18N_Witchery_10);
mods.thaumcraft.Arcane.addShaped("ATTUNEDSTONE", , "aer 30, ignis 30, terra 30, ordo 30", [
[null, , null],
[null, , null],
[null, , null]]);
mods.thaumcraft.Research.addArcanePage("ATTUNEDSTONE", );
// --- Quartz Sphere
mods.thaumcraft.Research.addResearch("QUARTZSPHERE", "WITCHERY", "vitreus 15, instrumentum 12, auram 9, ordo 6, praecantatio 3", 2, -2 as int, 4, );
game.setLocalization("tc.research_name.QUARTZSPHERE", I18N_Witchery_11);
game.setLocalization("tc.research_text.QUARTZSPHERE", I18N_Witchery_12);
mods.thaumcraft.Research.addPrereq("QUARTZSPHERE", "ATTUNEDSTONE", false);
mods.thaumcraft.Research.addPage("QUARTZSPHERE", "Witchery.research_page.QUARTZSPHERE");
game.setLocalization("Witchery.research_page.QUARTZSPHERE", I18N_Witchery_13);
mods.thaumcraft.Arcane.addShaped("QUARTZSPHERE", , "aer 25, ignis 25, terra 25, ordo 25", [
[, , ],
[, , ],
[, , ]]);
mods.thaumcraft.Research.addArcanePage("QUARTZSPHERE", );
// --- Candelabra
mods.thaumcraft.Research.addResearch("CANDELABRA", "WITCHERY", "praecantatio 15, lux 12, ordo 9, ignis 6", 0, -2 as int, 4, );
game.setLocalization("tc.research_name.CANDELABRA", I18N_Witchery_14);
game.setLocalization("tc.research_text.CANDELABRA", I18N_Witchery_15);
mods.thaumcraft.Research.addPrereq("CANDELABRA", "ALTAR", false);
mods.thaumcraft.Research.addPrereq("CANDELABRA", "TALLOW", false);
mods.thaumcraft.Research.addPrereq("CANDELABRA", "ATTUNEDSTONE", false);
mods.thaumcraft.Research.setConcealed("CANDELABRA", true);
mods.thaumcraft.Research.addPage("CANDELABRA", "Witchery.research_page.CANDELABRA");
game.setLocalization("Witchery.research_page.CANDELABRA", I18N_Witchery_16);
mods.thaumcraft.Arcane.addShaped("CANDELABRA", , "terra 5, ignis 10, ordo 5", [
[, , ],
[, , ],
[, , ]]);
mods.thaumcraft.Research.addArcanePage("CANDELABRA", );
// --- Kettle
mods.thaumcraft.Research.addResearch("KETTLE", "WITCHERY", "metallum 15, fabrico 12, instrumentum 9, ignis 6", 4, 0, 4, );
game.setLocalization("tc.research_name.KETTLE", I18N_Witchery_17);
game.setLocalization("tc.research_text.KETTLE", I18N_Witchery_18);
mods.thaumcraft.Research.addPrereq("KETTLE", "ATTUNEDSTONE", false);
mods.thaumcraft.Research.setConcealed("KETTLE", true);
mods.thaumcraft.Research.addPage("KETTLE", "Witchery.research_page.KETTLE.1");
game.setLocalization("Witchery.research_page.KETTLE.1", I18N_Witchery_19);
mods.thaumcraft.Research.addPage("KETTLE", "Witchery.research_page.KETTLE.2");
game.setLocalization("Witchery.research_page.KETTLE.2", I18N_Witchery_20);
mods.thaumcraft.Research.addPage("KETTLE", "Witchery.research_page.KETTLE.3");
game.setLocalization("Witchery.research_page.KETTLE.3", I18N_Witchery_21);
mods.thaumcraft.Arcane.addShaped("KETTLE", , "aer 40, ignis 40, aqua 40, perditio 40", [
[, ,