minecraft server init
This commit is contained in:
22
scripts/NOTES.md
Normal file
22
scripts/NOTES.md
Normal file
@ -0,0 +1,22 @@
|
||||
# SevTech Ages: Script Notes
|
||||
|
||||
### Script Priorities
|
||||
List of priorities used for creation of ZenScript files to ensure the load order is handled correctly.
|
||||
|
||||
Standard scripts should **not** use a priority as they'll load after the main ones are loaded and ready
|
||||
for usage. Such as OreDict/Classes and global vars for quick access.
|
||||
|
||||
|
||||
| Number/Range | Type | Notes |
|
||||
| :---------------: | :-------------------: | :---------------: |
|
||||
| 4000 | Pre Init |
|
||||
| 3500 - 3999 | Stage Setup |
|
||||
| 2601 - 3499 | Classes |
|
||||
| 2501 - 2600 | Ore Dict (Pre Unify) |
|
||||
| 2450 - 2500 | Unification |
|
||||
| 2401 - 2549 | Ore Dict (Post Unify) |
|
||||
| 2301 - 2400 | |
|
||||
| 2300 | Class Registering |
|
||||
| 0 - 2299 | Normal Scripts |
|
||||
| -50 | Mod Inter Loader | Init Script |
|
||||
| -100 | Run Script | **DON'T CHANGE** |
|
22
scripts/contenttweaker/fluids.zs
Normal file
22
scripts/contenttweaker/fluids.zs
Normal file
@ -0,0 +1,22 @@
|
||||
#loader contenttweaker
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Fluids Script.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.contenttweaker.Color;
|
||||
import mods.contenttweaker.Fluid;
|
||||
import mods.contenttweaker.VanillaFactory;
|
||||
|
||||
var liquidSlime = VanillaFactory.createFluid("slime", Color.fromHex("3f5329"));
|
||||
liquidSlime.vaporize = true;
|
||||
liquidSlime.viscosity = 3000;
|
||||
liquidSlime.register();
|
||||
|
||||
var liquidCheese = VanillaFactory.createFluid("cheese", Color.fromHex("FFE000"));
|
||||
liquidCheese.density = 6000;
|
||||
liquidCheese.viscosity = 1000;
|
||||
liquidCheese.register();
|
53
scripts/contenttweaker/materials/init.zs
Normal file
53
scripts/contenttweaker/materials/init.zs
Normal file
@ -0,0 +1,53 @@
|
||||
#loader contenttweaker
|
||||
#priority 4000
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Base Materials Script.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.contenttweaker.Color;
|
||||
import mods.contenttweaker.Material;
|
||||
import mods.contenttweaker.MaterialSystem;
|
||||
|
||||
static materials as Material[string] = {
|
||||
"aquamarine": MaterialSystem.getMaterialBuilder().setName("Aquamarine").setColor(2009855).build(),
|
||||
"ardite": MaterialSystem.getMaterialBuilder().setName("Ardite").setColor(Color.fromHex("d14210")).build(),
|
||||
"bronze": MaterialSystem.getMaterialBuilder().setName("Bronze").setColor(13467442).build(),
|
||||
"cobalt": MaterialSystem.getMaterialBuilder().setName("Cobalt").setColor(18347).build(),
|
||||
"compressedIron": MaterialSystem.getMaterialBuilder().setName("Compressed Iron").setColor(8947848).build(),
|
||||
"copper": MaterialSystem.getMaterialBuilder().setName("Copper").setColor(15766817).build(),
|
||||
"coralium": MaterialSystem.getMaterialBuilder().setName("Coralium").setColor(Color.fromHex("358b95")).build(),
|
||||
"diamond": MaterialSystem.getMaterialBuilder().setName("Diamond").setColor(9237730).build(),
|
||||
"ender": MaterialSystem.getMaterialBuilder().setName("Ender Pearl").setColor(2869678).build(),
|
||||
"enhancedGalgadorian": MaterialSystem.getMaterialBuilder().setName("Enhanced Galgadorian").setColor(9850751).build(),
|
||||
"fiery": MaterialSystem.getMaterialBuilder().setName("Fiery").setColor(2891807).setHasEffect(true).build(),
|
||||
"galgadorian": MaterialSystem.getMaterialBuilder().setName("Galgadorian").setColor(11625595).build(),
|
||||
"glowstone": MaterialSystem.getMaterialBuilder().setName("Glowstone").setColor(16708616).build(),
|
||||
"gold": MaterialSystem.getMaterialBuilder().setName("Gold").setColor(16776971).build(),
|
||||
"inferium": MaterialSystem.getMaterialBuilder().setName("Inferium").setColor(Color.fromHex("718a00")).build(),
|
||||
"invar": MaterialSystem.getMaterialBuilder().setName("Invar").setColor(9872012).build(),
|
||||
"iron": MaterialSystem.getMaterialBuilder().setName("Iron").setColor(14211288).build(),
|
||||
"lead": MaterialSystem.getMaterialBuilder().setName("Lead").setColor(5658219).build(),
|
||||
"meteoricIron": MaterialSystem.getMaterialBuilder().setName("Meteoric Iron").setColor(Color.fromHex("aba398")).build(),
|
||||
"modularium": MaterialSystem.getMaterialBuilder().setName("Modularium").setColor(16730368).build(),
|
||||
"naphtha": MaterialSystem.getMaterialBuilder().setName("Naphtha").setColor(10703708).build(),
|
||||
"osmium": MaterialSystem.getMaterialBuilder().setName("Osmium").setColor(Color.fromHex("aabbd2")).build(),
|
||||
"plastic": MaterialSystem.getMaterialBuilder().setName("Plastic").setColor(16777215).build(),
|
||||
"platinum": MaterialSystem.getMaterialBuilder().setName("Platinum").setColor(15066338).build(),
|
||||
"propene": MaterialSystem.getMaterialBuilder().setName("Propene").setColor(8026746).build(),
|
||||
"prosperity": MaterialSystem.getMaterialBuilder().setName("Prosperity").setColor(Color.fromHex("a5caca")).build(),
|
||||
"redstone": MaterialSystem.getMaterialBuilder().setName("Redstone").setColor(9895936).build(),
|
||||
"redstoneAlloy": MaterialSystem.getMaterialBuilder().setName("Redstone Alloy").setColor(15157577).build(),
|
||||
"reinforcedMetal": MaterialSystem.getMaterialBuilder().setName("Reinforced Metal").setColor(7643841).build(),
|
||||
"silicon": MaterialSystem.getMaterialBuilder().setName("Silicon").setColor(Color.fromHex("141414")).build(),
|
||||
"silver": MaterialSystem.getMaterialBuilder().setName("Silver").setColor(15592941).build(),
|
||||
"spacePlatinum": MaterialSystem.getMaterialBuilder().setName("Space Platinum").setColor(Color.fromHex("6e757b")).build(),
|
||||
"steel": MaterialSystem.getMaterialBuilder().setName("Steel").setColor(4408907).build(),
|
||||
"steeleaf": MaterialSystem.getMaterialBuilder().setName("Steeleaf").setColor(4283598394).build(),
|
||||
"stone": MaterialSystem.getMaterialBuilder().setName("Stone").setColor(11117475).build(),
|
||||
"titanium": MaterialSystem.getMaterialBuilder().setName("Titanium").setColor(Color.fromHex("1c232e")).build(),
|
||||
"tin": MaterialSystem.getMaterialBuilder().setName("Tin").setColor(10275286).build()
|
||||
};
|
117
scripts/contenttweaker/materials/largeScale.zs
Normal file
117
scripts/contenttweaker/materials/largeScale.zs
Normal file
@ -0,0 +1,117 @@
|
||||
#loader contenttweaker
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Large Scale Script.
|
||||
|
||||
This script is intended for large scale registration.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.contenttweaker.Material;
|
||||
import mods.contenttweaker.MaterialPartData;
|
||||
|
||||
import scripts.contenttweaker.materials.utils.addDefaultMoltenData;
|
||||
import scripts.contenttweaker.materials.utils.addDefaultOreData;
|
||||
import scripts.contenttweaker.materials.init.materials;
|
||||
|
||||
function init() {
|
||||
// ==================================
|
||||
// Add default parts for materials
|
||||
var materailsForDefaultParts as Material[] = [
|
||||
materials.bronze,
|
||||
materials.cobalt,
|
||||
materials.compressedIron,
|
||||
materials.copper,
|
||||
materials.enhancedGalgadorian,
|
||||
materials.fiery,
|
||||
materials.galgadorian,
|
||||
materials.lead,
|
||||
materials.modularium,
|
||||
materials.reinforcedMetal,
|
||||
materials.silver,
|
||||
materials.steeleaf,
|
||||
materials.tin
|
||||
];
|
||||
|
||||
var defaultPartNames as string[] = [
|
||||
"gear",
|
||||
"plate",
|
||||
"rod"
|
||||
];
|
||||
|
||||
for i, metal in materailsForDefaultParts {
|
||||
metal.registerParts(defaultPartNames);
|
||||
}
|
||||
|
||||
// ==================================
|
||||
// Apply Molten to Materials
|
||||
var fluidMaterials as Material[] = [
|
||||
materials.enhancedGalgadorian,
|
||||
materials.galgadorian,
|
||||
materials.invar,
|
||||
materials.modularium,
|
||||
materials.osmium,
|
||||
materials.platinum,
|
||||
materials.redstoneAlloy,
|
||||
materials.reinforcedMetal,
|
||||
materials.steeleaf
|
||||
];
|
||||
|
||||
for i, fluid in fluidMaterials {
|
||||
var fluidMaterialsData as MaterialPartData = fluid.registerPart("molten").getData();
|
||||
addDefaultMoltenData(fluidMaterialsData);
|
||||
}
|
||||
|
||||
// ==================================
|
||||
// Custom gears to keep the same look
|
||||
var gearMaterialList as Material[] = [
|
||||
materials.diamond,
|
||||
materials.gold,
|
||||
materials.iron,
|
||||
materials.steel
|
||||
];
|
||||
|
||||
for material in gearMaterialList {
|
||||
material.registerPart("gear");
|
||||
}
|
||||
|
||||
// ==================================
|
||||
// Ore Samples
|
||||
var oreSampleMaterials as Material[] = [
|
||||
materials.osmium,
|
||||
materials.silicon
|
||||
];
|
||||
|
||||
var oreSampleDrops as string[Material] = {
|
||||
materials.osmium: "geolosys:cluster:12",
|
||||
materials.silicon: "galacticraftcore:basic_item:2"
|
||||
};
|
||||
|
||||
for material in oreSampleMaterials {
|
||||
var sampleData as MaterialPartData = material.registerPart("ore_sample").getData();
|
||||
sampleData.addDataValue("drops", oreSampleDrops[material]);
|
||||
}
|
||||
|
||||
// ==================================
|
||||
// Clusters
|
||||
var clusters as Material[] = [
|
||||
materials.titanium
|
||||
];
|
||||
|
||||
for material in clusters {
|
||||
material.registerPart("cluster");
|
||||
}
|
||||
|
||||
// ==================================
|
||||
// Dust
|
||||
var dusts as Material[] = [
|
||||
materials.ardite,
|
||||
materials.cobalt
|
||||
];
|
||||
|
||||
for material in dusts {
|
||||
material.registerPart("dust");
|
||||
}
|
||||
}
|
147
scripts/contenttweaker/materials/misc.zs
Normal file
147
scripts/contenttweaker/materials/misc.zs
Normal file
@ -0,0 +1,147 @@
|
||||
#loader contenttweaker
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Misc Script.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.contenttweaker.Material;
|
||||
import mods.contenttweaker.MaterialPartData;
|
||||
|
||||
import scripts.contenttweaker.materials.utils.addDefaultMoltenData;
|
||||
import scripts.contenttweaker.materials.utils.addDefaultOreData;
|
||||
import scripts.contenttweaker.materials.init.materials;
|
||||
|
||||
function init() {
|
||||
// Stone Nugget
|
||||
materials.stone.registerPart("nugget");
|
||||
|
||||
// Aquamarine Ore
|
||||
var oreAquamarineData = materials.aquamarine.registerPart("ore").getData();
|
||||
addDefaultOreData(oreAquamarineData);
|
||||
oreAquamarineData.addDataValue("drops", "astralsorcery:itemcraftingcomponent");
|
||||
oreAquamarineData.addDataValue("harvestLevel", "1");
|
||||
|
||||
// Osmium Ore
|
||||
// Use this over Mekanism's so we can give it the default behavior of Geolosys
|
||||
var oreOsmiumData = materials.osmium.registerPart("ore").getData();
|
||||
addDefaultOreData(oreOsmiumData);
|
||||
oreOsmiumData.addDataValue("drops", "geolosys:cluster:12");
|
||||
|
||||
// Moon Iron Ore
|
||||
var oreIronData = materials.iron.registerPart("ore").getData();
|
||||
addDefaultOreData(oreIronData);
|
||||
oreIronData.addDataValue("variants", "galacticraftcore:bottom");
|
||||
oreIronData.addDataValue("drops", "geolosys:cluster");
|
||||
|
||||
// Mars Gold Ore
|
||||
var oreGoldData = materials.gold.registerPart("ore").getData();
|
||||
addDefaultOreData(oreGoldData);
|
||||
oreGoldData.addDataValue("variants", "galacticraftplanets:bottom");
|
||||
oreGoldData.addDataValue("drops", "geolosys:cluster:1");
|
||||
|
||||
// Kelper 22b Inferium Ore
|
||||
var oreInferiumData = materials.inferium.registerPart("ore").getData();
|
||||
addDefaultOreData(oreInferiumData);
|
||||
oreInferiumData.addDataValue("variants", "extraplanets:kepler22b_stone");
|
||||
oreInferiumData.addDataValue("drops", "mysticalagriculture:crafting");
|
||||
|
||||
// Kelper 22b Prosperity Ore
|
||||
var oreProsperityData = materials.prosperity.registerPart("ore").getData();
|
||||
addDefaultOreData(oreProsperityData);
|
||||
oreProsperityData.addDataValue("variants", "extraplanets:kepler22b_stone");
|
||||
oreProsperityData.addDataValue("drops", "mysticalagriculture:crafting:5");
|
||||
|
||||
// Liquid Ender Pearl
|
||||
var fluidEnderData = materials.ender.registerPart("molten").getData();
|
||||
addDefaultMoltenData(fluidEnderData);
|
||||
|
||||
// Liquid Titanium
|
||||
var fluidTitaniumData = materials.titanium.registerPart("molten").getData();
|
||||
fluidTitaniumData.addDataValue("density", "8000");
|
||||
fluidTitaniumData.addDataValue("viscosity", "3000");
|
||||
fluidTitaniumData.addDataValue("temperature", "1000");
|
||||
fluidTitaniumData.addDataValue("vaporize", "false");
|
||||
|
||||
// Liquid Redstone
|
||||
var fluidRedstoneData = materials.redstone.registerPart("molten").getData();
|
||||
fluidRedstoneData.addDataValue("density", "8000");
|
||||
fluidRedstoneData.addDataValue("viscosity", "3000");
|
||||
fluidRedstoneData.addDataValue("temperature", "1000");
|
||||
fluidRedstoneData.addDataValue("vaporize", "false");
|
||||
|
||||
// Liquid Glowstone
|
||||
var fluidGlowstoneData = materials.glowstone.registerPart("molten").getData();
|
||||
fluidGlowstoneData.addDataValue("density", "8000");
|
||||
fluidGlowstoneData.addDataValue("viscosity", "3000");
|
||||
fluidGlowstoneData.addDataValue("temperature", "1000");
|
||||
fluidGlowstoneData.addDataValue("vaporize", "false");
|
||||
|
||||
// Naphtha
|
||||
var fluidNaphthaData = materials.naphtha.registerPart("molten").getData();
|
||||
fluidNaphthaData.addDataValue("density", "4000");
|
||||
fluidNaphthaData.addDataValue("viscosity", "3000");
|
||||
|
||||
// Liquid Plastic
|
||||
var fluidPlasticData = materials.plastic.registerPart("molten").getData();
|
||||
fluidPlasticData.addDataValue("density", "4000");
|
||||
fluidPlasticData.addDataValue("viscosity", "3000");
|
||||
|
||||
// Propene "Gas"
|
||||
var fluidPropeneData = materials.propene.registerPart("molten").getData();
|
||||
fluidPropeneData.addDataValue("density", "4000");
|
||||
fluidPropeneData.addDataValue("viscosity", "3000");
|
||||
|
||||
// Redstone Alloy
|
||||
var redstoneAlloyParts as string[] = [
|
||||
"block",
|
||||
"gear",
|
||||
"ingot",
|
||||
"plate",
|
||||
"rod"
|
||||
];
|
||||
materials.redstoneAlloy.registerParts(redstoneAlloyParts);
|
||||
|
||||
// Platinum
|
||||
var platinumParts as string[] = [
|
||||
"block",
|
||||
"dust",
|
||||
"gear",
|
||||
"ingot",
|
||||
"plate",
|
||||
"rod"
|
||||
];
|
||||
materials.platinum.registerParts(platinumParts);
|
||||
|
||||
// Invar
|
||||
var invarParts as string[] = [
|
||||
"block",
|
||||
"gear",
|
||||
"ingot",
|
||||
"plate",
|
||||
"rod"
|
||||
];
|
||||
materials.invar.registerParts(invarParts);
|
||||
|
||||
// Space Platinum
|
||||
materials.spacePlatinum.registerPart("dust");
|
||||
|
||||
// Meteoric Iron
|
||||
materials.meteoricIron.registerPart("dust");
|
||||
|
||||
// NOTE! Reduction = Footwear, Leggins, Chestplate, Headslot
|
||||
|
||||
// Copper Armor
|
||||
var copperArmor = materials.copper.registerPart("armor").getData();
|
||||
copperArmor.addDataValue("durability", "375");
|
||||
copperArmor.addDataValue("reduction", "1,3,4,1");
|
||||
copperArmor.addDataValue("toughness", "0");
|
||||
|
||||
// Bronze Armor
|
||||
var bronzeArmor = materials.bronze.registerPart("armor").getData();
|
||||
bronzeArmor.addDataValue("durability", "450");
|
||||
bronzeArmor.addDataValue("reduction", "2,4,5,2");
|
||||
bronzeArmor.addDataValue("toughness", "0");
|
||||
}
|
26
scripts/contenttweaker/materials/utils.zs
Normal file
26
scripts/contenttweaker/materials/utils.zs
Normal file
@ -0,0 +1,26 @@
|
||||
#loader contenttweaker
|
||||
#priority 4000
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Utils Script.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.contenttweaker.MaterialPartData;
|
||||
|
||||
function addDefaultMoltenData(moltenData as MaterialPartData) {
|
||||
moltenData.addDataValue("density", "4000");
|
||||
moltenData.addDataValue("viscosity", "3000");
|
||||
moltenData.addDataValue("temperature", "550");
|
||||
moltenData.addDataValue("vaporize", "false");
|
||||
}
|
||||
|
||||
function addDefaultOreData(oreData as MaterialPartData) {
|
||||
oreData.addDataValue("variants", "minecraft:stone");
|
||||
oreData.addDataValue("hardness", "5");
|
||||
oreData.addDataValue("resistance", "15");
|
||||
oreData.addDataValue("harvestTool", "pickaxe");
|
||||
oreData.addDataValue("harvestLevel", "2");
|
||||
}
|
14
scripts/contenttweaker/postInit.zs
Normal file
14
scripts/contenttweaker/postInit.zs
Normal file
@ -0,0 +1,14 @@
|
||||
#loader contenttweaker
|
||||
#priority -100
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Post Init Script.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
// ==================================
|
||||
// Initialize Materials
|
||||
scripts.contenttweaker.materials.largeScale.init();
|
||||
scripts.contenttweaker.materials.misc.init();
|
17
scripts/contenttweaker/vanillaFactory.zs
Normal file
17
scripts/contenttweaker/vanillaFactory.zs
Normal file
@ -0,0 +1,17 @@
|
||||
#loader contenttweaker
|
||||
|
||||
/*
|
||||
SevTech: Ages ContentTweaker Vanilla Factory Script.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.contenttweaker.VanillaFactory;
|
||||
import mods.contenttweaker.Item;
|
||||
|
||||
var creeperTear as Item = VanillaFactory.createItem("creeper_tear");
|
||||
creeperTear.register();
|
||||
|
||||
var theOj as Item = VanillaFactory.createItem("the_oj");
|
||||
theOj.register();
|
123
scripts/crafttweaker/_globals/base.zs
Normal file
123
scripts/crafttweaker/_globals/base.zs
Normal file
@ -0,0 +1,123 @@
|
||||
#priority 4100
|
||||
|
||||
/*
|
||||
SevTech: Ages Global Base Script
|
||||
|
||||
This script is for creating globals to be referenced in other scripts. Should ONLY contain
|
||||
useful globals nothing like cobblestone or sticks *cough* Darkosto >.<
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
import mods.betterwithmods.MiniBlocks;
|
||||
|
||||
// Variables for Better with Mods miniBlock siding
|
||||
global sidingHardenedclay as IIngredient = MiniBlocks.getMiniBlock("siding", <ore:blockStainedHardenedClay>);
|
||||
global mouldingHardenedclay as IIngredient = MiniBlocks.getMiniBlock("moulding", <ore:blockStainedHardenedClay>);
|
||||
global cornerHardenedclay as IIngredient = MiniBlocks.getMiniBlock("corner", <ore:blockStainedHardenedClay>);
|
||||
global sidingSandstone as IIngredient = MiniBlocks.getMiniBlock("siding", <ore:sandstone>);
|
||||
global mouldingSandstone as IIngredient = MiniBlocks.getMiniBlock("moulding", <ore:sandstone>);
|
||||
global cornerSandstone as IIngredient = MiniBlocks.getMiniBlock("corner", <ore:sandstone>);
|
||||
global sidingWood as IIngredient = MiniBlocks.getMiniBlock("siding", <ore:plankWood>);
|
||||
global mouldingWood as IIngredient = MiniBlocks.getMiniBlock("moulding", <ore:plankWood>);
|
||||
global cornerWood as IIngredient = MiniBlocks.getMiniBlock("corner", <ore:plankWood>);
|
||||
global sidingAcacia as IIngredient = MiniBlocks.getMiniBlock("siding", <minecraft:planks:4>);
|
||||
global sidingBirch as IIngredient = MiniBlocks.getMiniBlock("siding", <minecraft:planks:2>);
|
||||
global sidingDarkoak as IIngredient = MiniBlocks.getMiniBlock("siding", <minecraft:planks:5>);
|
||||
global sidingJungle as IIngredient = MiniBlocks.getMiniBlock("siding", <minecraft:planks:3>);
|
||||
global sidingOak as IIngredient = MiniBlocks.getMiniBlock("siding", <minecraft:planks:0>);
|
||||
global sidingSpruce as IIngredient = MiniBlocks.getMiniBlock("siding", <minecraft:planks:1>);
|
||||
|
||||
// The filled bucket "main" item
|
||||
global buckets as IItemStack[] = [
|
||||
<ceramics:clay_bucket:0>,
|
||||
<forge:bucketfilled:0>,
|
||||
<thebetweenlands:bl_bucket:1>,
|
||||
<thebetweenlands:bl_bucket:0>
|
||||
];
|
||||
|
||||
global tanks as IItemStack[] = [
|
||||
<immersiveengineering:jerrycan:0>
|
||||
];
|
||||
|
||||
// Minecraft Dye Id table (Kinda says what it's used for Kappa)
|
||||
global minecraftDyeIdTable as string[int] = {
|
||||
0: "black",
|
||||
1: "red",
|
||||
2: "green",
|
||||
3: "brown",
|
||||
4: "blue",
|
||||
5: "purple",
|
||||
6: "cyan",
|
||||
7: "lightGray",
|
||||
8: "gray",
|
||||
9: "pink",
|
||||
10: "lime",
|
||||
11: "yellow",
|
||||
12: "lightBlue",
|
||||
13: "magenta",
|
||||
14: "orange",
|
||||
15: "white"
|
||||
};
|
||||
|
||||
global minecraftDyeIdTableAlternate as string[int] = {
|
||||
0: "black",
|
||||
1: "red",
|
||||
2: "green",
|
||||
3: "brown",
|
||||
4: "blue",
|
||||
5: "purple",
|
||||
6: "cyan",
|
||||
7: "silver",
|
||||
8: "gray",
|
||||
9: "pink",
|
||||
10: "lime",
|
||||
11: "yellow",
|
||||
12: "lightBlue",
|
||||
13: "magenta",
|
||||
14: "orange",
|
||||
15: "white"
|
||||
};
|
||||
|
||||
// Array listing containing all the Vanilla Dyes.
|
||||
global minecraftDyes as IItemStack[] = [
|
||||
<minecraft:dye:1>,
|
||||
<minecraft:dye:2>,
|
||||
<minecraft:dye:3>,
|
||||
<minecraft:dye:5>,
|
||||
<minecraft:dye:6>,
|
||||
<minecraft:dye:7>,
|
||||
<minecraft:dye:8>,
|
||||
<minecraft:dye:9>,
|
||||
<minecraft:dye:10>,
|
||||
<minecraft:dye:11>,
|
||||
<minecraft:dye:12>,
|
||||
<minecraft:dye:13>,
|
||||
<minecraft:dye:14>,
|
||||
<minecraft:dye:15>,
|
||||
<minecraft:dye:0>
|
||||
];
|
||||
|
||||
// Parachute Dye Id table. Because they need to be special and use their own order...
|
||||
global parachuteDyeIdTable as string[int] = {
|
||||
0: "white",
|
||||
1: "black",
|
||||
2: "lightBlue",
|
||||
3: "lime",
|
||||
4: "brown",
|
||||
5: "blue",
|
||||
6: "gray",
|
||||
7: "green",
|
||||
8: "lightGray",
|
||||
9: "magenta",
|
||||
10: "orange",
|
||||
11: "pink",
|
||||
12: "purple",
|
||||
13: "red",
|
||||
14: "cyan",
|
||||
15: "yellow"
|
||||
};
|
219
scripts/crafttweaker/_globals/chiselBlocks.zs
Normal file
219
scripts/crafttweaker/_globals/chiselBlocks.zs
Normal file
@ -0,0 +1,219 @@
|
||||
#priority 4100
|
||||
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
global chiselBlocks as IItemStack[][IOreDictEntry] = {
|
||||
<ore:blockAluminum>: [
|
||||
<chisel:blockaluminum:0>,
|
||||
<chisel:blockaluminum:1>,
|
||||
<chisel:blockaluminum:2>,
|
||||
<chisel:blockaluminum:3>,
|
||||
<chisel:blockaluminum:4>,
|
||||
<chisel:blockaluminum:5>,
|
||||
<chisel:blockaluminum:6>
|
||||
],
|
||||
<ore:blockBronze>: [
|
||||
<chisel:blockbronze:0>,
|
||||
<chisel:blockbronze:1>,
|
||||
<chisel:blockbronze:2>,
|
||||
<chisel:blockbronze:3>,
|
||||
<chisel:blockbronze:4>,
|
||||
<chisel:blockbronze:5>,
|
||||
<chisel:blockbronze:6>
|
||||
],
|
||||
<ore:blockCharcoal>: [],
|
||||
<ore:blockCoal>: [
|
||||
<chisel:block_coal:0>,
|
||||
<chisel:block_coal:1>,
|
||||
<chisel:block_coal:2>,
|
||||
<chisel:block_coal:3>,
|
||||
<chisel:block_coal:4>,
|
||||
<chisel:block_coal:5>,
|
||||
<chisel:block_coal:6>,
|
||||
<chisel:block_coal:7>,
|
||||
<chisel:block_coal:8>,
|
||||
<chisel:block_coal:9>,
|
||||
<chisel:block_coal:10>,
|
||||
<chisel:block_coal:11>,
|
||||
<chisel:block_coal:12>,
|
||||
<chisel:block_coal:13>,
|
||||
<chisel:block_coal:14>,
|
||||
<chisel:block_coal:15>,
|
||||
<chisel:block_coal1:0>,
|
||||
<chisel:block_coal1:1>,
|
||||
<chisel:block_coal1:2>,
|
||||
<chisel:block_coal1:3>,
|
||||
<chisel:block_coal1:4>,
|
||||
<chisel:block_coal1:5>,
|
||||
<chisel:block_coal1:6>,
|
||||
<chisel:block_coal1:7>,
|
||||
<chisel:block_coal1:8>,
|
||||
<chisel:block_coal1:9>,
|
||||
<chisel:block_coal1:10>,
|
||||
<chisel:block_coal1:11>,
|
||||
<chisel:block_coal1:12>,
|
||||
<chisel:block_coal1:13>,
|
||||
<chisel:block_coal1:14>,
|
||||
<chisel:block_coal1:15>,
|
||||
<chisel:block_coal2:0>,
|
||||
<chisel:block_coal2:1>
|
||||
],
|
||||
<ore:blockCobalt>: [
|
||||
<chisel:blockcobalt:0>,
|
||||
<chisel:blockcobalt:1>,
|
||||
<chisel:blockcobalt:2>,
|
||||
<chisel:blockcobalt:3>,
|
||||
<chisel:blockcobalt:4>,
|
||||
<chisel:blockcobalt:5>,
|
||||
<chisel:blockcobalt:6>
|
||||
],
|
||||
<ore:blockCopper>: [
|
||||
<chisel:blockcopper:0>,
|
||||
<chisel:blockcopper:1>,
|
||||
<chisel:blockcopper:2>,
|
||||
<chisel:blockcopper:3>,
|
||||
<chisel:blockcopper:4>,
|
||||
<chisel:blockcopper:5>,
|
||||
<chisel:blockcopper:6>
|
||||
],
|
||||
<ore:blockDiamond>: [
|
||||
<chisel:diamond:0>,
|
||||
<chisel:diamond:1>,
|
||||
<chisel:diamond:2>,
|
||||
<chisel:diamond:3>,
|
||||
<chisel:diamond:4>,
|
||||
<chisel:diamond:5>,
|
||||
<chisel:diamond:6>,
|
||||
<chisel:diamond:7>,
|
||||
<chisel:diamond:8>,
|
||||
<chisel:diamond:9>,
|
||||
<chisel:diamond:10>,
|
||||
<chisel:diamond:11>
|
||||
],
|
||||
<ore:blockElectrum>: [
|
||||
<chisel:blockelectrum:0>,
|
||||
<chisel:blockelectrum:1>,
|
||||
<chisel:blockelectrum:2>,
|
||||
<chisel:blockelectrum:3>,
|
||||
<chisel:blockelectrum:4>,
|
||||
<chisel:blockelectrum:5>,
|
||||
<chisel:blockelectrum:6>
|
||||
],
|
||||
<ore:blockEmerald>: [
|
||||
<chisel:emerald:0>,
|
||||
<chisel:emerald:1>,
|
||||
<chisel:emerald:2>,
|
||||
<chisel:emerald:3>,
|
||||
<chisel:emerald:4>,
|
||||
<chisel:emerald:5>,
|
||||
<chisel:emerald:6>,
|
||||
<chisel:emerald:7>,
|
||||
<chisel:emerald:8>,
|
||||
<chisel:emerald:9>,
|
||||
<chisel:emerald:10>,
|
||||
<chisel:emerald:11>,
|
||||
<chisel:emerald:12>,
|
||||
<chisel:emerald:13>
|
||||
],
|
||||
<ore:blockGold>: [
|
||||
<chisel:gold:0>,
|
||||
<chisel:gold:1>,
|
||||
<chisel:gold:2>,
|
||||
<chisel:gold:3>,
|
||||
<chisel:gold:4>,
|
||||
<chisel:gold:5>,
|
||||
<chisel:gold:6>,
|
||||
<chisel:gold:7>,
|
||||
<chisel:gold:8>,
|
||||
<chisel:gold:9>,
|
||||
<chisel:gold:10>,
|
||||
<chisel:gold:11>,
|
||||
<chisel:gold:12>,
|
||||
<chisel:gold:13>,
|
||||
<chisel:gold:14>
|
||||
],
|
||||
<ore:blockIron>: [
|
||||
<chisel:iron:0>,
|
||||
<chisel:iron:1>,
|
||||
<chisel:iron:2>,
|
||||
<chisel:iron:3>,
|
||||
<chisel:iron:4>,
|
||||
<chisel:iron:5>,
|
||||
<chisel:iron:6>,
|
||||
<chisel:iron:7>,
|
||||
<chisel:iron:8>,
|
||||
<chisel:iron:9>,
|
||||
<chisel:iron:10>,
|
||||
<chisel:iron:11>,
|
||||
<chisel:iron:12>,
|
||||
<chisel:iron:13>,
|
||||
<chisel:iron:14>
|
||||
],
|
||||
<ore:blockLapis>: [
|
||||
<minecraft:lapis_block:0>,
|
||||
<chisel:lapis:0>,
|
||||
<chisel:lapis:1>,
|
||||
<chisel:lapis:2>,
|
||||
<chisel:lapis:3>,
|
||||
<chisel:lapis:4>,
|
||||
<chisel:lapis:5>,
|
||||
<chisel:lapis:6>,
|
||||
<chisel:lapis:7>,
|
||||
<chisel:lapis:8>
|
||||
],
|
||||
<ore:blockLead>: [
|
||||
<chisel:blocklead:0>,
|
||||
<chisel:blocklead:1>,
|
||||
<chisel:blocklead:2>,
|
||||
<chisel:blocklead:3>,
|
||||
<chisel:blocklead:4>,
|
||||
<chisel:blocklead:5>,
|
||||
<chisel:blocklead:6>
|
||||
],
|
||||
<ore:blockNickel>: [
|
||||
<chisel:blocknickel:0>,
|
||||
<chisel:blocknickel:1>,
|
||||
<chisel:blocknickel:2>,
|
||||
<chisel:blocknickel:3>,
|
||||
<chisel:blocknickel:4>,
|
||||
<chisel:blocknickel:5>,
|
||||
<chisel:blocknickel:6>
|
||||
],
|
||||
<ore:blockPlatinum>: [
|
||||
<chisel:blockplatinum:0>,
|
||||
<chisel:blockplatinum:1>,
|
||||
<chisel:blockplatinum:2>,
|
||||
<chisel:blockplatinum:3>,
|
||||
<chisel:blockplatinum:4>,
|
||||
<chisel:blockplatinum:5>,
|
||||
<chisel:blockplatinum:6>
|
||||
],
|
||||
<ore:blockSilver>: [
|
||||
<chisel:blocksilver:0>,
|
||||
<chisel:blocksilver:1>,
|
||||
<chisel:blocksilver:2>,
|
||||
<chisel:blocksilver:3>,
|
||||
<chisel:blocksilver:4>,
|
||||
<chisel:blocksilver:5>,
|
||||
<chisel:blocksilver:6>
|
||||
],
|
||||
<ore:blockSteel>: [
|
||||
<chisel:blocksteel:0>,
|
||||
<chisel:blocksteel:1>,
|
||||
<chisel:blocksteel:2>,
|
||||
<chisel:blocksteel:3>,
|
||||
<chisel:blocksteel:4>,
|
||||
<chisel:blocksteel:5>,
|
||||
<chisel:blocksteel:6>
|
||||
],
|
||||
<ore:blockTin>: [
|
||||
<chisel:blocktin:0>,
|
||||
<chisel:blocktin:1>,
|
||||
<chisel:blocktin:2>,
|
||||
<chisel:blocktin:3>,
|
||||
<chisel:blocktin:4>,
|
||||
<chisel:blocktin:5>,
|
||||
<chisel:blocktin:6>
|
||||
]
|
||||
};
|
16
scripts/crafttweaker/_globals/clusters.zs
Normal file
16
scripts/crafttweaker/_globals/clusters.zs
Normal file
@ -0,0 +1,16 @@
|
||||
#priority 4100
|
||||
/*
|
||||
SevTech: Ages Global Cluster Script
|
||||
|
||||
Map container all the Clusters needed to be handled by a processor.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
|
||||
global clusters as IItemStack[string] = {
|
||||
titanium: <materialpart:titanium:cluster>
|
||||
};
|
435
scripts/crafttweaker/_globals/metal_items.zs
Normal file
435
scripts/crafttweaker/_globals/metal_items.zs
Normal file
@ -0,0 +1,435 @@
|
||||
#priority 4100
|
||||
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
//Metal unification
|
||||
/*
|
||||
METAL_TYPE: {
|
||||
block: ITEM_STACK,
|
||||
dust: ITEM_STACK,
|
||||
gear: ITEM_STACK,
|
||||
ingot: ITEM_STACK,
|
||||
liquid: <liquid:lava>,
|
||||
nugget: ITEM_STACK,
|
||||
plate: ITEM_STACK,
|
||||
rod: ITEM_STACK
|
||||
}
|
||||
*/
|
||||
global metalItems as IIngredient[string][string] = {
|
||||
abyssalnite: {
|
||||
block: <abyssalcraft:ingotblock:0>,
|
||||
dust: <acintegration:dust:0>,
|
||||
gear: null,
|
||||
ingot: <abyssalcraft:abyingot:0>,
|
||||
liquid: <liquid:moltenabyssalnite>,
|
||||
nugget: <abyssalcraft:ingotnugget:0>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
aluminum: {
|
||||
block: <immersiveengineering:storage:1>,
|
||||
dust: <immersiveengineering:metal:10>,
|
||||
gear: null,
|
||||
ingot: <immersiveengineering:metal:1>,
|
||||
liquid: <liquid:aluminum>,
|
||||
nugget: null,
|
||||
plate: <immersiveengineering:metal:31>,
|
||||
rod: <immersiveengineering:material:3>
|
||||
},
|
||||
aluminumBrass: {
|
||||
block: <tconstruct:metal:5>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <tconstruct:ingots:5>,
|
||||
liquid: <liquid:alubrass>,
|
||||
nugget: <tconstruct:nuggets:5>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
ardite: {
|
||||
block: <tconstruct:metal:1>,
|
||||
dust: <materialpart:ardite:dust>,
|
||||
gear: null,
|
||||
ingot: <tconstruct:ingots:1>,
|
||||
liquid: <liquid:ardite>,
|
||||
nugget: <tconstruct:nuggets:1>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
blackIron: {
|
||||
block: <extendedcrafting:storage:0>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <extendedcrafting:material:0>,
|
||||
liquid: null,
|
||||
nugget: null,
|
||||
plate: <extendedcrafting:material:2>,
|
||||
rod: <extendedcrafting:material:3>
|
||||
},
|
||||
bronze: {
|
||||
block: <mekanism:basicblock:1>,
|
||||
dust: null,
|
||||
gear: <materialpart:bronze:gear>,
|
||||
ingot: <mekanism:ingot:2>,
|
||||
liquid: <liquid:bronze>,
|
||||
nugget: null,
|
||||
plate: <materialpart:bronze:plate>,
|
||||
rod: <materialpart:bronze:rod>
|
||||
},
|
||||
cobalt: {
|
||||
block: <tconstruct:metal:0>,
|
||||
dust: <materialpart:cobalt:dust>,
|
||||
gear: <materialpart:cobalt:gear>,
|
||||
ingot: <tconstruct:ingots:0>,
|
||||
liquid: <liquid:cobalt>,
|
||||
nugget: <tconstruct:nuggets:0>,
|
||||
plate: <materialpart:cobalt:plate>,
|
||||
rod: <materialpart:cobalt:rod>
|
||||
},
|
||||
compressedIron: {
|
||||
block: <pneumaticcraft:compressed_iron_block:0>,
|
||||
dust: null,
|
||||
gear: <materialpart:compressed_iron:gear>,
|
||||
ingot: <pneumaticcraft:ingot_iron_compressed:0>,
|
||||
liquid: null,
|
||||
nugget: null,
|
||||
plate: <materialpart:compressed_iron:plate>,
|
||||
rod: <materialpart:compressed_iron:rod>
|
||||
},
|
||||
constantan: {
|
||||
block: <immersiveengineering:storage:6>,
|
||||
dust: <immersiveengineering:metal:15>,
|
||||
gear: null,
|
||||
ingot: <immersiveengineering:metal:6>,
|
||||
liquid: <liquid:constantan>,
|
||||
nugget: <immersiveengineering:metal:26>,
|
||||
plate: <immersiveengineering:metal:36>,
|
||||
rod: null
|
||||
},
|
||||
copper: {
|
||||
block: <immersiveengineering:storage:0>,
|
||||
clump: <mekanism:clump:3>,
|
||||
crystal: <mekanism:crystal:3>,
|
||||
dirtyDust: <mekanism:dirtydust:3>,
|
||||
dust: <immersiveengineering:metal:9>,
|
||||
gear: <materialpart:copper:gear>,
|
||||
ingot: <immersiveengineering:metal:0>,
|
||||
liquid: <liquid:copper>,
|
||||
nugget: null,
|
||||
plate: <immersiveengineering:metal:30>,
|
||||
rod: <materialpart:copper:rod>,
|
||||
shard: <mekanism:shard:3>
|
||||
},
|
||||
dreadium: {
|
||||
block: <abyssalcraft:ingotblock:2>,
|
||||
dust: <acintegration:dust:2>,
|
||||
gear: null,
|
||||
ingot: <abyssalcraft:dreadiumingot:0>,
|
||||
liquid: <liquid:moltendreadium>,
|
||||
nugget: <abyssalcraft:ingotnugget:2>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
electrum: {
|
||||
block: <immersiveengineering:storage:7>,
|
||||
dust: <immersiveengineering:metal:16>,
|
||||
gear: null,
|
||||
ingot: <immersiveengineering:metal:7>,
|
||||
liquid: <liquid:electrum>,
|
||||
nugget: <immersiveengineering:metal:27>,
|
||||
plate: <immersiveengineering:metal:37>,
|
||||
rod: null
|
||||
},
|
||||
enhancedGalgadorian: {
|
||||
block: <stevescarts:blockmetalstorage:2>,
|
||||
dust: null,
|
||||
gear: <materialpart:enhanced_galgadorian:gear>,
|
||||
ingot: <stevescarts:modulecomponents:49>,
|
||||
liquid: <liquid:enhanced_galgadorian>,
|
||||
nugget: null,
|
||||
plate: <materialpart:enhanced_galgadorian:plate>,
|
||||
rod: <materialpart:enhanced_galgadorian:rod>
|
||||
},
|
||||
ethaxium: {
|
||||
block: <abyssalcraft:ingotblock:3>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <abyssalcraft:ethaxiumingot:0>,
|
||||
liquid: null,
|
||||
nugget: <abyssalcraft:ingotnugget:3>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
fiery: {
|
||||
block: <twilightforest:block_storage:1>,
|
||||
dust: null,
|
||||
gear: <materialpart:fiery:gear>,
|
||||
ingot: <twilightforest:fiery_ingot:0>,
|
||||
liquid: <liquid:fierymetal>,
|
||||
nugget: null,
|
||||
plate: <materialpart:fiery:plate>,
|
||||
rod: <materialpart:fiery:rod>
|
||||
},
|
||||
galgadorian: {
|
||||
block: <stevescarts:blockmetalstorage:1>,
|
||||
dust: null,
|
||||
gear: <materialpart:galgadorian:gear>,
|
||||
ingot: <stevescarts:modulecomponents:47>,
|
||||
liquid: <liquid:galgadorian>,
|
||||
nugget: null,
|
||||
plate: <materialpart:galgadorian:plate>,
|
||||
rod: <materialpart:galgadorian:rod>
|
||||
},
|
||||
gold: {
|
||||
block: <minecraft:gold_block:0>,
|
||||
clump: <mekanism:clump:1>,
|
||||
crystal: <mekanism:crystal:1>,
|
||||
dirtyDust: <mekanism:dirtydust:1>,
|
||||
dust: <immersiveengineering:metal:19>,
|
||||
gear: <materialpart:gold:gear>,
|
||||
ingot: <minecraft:gold_ingot:0>,
|
||||
liquid: <liquid:gold>,
|
||||
nugget: <minecraft:gold_nugget:0>,
|
||||
plate: <immersiveengineering:metal:40>,
|
||||
rod: <primal:golden_stick:0>,
|
||||
shard: <mekanism:shard:1>
|
||||
},
|
||||
invar: {
|
||||
block: <materialpart:invar:block>,
|
||||
dust: null,
|
||||
gear: <materialpart:invar:gear>,
|
||||
ingot: <materialpart:invar:ingot>,
|
||||
liquid: <liquid:invar>,
|
||||
nugget: null,
|
||||
plate: <materialpart:invar:plate>,
|
||||
rod: <materialpart:invar:rod>,
|
||||
},
|
||||
iron: {
|
||||
block: <minecraft:iron_block:0>,
|
||||
clump: <mekanism:clump:0>,
|
||||
crystal: <mekanism:crystal:0>,
|
||||
dirtyDust: <mekanism:dirtydust:0>,
|
||||
dust: <immersiveengineering:metal:18>,
|
||||
gear: <materialpart:iron:gear>,
|
||||
ingot: <minecraft:iron_ingot:0>,
|
||||
liquid: <liquid:iron>,
|
||||
nugget: <minecraft:iron_nugget:0>,
|
||||
plate: <immersiveengineering:metal:39>,
|
||||
rod: <immersiveengineering:material:1>,
|
||||
shard: <mekanism:shard:0>
|
||||
},
|
||||
knightslime: {
|
||||
block: <tconstruct:metal:3>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <tconstruct:ingots:3>,
|
||||
liquid: <liquid:knightslime>,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
lead: {
|
||||
block: <immersiveengineering:storage:2>,
|
||||
clump: <mekanism:clump:6>,
|
||||
crystal: <mekanism:crystal:6>,
|
||||
dirtyDust: <mekanism:dirtydust:6>,
|
||||
dust: <immersiveengineering:metal:11>,
|
||||
gear: <materialpart:lead:gear>,
|
||||
ingot: <immersiveengineering:metal:2>,
|
||||
liquid: <liquid:lead>,
|
||||
nugget: <immersiveengineering:metal:22>,
|
||||
plate: <immersiveengineering:metal:32>,
|
||||
rod: <materialpart:lead:rod>,
|
||||
shard: <mekanism:shard:6>
|
||||
},
|
||||
manyullyn: {
|
||||
block: <tconstruct:metal:2>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <tconstruct:ingots:2>,
|
||||
liquid: <liquid:manyullyn>,
|
||||
nugget: <tconstruct:nuggets:2>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
meteoricIron: {
|
||||
block: <galacticraftcore:basic_block_core:12>,
|
||||
dust: <materialpart:meteoric_iron:dust>,
|
||||
gear: null,
|
||||
ingot: <galacticraftcore:item_basic_moon:0>,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
modularium: {
|
||||
block: null,
|
||||
dust: null,
|
||||
gear: <materialpart:modularium:gear>,
|
||||
ingot: <modularmachinery:itemmodularium:0>,
|
||||
liquid: <liquid:modularium>,
|
||||
nugget: null,
|
||||
plate: <materialpart:modularium:plate>,
|
||||
rod: <materialpart:modularium:rod>
|
||||
},
|
||||
nickel: {
|
||||
block: <immersiveengineering:storage:4>,
|
||||
dust: <immersiveengineering:metal:13>,
|
||||
gear: null,
|
||||
ingot: <immersiveengineering:metal:4>,
|
||||
liquid: <liquid:nickel>,
|
||||
nugget: <immersiveengineering:metal:24>,
|
||||
plate: <immersiveengineering:metal:34>,
|
||||
rod: null
|
||||
},
|
||||
osmium: {
|
||||
block: <mekanism:basicblock:0>,
|
||||
clump: <mekanism:clump:2>,
|
||||
crystal: <mekanism:crystal:2>,
|
||||
dirtyDust: <mekanism:dirtydust:2>,
|
||||
dust: <mekanism:dust:2>,
|
||||
gear: null,
|
||||
ingot: <mekanism:ingot:1>,
|
||||
nugget: <mekanism:nugget:1>,
|
||||
plate: null,
|
||||
rod: null,
|
||||
shard: <mekanism:shard:2>
|
||||
},
|
||||
pigiron: {
|
||||
block: <tconstruct:metal:4>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <tconstruct:ingots:4>,
|
||||
liquid: <liquid:pigiron>,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
platinum: {
|
||||
block: <materialpart:platinum:block>,
|
||||
dust: <materialpart:platinum:dust>,
|
||||
gear: <materialpart:platinum:gear>,
|
||||
ingot: <materialpart:platinum:ingot>,
|
||||
liquid: <liquid:platinum>,
|
||||
nugget: null,
|
||||
plate: <materialpart:platinum:plate>,
|
||||
rod: <materialpart:platinum:rod>
|
||||
},
|
||||
redstoneAlloy: {
|
||||
block: <materialpart:redstone_alloy:block>,
|
||||
dust: null,
|
||||
gear: <materialpart:redstone_alloy:gear>,
|
||||
ingot: <materialpart:redstone_alloy:ingot>,
|
||||
liquid: <liquid:redstone_alloy>,
|
||||
nugget: null,
|
||||
plate: <materialpart:redstone_alloy:plate>,
|
||||
rod: <materialpart:redstone_alloy:rod>
|
||||
},
|
||||
refinedCoralium: {
|
||||
block: <abyssalcraft:ingotblock:1>,
|
||||
dust: <acintegration:dust:1>,
|
||||
gear: null,
|
||||
ingot: <abyssalcraft:cingot:0>,
|
||||
liquid: <liquid:moltenrefinedcoralium>,
|
||||
nugget: <abyssalcraft:ingotnugget:1>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
reinforcedMetal: {
|
||||
block: <stevescarts:blockmetalstorage:0>,
|
||||
dust: null,
|
||||
gear: <materialpart:reinforced_metal:gear>,
|
||||
ingot: <stevescarts:modulecomponents:22>,
|
||||
liquid: <liquid:reinforced_metal>,
|
||||
nugget: null,
|
||||
plate: <materialpart:reinforced_metal:plate>,
|
||||
rod: <materialpart:reinforced_metal:rod>
|
||||
},
|
||||
silver: {
|
||||
block: <immersiveengineering:storage:3>,
|
||||
clump: <mekanism:clump:5>,
|
||||
crystal: <mekanism:crystal:5>,
|
||||
dirtyDust: <mekanism:dirtydust:5>,
|
||||
dust: <immersiveengineering:metal:12>,
|
||||
gear: <materialpart:silver:gear>,
|
||||
ingot: <immersiveengineering:metal:3>,
|
||||
liquid: <liquid:silver>,
|
||||
nugget: <immersiveengineering:metal:23>,
|
||||
plate: <immersiveengineering:metal:33>,
|
||||
rod: <materialpart:silver:rod>,
|
||||
shard: <mekanism:shard:5>
|
||||
},
|
||||
spacePlatinum: {
|
||||
block: <extraplanets:kepler22b:14>,
|
||||
dust: <materialpart:space_platinum:dust>,
|
||||
gear: null,
|
||||
ingot: <extraplanets:tier11_items:5>,
|
||||
liquid: null,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
steel: {
|
||||
block: <immersiveengineering:storage:8>,
|
||||
dust: <immersiveengineering:metal:17>,
|
||||
gear: <materialpart:steel:gear>,
|
||||
ingot: <immersiveengineering:metal:8>,
|
||||
liquid: <liquid:steel>,
|
||||
nugget: <immersiveengineering:metal:28>,
|
||||
plate: <immersiveengineering:metal:38>,
|
||||
rod: <immersiveengineering:material:2>
|
||||
},
|
||||
steeleaf: {
|
||||
block: <twilightforest:block_storage:2>,
|
||||
dust: null,
|
||||
gear: <materialpart:steeleaf:gear>,
|
||||
ingot: <twilightforest:steeleaf_ingot:0>,
|
||||
liquid: <liquid:steeleaf>,
|
||||
nugget: null,
|
||||
plate: <materialpart:steeleaf:plate>,
|
||||
rod: <materialpart:steeleaf:rod>
|
||||
},
|
||||
tin: {
|
||||
block: <mekanism:basicblock:13>,
|
||||
clump: <mekanism:clump:4>,
|
||||
crystal: <mekanism:crystal:4>,
|
||||
dirtyDust: <mekanism:dirtydust:4>,
|
||||
dust: <mekanism:dust:4>,
|
||||
gear: <materialpart:tin:gear>,
|
||||
ingot: <mekanism:ingot:6>,
|
||||
liquid: <liquid:tin>,
|
||||
nugget: null,
|
||||
plate: <materialpart:tin:plate>,
|
||||
rod: <materialpart:tin:rod>,
|
||||
shard: <mekanism:shard:4>
|
||||
},
|
||||
titanium: {
|
||||
block: <galacticraftplanets:asteroids_block:7>,
|
||||
dust: <galacticraftplanets:item_basic_asteroids:9>,
|
||||
gear: null,
|
||||
ingot: <galacticraftplanets:item_basic_asteroids:0>,
|
||||
liquid: <liquid:titanium>,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
uranium: {
|
||||
block: <immersiveengineering:storage:5>,
|
||||
dust: <immersiveengineering:metal:14>,
|
||||
gear: null,
|
||||
ingot: <immersiveengineering:metal:5>,
|
||||
liquid: <liquid:uranium>,
|
||||
nugget: null,
|
||||
plate: <immersiveengineering:metal:35>,
|
||||
rod: null
|
||||
},
|
||||
zinc: {
|
||||
block: <extraplanets:neptune:7>,
|
||||
dust: <primal:zinc_dust:0>,
|
||||
gear: null,
|
||||
ingot: <extraplanets:tier8_items:5>,
|
||||
liquid: <liquid:zinc>,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
}
|
||||
};
|
414
scripts/crafttweaker/_globals/metals.zs
Normal file
414
scripts/crafttweaker/_globals/metals.zs
Normal file
@ -0,0 +1,414 @@
|
||||
#priority 4100
|
||||
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
//Metal unification
|
||||
/*
|
||||
METAL_TYPE: {
|
||||
block: ORE_DICT_ENTRY,
|
||||
dust: ORE_DICT_ENTRY,
|
||||
gear: ORE_DICT_ENTRY,
|
||||
ingot: ORE_DICT_ENTRY,
|
||||
nugget: ORE_DICT_ENTRY,
|
||||
plate: ORE_DICT_ENTRY,
|
||||
rod: ORE_DICT_ENTRY
|
||||
}
|
||||
*/
|
||||
global metals as IOreDictEntry[string][string] = {
|
||||
abyssalnite: {
|
||||
block: <ore:blockAbyssalnite>,
|
||||
dust: <ore:dustAbyssalnite>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotAbyssalnite>,
|
||||
nugget: <ore:nuggetAbyssalnite>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
aluminum: {
|
||||
block: <ore:blockAluminum>,
|
||||
dust: <ore:dustAluminum>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotAluminum>,
|
||||
nugget: <ore:nuggetAluminum>,
|
||||
ore: <ore:oreAluminum>,
|
||||
plate: <ore:plateAluminum>,
|
||||
rod: <ore:rodAluminum>
|
||||
},
|
||||
aluminumBrass: {
|
||||
block: <ore:blockAlubrass>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <ore:ingotAlubrass>,
|
||||
nugget: <ore:nuggetAlubrass>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
ardite: {
|
||||
block: <ore:blockArdite>,
|
||||
dust: <ore:dustArdite>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotArdite>,
|
||||
nugget: <ore:nuggetArdite>,
|
||||
ore: <ore:oreArdite>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
blackIron: {
|
||||
block: <ore:blockBlackIron>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <ore:ingotBlackIron>,
|
||||
nugget: <ore:nuggetBlackIron>,
|
||||
plate: <ore:plateBlackIron>,
|
||||
rod: <ore:rodBlackIron>
|
||||
},
|
||||
bronze: {
|
||||
block: <ore:blockBronze>,
|
||||
dust: <ore:dustBronze>,
|
||||
gear: <ore:gearBronze>,
|
||||
ingot: <ore:ingotBronze>,
|
||||
nugget: <ore:nuggetBronze>,
|
||||
plate: <ore:plateBronze>,
|
||||
rod: <ore:rodBronze>
|
||||
},
|
||||
cobalt: {
|
||||
block: <ore:blockCobalt>,
|
||||
dust: <ore:dustCobalt>,
|
||||
gear: <ore:gearCobalt>,
|
||||
ingot: <ore:ingotCobalt>,
|
||||
nugget: <ore:nuggetCobalt>,
|
||||
ore: <ore:oreCobalt>,
|
||||
plate: <ore:plateCobalt>,
|
||||
rod: <ore:rodCobalt>
|
||||
},
|
||||
compressedIron: {
|
||||
block: <ore:blockCompressedIron>,
|
||||
dust: null,
|
||||
gear: <ore:gearCompressedIron>,
|
||||
ingot: <ore:ingotCompressedIron>,
|
||||
nugget: null,
|
||||
plate: <ore:plateCompressedIron>,
|
||||
rod: <ore:rodCompressedIron>
|
||||
},
|
||||
constantan: {
|
||||
block: <ore:blockConstantan>,
|
||||
dust: <ore:dustConstantan>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotConstantan>,
|
||||
nugget: <ore:nuggetConstantan>,
|
||||
plate: <ore:plateConstantan>,
|
||||
rod: null
|
||||
},
|
||||
copper: {
|
||||
block: <ore:blockCopper>,
|
||||
clump: <ore:clumpCopper>,
|
||||
crystal: <ore:crystalCopper>,
|
||||
dirtyDust: <ore:dustDirtyCopper>,
|
||||
dust: <ore:dustCopper>,
|
||||
gear: <ore:gearCopper>,
|
||||
ingot: <ore:ingotCopper>,
|
||||
nugget: <ore:nuggetCopper>,
|
||||
ore: <ore:oreCopper>,
|
||||
plate: <ore:plateCopper>,
|
||||
rod: <ore:rodCopper>,
|
||||
shard: <ore:shardCopper>
|
||||
},
|
||||
dreadium: {
|
||||
block: <ore:blockDreadium>,
|
||||
dust: <ore:dustDreadium>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotDreadium>,
|
||||
nugget: <ore:nuggetDreadium>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
electrum: {
|
||||
block: <ore:blockElectrum>,
|
||||
dust: <ore:dustElectrum>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotElectrum>,
|
||||
nugget: <ore:nuggetElectrum>,
|
||||
plate: <ore:plateElectrum>,
|
||||
rod: null
|
||||
},
|
||||
enhancedGalgadorian: {
|
||||
block: <ore:blockEnhancedGalgadorian>,
|
||||
dust: null,
|
||||
gear: <ore:gearEnhancedGalgadorian>,
|
||||
ingot: <ore:ingotEnhancedGalgadorian>,
|
||||
nugget: null,
|
||||
plate: <ore:plateEnhancedGalgadorian>,
|
||||
rod: <ore:rodEnhancedGalgadorian>
|
||||
},
|
||||
ethaxium: {
|
||||
block: <ore:blockEthaxium>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <ore:ingotEthaxium>,
|
||||
liquid: null,
|
||||
nugget: <ore:nuggetEthaxium>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
fiery: {
|
||||
block: <ore:blockFiery>,
|
||||
dust: null,
|
||||
gear: <ore:gearFiery>,
|
||||
ingot: <ore:ingotFiery>,
|
||||
nugget: null,
|
||||
plate: <ore:plateFiery>,
|
||||
rod: <ore:rodFiery>
|
||||
},
|
||||
galgadorian: {
|
||||
block: <ore:blockGalgadorian>,
|
||||
dust: null,
|
||||
gear: <ore:gearGalgadorian>,
|
||||
ingot: <ore:ingotGalgadorian>,
|
||||
nugget: null,
|
||||
plate: <ore:plateGalgadorian>,
|
||||
rod: <ore:rodGalgadorian>
|
||||
},
|
||||
gold: {
|
||||
block: <ore:blockGold>,
|
||||
clump: <ore:clumpGold>,
|
||||
crystal: <ore:crystalGold>,
|
||||
dirtyDust: <ore:dustDirtyGold>,
|
||||
dust: <ore:dustGold>,
|
||||
gear: <ore:gearGold>,
|
||||
ingot: <ore:ingotGold>,
|
||||
nugget: <ore:nuggetGold>,
|
||||
ore: <ore:oreGold>,
|
||||
plate: <ore:plateGold>,
|
||||
rod: <ore:rodGold>,
|
||||
shard: <ore:shardGold>
|
||||
},
|
||||
invar: {
|
||||
block: <ore:blockInvar>,
|
||||
dust: <ore:dustInvar>,
|
||||
gear: <ore:gearInvar>,
|
||||
ingot: <ore:ingotInvar>,
|
||||
nugget: <ore:nuggetInvar>,
|
||||
plate: <ore:plateInvar>,
|
||||
rod: <ore:rodInvar>
|
||||
},
|
||||
iron: {
|
||||
block: <ore:blockIron>,
|
||||
clump: <ore:clumpIron>,
|
||||
crystal: <ore:crystalIron>,
|
||||
dirtyDust: <ore:dustDirtyIron>,
|
||||
dust: <ore:dustIron>,
|
||||
gear: <ore:gearIron>,
|
||||
ingot: <ore:ingotIron>,
|
||||
nugget: <ore:nuggetIron>,
|
||||
ore: <ore:oreIron>,
|
||||
plate: <ore:plateIron>,
|
||||
rod: <ore:rodIron>,
|
||||
shard: <ore:shardIron>
|
||||
},
|
||||
knightslime: {
|
||||
block: <ore:blockKnightslime>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <ore:ingotKnightslime>,
|
||||
nugget: <ore:nuggetKnightslime>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
lead: {
|
||||
block: <ore:blockLead>,
|
||||
clump: <ore:clumpLead>,
|
||||
crystal: <ore:crystalLead>,
|
||||
dirtyDust: <ore:dustDirtyLead>,
|
||||
dust: <ore:dustLead>,
|
||||
gear: <ore:gearLead>,
|
||||
ingot: <ore:ingotLead>,
|
||||
nugget: <ore:nuggetLead>,
|
||||
ore: <ore:oreLead>,
|
||||
plate: <ore:plateLead>,
|
||||
rod: <ore:rodLead>,
|
||||
shard: <ore:shardLead>
|
||||
},
|
||||
manyullyn: {
|
||||
block: <ore:blockManyullyn>,
|
||||
dust: null,
|
||||
gear: null,
|
||||
ingot: <ore:ingotManyullyn>,
|
||||
nugget: <ore:nuggetManyullyn>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
meteoricIron: {
|
||||
block: <ore:blockMeteoricIron>,
|
||||
dust: <ore:dustMeteoricIron>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotMeteoricIron>,
|
||||
nugget: null,
|
||||
ore: <ore:oreMeteoricIron>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
modularium: {
|
||||
block: null,
|
||||
dust: null,
|
||||
gear: <ore:gearModularium>,
|
||||
ingot: <ore:ingotModularium>,
|
||||
nugget: null,
|
||||
plate: <ore:plateModularium>,
|
||||
rod: <ore:rodModularium>
|
||||
},
|
||||
nickel: {
|
||||
block: <ore:blockNickel>,
|
||||
dust: <ore:dustNickel>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotNickel>,
|
||||
nugget: <ore:nuggetNickel>,
|
||||
ore: <ore:oreNickel>,
|
||||
plate: <ore:plateNickel>,
|
||||
rod: null
|
||||
},
|
||||
osmium: {
|
||||
block: <ore:blockOsmium>,
|
||||
clump: <ore:clumpOsmium>,
|
||||
crystal: <ore:crystalOsmium>,
|
||||
dirtyDust: <ore:dustDirtyOsmium>,
|
||||
dust: <ore:dustOsmium>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotOsmium>,
|
||||
nugget: <ore:nuggetOsmium>,
|
||||
ore: <ore:oreOsmium>,
|
||||
plate: null,
|
||||
rod: null,
|
||||
shard: <ore:shardOsmium>
|
||||
},
|
||||
pigiron: {
|
||||
block: <ore:blockPigiron>,
|
||||
dust: <ore:dustPigiron>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotPigiron>,
|
||||
nugget: <ore:nuggetPigiron>,
|
||||
plate: <ore:platePigiron>,
|
||||
rod: null
|
||||
},
|
||||
platinum: {
|
||||
block: <ore:blockPlatinum>,
|
||||
dust: <ore:dustPlatinum>,
|
||||
gear: <ore:gearPlatinum>,
|
||||
ingot: <ore:ingotPlatinum>,
|
||||
nugget: null,
|
||||
ore: <ore:orePlatinum>,
|
||||
plate: <ore:platePlatinum>,
|
||||
rod: <ore:rodPlatinum>
|
||||
},
|
||||
redstoneAlloy: {
|
||||
block: <ore:blockRedstoneAlloy>,
|
||||
dust: null,
|
||||
gear: <ore:gearRedstoneAlloy>,
|
||||
ingot: <ore:ingotRedstoneAlloy>,
|
||||
nugget: null,
|
||||
plate: <ore:plateRedstoneAlloy>,
|
||||
rod: <ore:rodRedstoneAlloy>
|
||||
},
|
||||
refinedCoralium: {
|
||||
block: <ore:blockLiquifiedCoralium>,
|
||||
dust: <ore:dustLiquifiedCoralium>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotLiquifiedCoralium>,
|
||||
nugget: <ore:nuggetLiquifiedCoralium>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
reinforcedMetal: {
|
||||
block: <ore:blockReinforcedMetal>,
|
||||
dust: null,
|
||||
gear: <ore:gearReinforcedMetal>,
|
||||
ingot: <ore:ingotReinforcedMetal>,
|
||||
nugget: null,
|
||||
plate: <ore:plateReinforcedMetal>,
|
||||
rod: <ore:rodReinforcedMetal>
|
||||
},
|
||||
silver: {
|
||||
block: <ore:blockSilver>,
|
||||
clump: <ore:clumpSilver>,
|
||||
crystal: <ore:crystalSilver>,
|
||||
dirtyDust: <ore:dustDirtySilver>,
|
||||
dust: <ore:dustSilver>,
|
||||
gear: <ore:gearSilver>,
|
||||
ingot: <ore:ingotSilver>,
|
||||
nugget: <ore:nuggetSilver>,
|
||||
ore: <ore:oreSilver>,
|
||||
plate: <ore:plateSilver>,
|
||||
rod: <ore:rodSilver>,
|
||||
shard: <ore:shardSilver>
|
||||
},
|
||||
spacePlatinum: {
|
||||
block: <ore:blockSpacePlatinum>,
|
||||
dust: <ore:dustSpacePlatinum>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotSpacePlatinum>,
|
||||
nugget: null,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
steel: {
|
||||
block: <ore:blockSteel>,
|
||||
dust: <ore:dustSteel>,
|
||||
gear: <ore:gearSteel>,
|
||||
ingot: <ore:ingotSteel>,
|
||||
nugget: <ore:nuggetSteel>,
|
||||
plate: <ore:plateSteel>,
|
||||
rod: <ore:rodSteel>
|
||||
},
|
||||
steeleaf: {
|
||||
block: <ore:blockSteeleaf>,
|
||||
dust: null,
|
||||
gear: <ore:gearSteeleaf>,
|
||||
ingot: <ore:ingotSteeleaf>,
|
||||
nugget: null,
|
||||
plate: <ore:plateSteeleaf>,
|
||||
rod: <ore:rodSteeleaf>
|
||||
},
|
||||
tin: {
|
||||
block: <ore:blockTin>,
|
||||
clump: <ore:clumpTin>,
|
||||
crystal: <ore:crystalTin>,
|
||||
dirtyDust: <ore:dustDirtyTin>,
|
||||
dust: <ore:dustTin>,
|
||||
gear: <ore:gearTin>,
|
||||
ingot: <ore:ingotTin>,
|
||||
nugget: <ore:nuggetTin>,
|
||||
ore: <ore:oreTin>,
|
||||
plate: <ore:plateTin>,
|
||||
rod: <ore:rodTin>,
|
||||
shard: <ore:shardTin>
|
||||
},
|
||||
titanium: {
|
||||
block: <ore:blockTitanium>,
|
||||
dust: <ore:dustTitanium>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotTitanium>,
|
||||
nugget: null,
|
||||
ore: <ore:oreIlmenite>,
|
||||
plate: null,
|
||||
rod: null
|
||||
},
|
||||
uranium: {
|
||||
block: <ore:blockUranium>,
|
||||
dust: <ore:dustUranium>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotUranium>,
|
||||
nugget: <ore:nuggetUranium>,
|
||||
ore: <ore:oreUranium>,
|
||||
plate: <ore:plateUranium>,
|
||||
rod: null
|
||||
},
|
||||
zinc: {
|
||||
block: <ore:blockZinc>,
|
||||
dust: <ore:dustZinc>,
|
||||
gear: null,
|
||||
ingot: <ore:ingotZinc>,
|
||||
nugget: <ore:nuggetZinc>,
|
||||
ore: <ore:oreZinc>,
|
||||
plate: <ore:plateZinc>,
|
||||
rod: null
|
||||
}
|
||||
};
|
32
scripts/crafttweaker/classes/init.zs
Normal file
32
scripts/crafttweaker/classes/init.zs
Normal file
@ -0,0 +1,32 @@
|
||||
#priority 2800
|
||||
|
||||
/*
|
||||
SevTech: Ages Class Creation Script.
|
||||
|
||||
This script creates and sets the globals for the class we use to interact with mods
|
||||
and/or MM machines.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
// Mods
|
||||
global abyssalcraft as scripts.crafttweaker.classes.mods.abyssalcraft.AbyssalCraft = scripts.crafttweaker.classes.mods.abyssalcraft.AbyssalCraft(0.5f);
|
||||
global actuallyAdditions as scripts.crafttweaker.classes.mods.actuallyAdditions.ActuallyAdditions = scripts.crafttweaker.classes.mods.actuallyAdditions.ActuallyAdditions();
|
||||
global appliedEnergistics as scripts.crafttweaker.classes.mods.appliedEnergistics.AppliedEnergistics = scripts.crafttweaker.classes.mods.appliedEnergistics.AppliedEnergistics(8);
|
||||
global armoreablemobs as scripts.crafttweaker.classes.mods.armoreablemobs.ArmoreableMobs = scripts.crafttweaker.classes.mods.armoreablemobs.ArmoreableMobs();
|
||||
global astralSorcery as scripts.crafttweaker.classes.mods.astralSorcery.AstralSorcery = scripts.crafttweaker.classes.mods.astralSorcery.AstralSorcery();
|
||||
global betterWithMods as scripts.crafttweaker.classes.mods.betterwithmods.BetterWithMods = scripts.crafttweaker.classes.mods.betterwithmods.BetterWithMods();
|
||||
global bloodMagic as scripts.crafttweaker.classes.mods.bloodMagic.BloodMagic = scripts.crafttweaker.classes.mods.bloodMagic.BloodMagic();
|
||||
global horsePower as scripts.crafttweaker.classes.mods.horsePower.HorsePower = scripts.crafttweaker.classes.mods.horsePower.HorsePower(4, 16);
|
||||
global immersiveEngineering as scripts.crafttweaker.classes.mods.immersiveEngineering.ImmersiveEngineering = scripts.crafttweaker.classes.mods.immersiveEngineering.ImmersiveEngineering(6000, 600);
|
||||
global mekanism as scripts.crafttweaker.classes.mods.mekanism.Mekanism = scripts.crafttweaker.classes.mods.mekanism.Mekanism();
|
||||
global tinkers as scripts.crafttweaker.classes.mods.tinkers.Tinkers = scripts.crafttweaker.classes.mods.tinkers.Tinkers();
|
||||
|
||||
// Integration
|
||||
global orematic as scripts.crafttweaker.classes.integration.orematic.OreMatic = scripts.crafttweaker.classes.integration.orematic.OreMatic();
|
||||
global dryingUnit as scripts.crafttweaker.classes.integration.dryingUnit.DryingUnit = scripts.crafttweaker.classes.integration.dryingUnit.DryingUnit();
|
||||
|
||||
// Utils
|
||||
global recipeUtil as scripts.crafttweaker.classes.utils.recipeUtil.RecipeUtil = scripts.crafttweaker.classes.utils.recipeUtil.RecipeUtil();
|
14
scripts/crafttweaker/classes/initUnifier.zs
Normal file
14
scripts/crafttweaker/classes/initUnifier.zs
Normal file
@ -0,0 +1,14 @@
|
||||
#priority 2700
|
||||
|
||||
/*
|
||||
SevTech: Ages Unifier Class Creation Script.
|
||||
|
||||
This script creates and sets the globals for the class we use to interact with mods
|
||||
and/or MM machines.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
global metalProc as scripts.crafttweaker.classes.resources.metals.Metals = scripts.crafttweaker.classes.resources.metals.Metals();
|
||||
global unifier as scripts.crafttweaker.classes.utils.unifier.Unifier = scripts.crafttweaker.classes.utils.unifier.Unifier();
|
92
scripts/crafttweaker/classes/integration/dryingUnit.zs
Normal file
92
scripts/crafttweaker/classes/integration/dryingUnit.zs
Normal file
@ -0,0 +1,92 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Drying Unit Script
|
||||
|
||||
This script is a zenClass to allow easy interation with the MM Drying Machine.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils.createRecipeName;
|
||||
import scripts.crafttweaker.utils.squareNum;
|
||||
|
||||
/*
|
||||
TODO: Look into making this class generic for possible conversion from other MM machines.
|
||||
*/
|
||||
zenClass DryingUnit {
|
||||
var machineName as string = "industrial_drying_unit";
|
||||
var energyScalingMultiplier as int[] = [1, 4, 8];
|
||||
var tickTimeValue as int = 600;
|
||||
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Forms the basic recipe.
|
||||
*/
|
||||
function formBaseRecipe(tier as int, name as string) as RecipePrimer {
|
||||
var machineSlug = tier > 1 ? machineName ~ "_mk" ~ tier : machineName;
|
||||
var timeScaler = (tier + 1) > 2 ? squareNum(2, tier - 1) : tier + 1;
|
||||
|
||||
var builder = RecipeBuilder.newBuilder(
|
||||
createRecipeName(machineName ~ "_mk" ~ tier, name),
|
||||
machineSlug, tickTimeValue / timeScaler
|
||||
)
|
||||
.addEnergyPerTickInput(5 * energyScalingMultiplier[tier - 1]);
|
||||
|
||||
return builder;
|
||||
}
|
||||
|
||||
/*
|
||||
Forms the basic via the arguments given the function.
|
||||
*/
|
||||
function formBaseRecipe(tier as int, input as IOreDictEntry, inAmount as int, output as IOreDictEntry, outAmount as int) {
|
||||
var builder = formBaseRecipe(tier, input.name);
|
||||
builder
|
||||
.addItemInput(input, inAmount)
|
||||
.addItemOutput(output, outAmount)
|
||||
.build();
|
||||
}
|
||||
function formBaseRecipe(tier as int, input as IOreDictEntry, inAmount as int, output as IItemStack) {
|
||||
var builder = formBaseRecipe(tier, input.name);
|
||||
builder
|
||||
.addItemInput(input, inAmount)
|
||||
.addItemOutput(output)
|
||||
.build();
|
||||
}
|
||||
function formBaseRecipe(tier as int, input as IItemStack, output as IItemStack) {
|
||||
var builder = formBaseRecipe(tier, input.name);
|
||||
builder
|
||||
.addItemInput(input)
|
||||
.addItemOutput(output)
|
||||
.build();
|
||||
}
|
||||
|
||||
/*
|
||||
Create the builder/recipes based on the arguments given to the function.
|
||||
*/
|
||||
function addAllTiers(input as IOreDictEntry, inAmount as int, output as IOreDictEntry, outAmount as int) {
|
||||
formBaseRecipe(1, input, inAmount, output, outAmount);
|
||||
formBaseRecipe(2, input, inAmount, output, outAmount);
|
||||
formBaseRecipe(3, input, inAmount, output, outAmount);
|
||||
}
|
||||
function addAllTiers(input as IOreDictEntry, inAmount as int, output as IItemStack) {
|
||||
formBaseRecipe(1, input, inAmount, output);
|
||||
formBaseRecipe(2, input, inAmount, output);
|
||||
formBaseRecipe(3, input, inAmount, output);
|
||||
}
|
||||
function addAllTiers(input as IItemStack, output as IItemStack) {
|
||||
formBaseRecipe(1, input, output);
|
||||
formBaseRecipe(2, input, output);
|
||||
formBaseRecipe(3, input, output);
|
||||
}
|
||||
}
|
141
scripts/crafttweaker/classes/integration/orematic.zs
Normal file
141
scripts/crafttweaker/classes/integration/orematic.zs
Normal file
@ -0,0 +1,141 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages OreMatic Script
|
||||
|
||||
This script is a zenClass to allow easy interation with the MM OreMatic Machine.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils.createRecipeName;
|
||||
|
||||
/*
|
||||
OreMatic Class to intergrate with the custom machine even easier!
|
||||
*/
|
||||
zenClass OreMatic {
|
||||
var machine_name as string = "orematic5000";
|
||||
var energyScalingMultiplier as int[] = [4, 5, 10];
|
||||
var default_priority as int[] = [125, 250, 500];
|
||||
var default_ticktime as int = 125;
|
||||
var default_type as string = "";
|
||||
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Forms the basic recipe for all tiers
|
||||
|
||||
This is essentially Tier 1 that then can be built on top of as deemed necessary
|
||||
*/
|
||||
function formBaseRecipe(tier as int, tickTime as int, oreInput as IOreDictEntry, dustOutput as IItemStack, secondaryOuput as IOreDictEntry, secondaryChance as float) as RecipePrimer {
|
||||
return formBaseRecipe(tier, tickTime, oreInput, dustOutput, default_type, secondaryOuput, secondaryChance, 0);
|
||||
}
|
||||
function formBaseRecipe(tier as int, tickTime as int, oreInput as IOreDictEntry, dustOutput as IItemStack, type as string, secondaryOuput as IOreDictEntry, secondaryChance as float, priority as int) as RecipePrimer {
|
||||
var machine_slug = tier > 1 ? machine_name ~ "_mk" ~ tier : machine_name;
|
||||
|
||||
var builder = RecipeBuilder.newBuilder(
|
||||
createRecipeName(machine_name ~ "_mk" ~ tier, oreInput.name ~ "_processing" ~ type),
|
||||
machine_slug, tickTime, priority
|
||||
)
|
||||
.addEnergyPerTickInput(60 * energyScalingMultiplier[tier - 1])
|
||||
.addItemInput(oreInput)
|
||||
.addFluidInput(<liquid:water> * 250)
|
||||
.addGasInput("oxygen", 150)
|
||||
.addItemOutput(dustOutput * (3 + tier - 1));
|
||||
|
||||
if (!isNull(secondaryOuput) & tier > 2) {
|
||||
builder
|
||||
.addItemOutput(secondaryOuput)
|
||||
.addItemOutput(secondaryOuput)
|
||||
.setChance(secondaryChance);
|
||||
}
|
||||
|
||||
return builder;
|
||||
}
|
||||
|
||||
/*
|
||||
Forms the basic recipes for all tiers.
|
||||
|
||||
This is essentially Tier 1 that then can be built on top of as deemed necessary also adds the optional fluids which lower or increase the
|
||||
secondary outputs.
|
||||
*/
|
||||
function formBaseRecipe(tier as int, oreInput as IOreDictEntry, dustOutput as IItemStack, secondaryOuput as IOreDictEntry) as RecipePrimer[] {
|
||||
var allowGasoline = tier > 2;
|
||||
|
||||
return [
|
||||
// 0 - Basic
|
||||
formBaseRecipe(tier, default_ticktime, oreInput, dustOutput, secondaryOuput, 0.5f),
|
||||
// 1 - Lube
|
||||
formBaseRecipe(tier, 0.8 * default_ticktime, oreInput, dustOutput, "_lubricant", secondaryOuput, 0.5f, -125)
|
||||
.addFluidInput(<liquid:lubricant> * 50),
|
||||
// 2 - Gasoline
|
||||
allowGasoline ? formBaseRecipe(tier, default_ticktime, oreInput, dustOutput, "_gasoline", secondaryOuput, 0.75f, -250)
|
||||
.addFluidInput(<liquid:gasoline> * 150) : null,
|
||||
// 3 - Lube & Gasoline
|
||||
allowGasoline ? formBaseRecipe(tier, 0.7 * default_ticktime, oreInput, dustOutput, "_gasoline_lubricant", secondaryOuput, 0.75f, -500)
|
||||
.addFluidInput(<liquid:gasoline> * 150)
|
||||
.addFluidInput(<liquid:lubricant> * 50): null
|
||||
] as RecipePrimer[];
|
||||
}
|
||||
|
||||
/*
|
||||
Tier One (Base): Processing. This allows for 3 times dust production from Ores. This tier requires only Water and Oxygen.
|
||||
*/
|
||||
function addTier1(oreInput as IOreDictEntry, dustOutput as IItemStack, secondaryOuput as IOreDictEntry) {
|
||||
var baseRecipes = formBaseRecipe(1, oreInput, dustOutput, secondaryOuput);
|
||||
for baseRecipe in baseRecipes {
|
||||
if (!isNull(baseRecipe)) {
|
||||
baseRecipe.build();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Tier Two: Processing. This allows for 4 times dust production from Ores. This tier requires only Water, Oxygen and Hydrogen Cholride.
|
||||
*/
|
||||
function addTier2(oreInput as IOreDictEntry, dustOutput as IItemStack, secondaryOuput as IOreDictEntry) {
|
||||
var baseRecipes = formBaseRecipe(2, oreInput, dustOutput, secondaryOuput);
|
||||
for baseRecipe in baseRecipes {
|
||||
if (!isNull(baseRecipe)) {
|
||||
baseRecipe
|
||||
.addGasInput("hydrogenChloride", 200)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Tier Three: Processing. This allows for 5 times dust production from Ores. This tier requires only Water, Oxygen, Hydrogen Cholride
|
||||
and Sulfuric Acid.
|
||||
|
||||
This tier also has the option to allow adding Lube or Gasoline to increase the speed and enable getting secondary output from the ores
|
||||
your processing.
|
||||
*/
|
||||
function addTier3(oreInput as IOreDictEntry, dustOutput as IItemStack, secondaryOuput as IOreDictEntry) {
|
||||
var baseRecipes = formBaseRecipe(3, oreInput, dustOutput, secondaryOuput);
|
||||
for baseRecipe in baseRecipes {
|
||||
baseRecipe
|
||||
.addGasInput("hydrogenChloride", 200)
|
||||
.addGasInput("sulfuricAcid", 120)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Adds ore processing recipe to all tiers
|
||||
*/
|
||||
function addAllTiers(oreInput as IOreDictEntry, dustOutput as IItemStack, secondaryOuput as IOreDictEntry) {
|
||||
addTier1(oreInput, dustOutput, secondaryOuput);
|
||||
addTier2(oreInput, dustOutput, secondaryOuput);
|
||||
addTier3(oreInput, dustOutput, secondaryOuput);
|
||||
}
|
||||
}
|
90
scripts/crafttweaker/classes/mods/abyssalcraft.zs
Normal file
90
scripts/crafttweaker/classes/mods/abyssalcraft.zs
Normal file
@ -0,0 +1,90 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages AbyssalCraft Script
|
||||
|
||||
This script is a zenClass to allow easy interation with AbyssalCraft.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.abyssalcraft.Crystallizer;
|
||||
import mods.abyssalcraft.Materializer;
|
||||
import mods.abyssalcraft.Transmutator;
|
||||
import mods.abyssalcraft.RitualStages;
|
||||
|
||||
zenClass AbyssalCraft {
|
||||
var default_xp as float;
|
||||
|
||||
zenConstructor(defaultXP as float) {
|
||||
default_xp = defaultXP;
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Transmutator Recipe
|
||||
*/
|
||||
function removeTransmutation(input as IItemStack) {
|
||||
Transmutator.removeTransmutation(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Transmutator Recipe
|
||||
*/
|
||||
function addTransmutation(input as IItemStack, output as IItemStack) {
|
||||
Transmutator.addTransmutation(input, output, default_xp);
|
||||
}
|
||||
function addTransmutation(input as IItemStack, output as IItemStack, exp as float) {
|
||||
Transmutator.addTransmutation(input, output, exp as float);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crystallizer Recipe
|
||||
*/
|
||||
function removeCrystallization(input as IItemStack) {
|
||||
Crystallizer.removeCrystallization(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Single Crystallizer Recipe
|
||||
*/
|
||||
function addSingleCrystallization(input as IItemStack, output as IItemStack) {
|
||||
Crystallizer.addSingleCrystallization(input, output, default_xp);
|
||||
}
|
||||
function addSingleCrystallization(input as IItemStack, output as IItemStack, exp as float) {
|
||||
Crystallizer.addSingleCrystallization(input, output, exp);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Dual Crystallizer Recipe
|
||||
*/
|
||||
function addCrystallization(input as IItemStack, output as IItemStack, output2 as IItemStack) {
|
||||
Crystallizer.addCrystallization(input, output, output2, default_xp);
|
||||
}
|
||||
function addCrystallization(input as IItemStack, output as IItemStack, output2 as IItemStack, exp as float) {
|
||||
Crystallizer.addCrystallization(input, output, output2, exp);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Materializer Recipe
|
||||
*/
|
||||
function removeMaterialization(output as IItemStack) {
|
||||
Materializer.removeMaterialization(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Materializer Recipe
|
||||
*/
|
||||
function addMaterialization(output as IItemStack, input as IItemStack[]) {
|
||||
Materializer.addMaterialization(output, input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Ritual to a Stage.
|
||||
*/
|
||||
function addRitualStage(stage as string, ritual as string) {
|
||||
RitualStages.addRitualStage(stage, ritual);
|
||||
}
|
||||
}
|
36
scripts/crafttweaker/classes/mods/actuallyAdditions.zs
Normal file
36
scripts/crafttweaker/classes/mods/actuallyAdditions.zs
Normal file
@ -0,0 +1,36 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Actually Additions Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Actually Additions.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.actuallyadditions.Crusher;
|
||||
|
||||
zenClass ActuallyAdditions {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crusher Recipe
|
||||
*/
|
||||
function removeCrusher(output as IItemStack) {
|
||||
Crusher.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Crusher Recipe
|
||||
*/
|
||||
function addCrusher(output as IItemStack, input as IItemStack) {
|
||||
Crusher.addRecipe(output, input);
|
||||
}
|
||||
function addCrusher(output as IItemStack, input as IItemStack, outputSecondary as IItemStack, secondaryChance as int) {
|
||||
Crusher.addRecipe(output, input, outputSecondary, secondaryChance);
|
||||
}
|
||||
}
|
64
scripts/crafttweaker/classes/mods/appliedEnergistics.zs
Normal file
64
scripts/crafttweaker/classes/mods/appliedEnergistics.zs
Normal file
@ -0,0 +1,64 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Applied Energistics Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Applied Energistics.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
import mods.appliedenergistics2.Inscriber;
|
||||
import mods.appliedenergistics2.Grinder;
|
||||
|
||||
zenClass AppliedEnergistics {
|
||||
var default_spins as int;
|
||||
|
||||
zenConstructor(defaultSpins as int) {
|
||||
default_spins = defaultSpins;
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crusher Recipe
|
||||
*/
|
||||
function removeGrindstone(input as IItemStack) {
|
||||
Grinder.removeRecipe(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Crusher Recipe
|
||||
*/
|
||||
function addGrindstone(output as IItemStack, input as IItemStack) {
|
||||
Grinder.addRecipe(output, input, default_spins);
|
||||
}
|
||||
function addGrindstone(output as IItemStack, input as IItemStack, spins as int) {
|
||||
Grinder.addRecipe(output, input, spins);
|
||||
}
|
||||
function addGrindstone(output as IItemStack, input as IItemStack, spins as int, outputSecondary as IItemStack, secondaryChance as int) {
|
||||
Grinder.addRecipe(output, input, spins, outputSecondary, secondaryChance);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Inscriber Recipe.
|
||||
*/
|
||||
function removeInscribe(output as IItemStack) {
|
||||
Inscriber.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Inscriber Recipe.
|
||||
*/
|
||||
function addInscribe(output as IItemStack, input as IIngredient, inscribe as bool) {
|
||||
Inscriber.addRecipe(output, input, inscribe);
|
||||
}
|
||||
function addInscribe(output as IItemStack, input as IIngredient, inscribe as bool, top as IIngredient) {
|
||||
Inscriber.addRecipe(output, input, inscribe, top);
|
||||
}
|
||||
function addInscribe(output as IItemStack, input as IIngredient, inscribe as bool, top as IIngredient, bottom as IIngredient) {
|
||||
Inscriber.addRecipe(output, input, inscribe, top, bottom);
|
||||
}
|
||||
}
|
86
scripts/crafttweaker/classes/mods/armoreablemobs.zs
Normal file
86
scripts/crafttweaker/classes/mods/armoreablemobs.zs
Normal file
@ -0,0 +1,86 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Armoreable Mobs Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Armoreable Mobs.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.armoreablemobs.ArmorHandler;
|
||||
import mods.armoreablemobs.ArmorEntity;
|
||||
import mods.armoreablemobs.ArmorSlot;
|
||||
import mods.armoreablemobs.ArmorGroup;
|
||||
|
||||
zenClass ArmoreableMobs {
|
||||
var mobEntities as ArmorEntity[string][string] = {};
|
||||
|
||||
var defaultArmorDropChance as double = 0.15;
|
||||
var blankGroup as ArmorGroup = ArmorHandler.createArmorGroup("Blank", 1.0);
|
||||
|
||||
zenConstructor() {
|
||||
// Set up "Blank" group
|
||||
blankGroup.addArmor(ArmorHandler.createArmorSlot("head", null, 1, 0));
|
||||
blankGroup.addArmor(ArmorHandler.createArmorSlot("chest", null, 1, 0));
|
||||
blankGroup.addArmor(ArmorHandler.createArmorSlot("legs", null, 1, 0));
|
||||
blankGroup.addArmor(ArmorHandler.createArmorSlot("feet", null, 1, 0));
|
||||
blankGroup.addArmor(ArmorHandler.createArmorSlot("mainhand", null, 1, 0));
|
||||
blankGroup.addArmor(ArmorHandler.createArmorSlot("offhand", null, 1, 0));
|
||||
}
|
||||
|
||||
function addMobEntity(mobEntityType as string, mobName as string) {
|
||||
var mobEntityTypeExists as bool = (mobEntities has mobEntityType);
|
||||
|
||||
if (mobEntityTypeExists) {
|
||||
if (mobEntities[mobEntityType] has mobName) {
|
||||
logger.logWarning("Attempted to add " ~ mobName
|
||||
~ " as a mob armor entity but already exists in " ~ mobEntityType ~ " type");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
if (!mobEntityTypeExists) {
|
||||
mobEntities[mobEntityType] = {};
|
||||
}
|
||||
|
||||
mobEntities[mobEntityType][mobName] = ArmorHandler.createArmorEntity(mobName);
|
||||
}
|
||||
|
||||
function addMobEntities(mobEntityType as string, mobNames as string[]) {
|
||||
for mobName in mobNames {
|
||||
addMobEntity(mobEntityType, mobName);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears all gear from the mobs added to mobEntities
|
||||
*/
|
||||
function clearAllMobGear() {
|
||||
for mobEntityType, mobEntitiesForType in mobEntities {
|
||||
for mobName, mobEntity in mobEntitiesForType {
|
||||
blankGroup.addEntity(mobEntity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds armor group to the specified armor type
|
||||
*/
|
||||
function addArmorGroupToType(mobEntityType as string, armorGroup as ArmorGroup) {
|
||||
if (!(mobEntities has mobEntityType)) {
|
||||
logger.logWarning("Attempted to add armor group to " ~ mobEntityType ~ " mobs but none exist");
|
||||
}
|
||||
|
||||
for mobName, mobEntity in mobEntities[mobEntityType] {
|
||||
armorGroup.addEntity(mobEntity);
|
||||
}
|
||||
}
|
||||
|
||||
function addArmorGroupsToType(mobEntityType as string, armorGroups as ArmorGroup[]) {
|
||||
for armorGroup in armorGroups {
|
||||
addArmorGroupToType(mobEntityType, armorGroup);
|
||||
}
|
||||
}
|
||||
}
|
49
scripts/crafttweaker/classes/mods/astralSorcery.zs
Normal file
49
scripts/crafttweaker/classes/mods/astralSorcery.zs
Normal file
@ -0,0 +1,49 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Astral Sorcery Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Astral Sorcery.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.astralsorcery.Grindstone;
|
||||
import mods.astralsorcery.StarlightInfusion;
|
||||
|
||||
zenClass AstralSorcery {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Grindstone Recipe
|
||||
*/
|
||||
function removeGrindstone(output as IItemStack) {
|
||||
Grindstone.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Grindstone Recipe
|
||||
*/
|
||||
function addGrindstone(input as IItemStack, output as IItemStack) {
|
||||
Grindstone.addRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Starlight Infusion Recipe
|
||||
*/
|
||||
function removeStarlight(output as IItemStack) {
|
||||
StarlightInfusion.removeInfusion(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Starlight Infusion Recipe
|
||||
*/
|
||||
function addStarlight(input as IItemStack, output as IItemStack, consumeMultiple as bool, consumptionChance as float, tickTime as int) {
|
||||
StarlightInfusion.addInfusion(input, output, consumeMultiple, consumptionChance, tickTime);
|
||||
}
|
||||
}
|
||||
|
104
scripts/crafttweaker/classes/mods/betterwithmods.zs
Normal file
104
scripts/crafttweaker/classes/mods/betterwithmods.zs
Normal file
@ -0,0 +1,104 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Better With Mods/Addons Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Better With Mods/Addons.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.betterwithaddons.DryingBox;
|
||||
import mods.betterwithaddons.SoakingBox;
|
||||
import mods.betterwithaddons.Spindle;
|
||||
import mods.betterwithmods.Cauldron;
|
||||
import mods.betterwithmods.Crucible;
|
||||
import mods.betterwithmods.Kiln;
|
||||
import mods.betterwithmods.Mill;
|
||||
import mods.betterwithmods.Saw;
|
||||
|
||||
zenClass BetterWithMods {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Kiln recipe
|
||||
*/
|
||||
function removeKiln(input as IItemStack) {
|
||||
Kiln.remove(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Soaking recipe
|
||||
*/
|
||||
function removeSoaking(input as IItemStack) {
|
||||
SoakingBox.remove(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Saw recipe
|
||||
*/
|
||||
function removeSaw(outputs as IItemStack[]) {
|
||||
Saw.remove(outputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crucible recipe
|
||||
*/
|
||||
function removeCrucible(outputs as IItemStack[]) {
|
||||
Crucible.remove(outputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Spindle recipe
|
||||
*/
|
||||
function addSpindle(outputs as IItemStack[], input as IIngredient, consumesSpindle as bool) {
|
||||
Spindle.add(outputs, input, consumesSpindle);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Mill recipe.
|
||||
*/
|
||||
function addMilling(inputs as IIngredient[], outputs as IItemStack[]) {
|
||||
Mill.addRecipe(inputs, outputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Mill recipe.
|
||||
*/
|
||||
function removeMilling(outputs as IItemStack[]) {
|
||||
Mill.remove(outputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Cauldron recipe.
|
||||
*/
|
||||
function addCauldron(inputs as IIngredient[], outputs as IItemStack[]) {
|
||||
addCauldron(inputs, outputs, false);
|
||||
}
|
||||
function addCauldron(inputs as IIngredient[], outputs as IItemStack[], stoked as bool) {
|
||||
if (stoked) {
|
||||
Cauldron.addStoked(inputs, outputs);
|
||||
} else {
|
||||
Cauldron.addUnstoked(inputs, outputs);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Cauldron recipe.
|
||||
*/
|
||||
function removeCauldron(outputs as IItemStack[]) {
|
||||
Cauldron.remove(outputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Drying Box recipe.
|
||||
*/
|
||||
function removeDrying(input as IItemStack) {
|
||||
DryingBox.remove(input);
|
||||
}
|
||||
}
|
76
scripts/crafttweaker/classes/mods/bloodMagic.zs
Normal file
76
scripts/crafttweaker/classes/mods/bloodMagic.zs
Normal file
@ -0,0 +1,76 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Blood Magic Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Blood Magic.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
import mods.bloodmagic.AlchemyArray;
|
||||
import mods.bloodmagic.AlchemyTable;
|
||||
import mods.bloodmagic.BloodAltar;
|
||||
|
||||
zenClass BloodMagic {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Alchemy Table Recipe
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/BloodMagic/AlchemyTable/#removal
|
||||
*/
|
||||
function removeAlchemyTable(inputs as IItemStack[]) {
|
||||
AlchemyTable.removeRecipe(inputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Alchemy Table Recipe
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/BloodMagic/AlchemyTable/#addition
|
||||
*/
|
||||
function addAlchemyTable(output as IItemStack, inputs as IIngredient[], syphon as int, tickTime as int, minTier as int) {
|
||||
AlchemyTable.addRecipe(output, inputs, syphon, tickTime, minTier);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Alchemy Table Recipe
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/BloodMagic/AlchemyArray/#removal
|
||||
*/
|
||||
function removeAlchemyArray(input as IItemStack, catalyst as IItemStack) {
|
||||
AlchemyArray.removeRecipe(input, catalyst);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Alchemy Array Recipe
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/BloodMagic/AlchemyArray/#addition
|
||||
*/
|
||||
function addAlchemyArray(input as IItemStack, catalyst as IItemStack, output as IItemStack) {
|
||||
AlchemyArray.addRecipe(input, catalyst, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Blood Altar Recipe
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/BloodMagic/BloodAltar/#removal
|
||||
*/
|
||||
function removeAltar(input as IItemStack) {
|
||||
BloodAltar.removeRecipe(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Blood Altar Recipe
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/BloodMagic/BloodAltar/#addition
|
||||
*/
|
||||
function addAltar(output as IItemStack, input as IItemStack, minimumTier as int, syphon as int, consumeRate as int, drainRate as int) {
|
||||
BloodAltar.addRecipe(output, input, minimumTier, syphon, consumeRate, drainRate);
|
||||
}
|
||||
}
|
68
scripts/crafttweaker/classes/mods/horsePower.zs
Normal file
68
scripts/crafttweaker/classes/mods/horsePower.zs
Normal file
@ -0,0 +1,68 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Horse Power Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Horse Power.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.horsepower.ChoppingBlock;
|
||||
import mods.horsepower.Grindstone;
|
||||
import mods.horsepower.Press;
|
||||
import mods.horsepower.Recipes;
|
||||
|
||||
zenClass HorsePower {
|
||||
var def_chop as int;
|
||||
var def_grind as int;
|
||||
|
||||
zenConstructor(defChop as int, defGrind as int) {
|
||||
def_chop = defChop;
|
||||
def_grind = defGrind;
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Chopping Block recipe.
|
||||
|
||||
By default if not set recipes would be set to manual only.
|
||||
*/
|
||||
function addChopping(output as IItemStack, input as IIngredient) {
|
||||
addChopping(output, input, def_chop, true);
|
||||
}
|
||||
function addChopping(output as IItemStack, input as IIngredient, time as int) {
|
||||
addChopping(output, input, time, true);
|
||||
}
|
||||
function addChopping(output as IItemStack, input as IIngredient, time as int, manual as bool) {
|
||||
ChoppingBlock.add(input, output, time, manual);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Grindstone recipe.
|
||||
|
||||
By default if not set recipes would be set to manual only.
|
||||
*/
|
||||
function addGrindstone(output as IItemStack, input as IIngredient) {
|
||||
addGrindstone(output, input, def_grind, true);
|
||||
}
|
||||
function addGrindstone(output as IItemStack, input as IIngredient, secondaryOutput as IItemStack, secondaryChance as int) {
|
||||
addGrindstone(output, input, def_grind, true, secondaryOutput, secondaryChance);
|
||||
}
|
||||
function addGrindstone(output as IItemStack, input as IIngredient, time as int, hand as bool) {
|
||||
Grindstone.add(input, output, time, hand);
|
||||
}
|
||||
function addGrindstone(output as IItemStack, input as IIngredient, time as int, hand as bool, secondaryOutput as IItemStack, secondaryChance as int) {
|
||||
Grindstone.add(input, output, time, hand, secondaryOutput, secondaryChance);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Press recipe.
|
||||
*/
|
||||
function addPress(input as IIngredient, output as IItemStack) {
|
||||
Press.add(input, output);
|
||||
}
|
||||
}
|
109
scripts/crafttweaker/classes/mods/immersiveEngineering.zs
Normal file
109
scripts/crafttweaker/classes/mods/immersiveEngineering.zs
Normal file
@ -0,0 +1,109 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Immersive Engineering.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
import mods.immersiveengineering.AlloySmelter;
|
||||
import mods.immersiveengineering.ArcFurnace;
|
||||
import mods.immersiveengineering.Crusher;
|
||||
import mods.immersiveengineering.MetalPress;
|
||||
|
||||
zenClass ImmersiveEngineering {
|
||||
var default_energy as int;
|
||||
var default_alloy as int;
|
||||
|
||||
zenConstructor(defaultEnergy as int, defaultAlloy as int) {
|
||||
default_energy = defaultEnergy;
|
||||
default_alloy = defaultAlloy;
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crusher Recipe by Output. (Default)
|
||||
*/
|
||||
function removeCrusher(output as IItemStack) {
|
||||
Crusher.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crusher Recipe by Input.
|
||||
*/
|
||||
function removeCrusherByInput(input as IItemStack) {
|
||||
Crusher.removeRecipesForInput(input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Crusher Recipe
|
||||
*/
|
||||
function addCrusher(output as IItemStack, input as IIngredient) {
|
||||
Crusher.addRecipe(output, input, default_energy);
|
||||
}
|
||||
function addCrusher(output as IItemStack, input as IIngredient, energy as int) {
|
||||
Crusher.addRecipe(output, input, energy);
|
||||
}
|
||||
function addCrusher(output as IItemStack, input as IIngredient, secondaryOutput as IItemStack, secondaryChance as double) {
|
||||
Crusher.addRecipe(output, input, default_energy, secondaryOutput, secondaryChance);
|
||||
}
|
||||
function addCrusher(output as IItemStack, input as IIngredient, energy as int, secondaryOutput as IItemStack, secondaryChance as double) {
|
||||
Crusher.addRecipe(output, input, energy, secondaryOutput, secondaryChance);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Alloy Smelter Recipe
|
||||
*/
|
||||
function removeAlloy(output as IItemStack) {
|
||||
AlloySmelter.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Alloy Smelter Recipe
|
||||
*/
|
||||
function addAlloy(output as IItemStack, input as IIngredient, input2 as IIngredient) {
|
||||
AlloySmelter.addRecipe(output, input, input2, default_alloy);
|
||||
}
|
||||
function addAlloy(output as IItemStack, input as IIngredient, input2 as IIngredient, time as int) {
|
||||
AlloySmelter.addRecipe(output, input, input2, time);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Arc Furnace Recipe
|
||||
*/
|
||||
function removeArcFurn(output as IItemStack) {
|
||||
ArcFurnace.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Arc Furnace Recipe
|
||||
*/
|
||||
function addArcFurn(output as IItemStack, input as IIngredient, slag as IItemStack, time as int, energy as int) {
|
||||
ArcFurnace.addRecipe(output, input, slag, time, energy);
|
||||
}
|
||||
function addArcFurn(output as IItemStack, input as IIngredient, slag as IItemStack, time as int, energy as int, additives as IIngredient[]) {
|
||||
ArcFurnace.addRecipe(output, input, slag, time, energy, additives);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Metal Press Recipe
|
||||
*/
|
||||
function removePress(output as IItemStack) {
|
||||
MetalPress.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Metal Press Recipe
|
||||
*/
|
||||
function addPress(output as IItemStack, input as IIngredient, mold as IItemStack, inputSize as int) {
|
||||
MetalPress.addRecipe(output, input, mold, 500, inputSize);
|
||||
}
|
||||
function addPress(output as IItemStack, input as IIngredient, mold as IItemStack, energy as int, inputSize as int) {
|
||||
MetalPress.addRecipe(output, input, mold, energy, inputSize);
|
||||
}
|
||||
}
|
234
scripts/crafttweaker/classes/mods/mekanism.zs
Normal file
234
scripts/crafttweaker/classes/mods/mekanism.zs
Normal file
@ -0,0 +1,234 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Mekanism Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Mekanism.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
|
||||
import mod.mekanism.gas.IGasStack;
|
||||
|
||||
import mods.mekanism.chemical.crystallizer as Crystallizer;
|
||||
import mods.mekanism.chemical.injection as Injection;
|
||||
import mods.mekanism.combiner as Combiner;
|
||||
import mods.mekanism.compressor as Compressor;
|
||||
import mods.mekanism.crusher as Crusher;
|
||||
import mods.mekanism.enrichment as Enrichment;
|
||||
import mods.mekanism.infuser as Infuser;
|
||||
import mods.mekanism.purification as PurificationChamber;
|
||||
import mods.mekanism.reaction as PressurisedReactionChamber;
|
||||
import mods.mekanism.sawmill as Sawmill;
|
||||
import mods.mekanism.smelter as Smelter;
|
||||
|
||||
zenClass Mekanism {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Enrichment Chamber Recipe
|
||||
*/
|
||||
function removeEnrichment(input as IIngredient) {
|
||||
Enrichment.removeRecipe(input);
|
||||
}
|
||||
function removeEnrichment(input as IIngredient, output as IIngredient) {
|
||||
Enrichment.removeRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Enrichment Chamber Recipe
|
||||
*/
|
||||
function addEnrichment(input as IIngredient, output as IItemStack) {
|
||||
Enrichment.addRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Chemical Injection Chamber Recipe
|
||||
*/
|
||||
function addChemicalInjection(input as IIngredient, gasInput as IGasStack, output as IItemStack) {
|
||||
Injection.addRecipe(input, gasInput, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Chemical Injection Chamber Recipe
|
||||
*/
|
||||
function removeChemicalInjection(output as IIngredient) {
|
||||
Injection.removeRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Combiner Recipe
|
||||
*/
|
||||
function addCombiner(input as IIngredient, extraInput as IIngredient, output as IItemStack) {
|
||||
Combiner.addRecipe(input, extraInput, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Combiner Recipe
|
||||
*/
|
||||
function removeCombiner(output as IIngredient) {
|
||||
Combiner.removeRecipe(output);
|
||||
}
|
||||
function removeCombiner(output as IIngredient, input as IIngredient) {
|
||||
Combiner.removeRecipe(output, input);
|
||||
}
|
||||
function removeCombiner(output as IIngredient, input as IIngredient, extra as IIngredient) {
|
||||
Combiner.removeRecipe(output, input, extra);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Crusher Recipe
|
||||
*/
|
||||
function addCrusher(input as IIngredient, output as IItemStack) {
|
||||
Crusher.addRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Crusher Recipe
|
||||
*/
|
||||
function removeCrusher(output as IIngredient) {
|
||||
Crusher.removeRecipe(output);
|
||||
}
|
||||
function removeCrusher(output as IIngredient, input as IIngredient) {
|
||||
Crusher.removeRecipe(output, input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Infuser Recipe
|
||||
*/
|
||||
function addInfusion(infusionType as string, toConsume as int, input as IIngredient, output as IItemStack) {
|
||||
Infuser.addRecipe(infusionType, toConsume, input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Infuser Recipe
|
||||
*/
|
||||
function removeInfusion(output as IIngredient) {
|
||||
Infuser.removeRecipe(output);
|
||||
}
|
||||
function removeInfusion(output as IIngredient, input as IIngredient, infusionType as string) {
|
||||
Infuser.removeRecipe(output, input, infusionType);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Chemical Crystallizer Recipe
|
||||
*/
|
||||
function addChemicalCrystallizer(inputGas as IGasStack, output as IItemStack) {
|
||||
Crystallizer.addRecipe(inputGas, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Chemical Crystallizer Recipe
|
||||
*/
|
||||
function removeChemicalCrystallizer(output as IIngredient) {
|
||||
Crystallizer.removeRecipe(output);
|
||||
}
|
||||
function removeChemicalCrystallizer(output as IIngredient, inputGas as IIngredient) {
|
||||
Crystallizer.removeRecipe(output, inputGas);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Energized Smelter Recipe
|
||||
*/
|
||||
function addSmelter(input as IIngredient, output as IItemStack) {
|
||||
Smelter.addRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Energized Smelter Recipe
|
||||
*/
|
||||
function removeSmelter(input as IIngredient) {
|
||||
Smelter.removeRecipe(input);
|
||||
}
|
||||
function removeSmelter(input as IIngredient, output as IIngredient) {
|
||||
Smelter.removeRecipe(input, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Osmium Compressor Recipe
|
||||
*/
|
||||
function addCompressor(input as IIngredient, output as IItemStack) {
|
||||
Compressor.addRecipe(input, output);
|
||||
}
|
||||
function addCompressor(input as IIngredient, inputGas as IGasStack, output as IItemStack) {
|
||||
Compressor.addRecipe(input, inputGas, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Osmium Compressor Recipe
|
||||
*/
|
||||
function removeCompressor(output as IItemStack) {
|
||||
Compressor.removeRecipe(output);
|
||||
}
|
||||
function removeCompressor(output as IItemStack, input as IIngredient, inputGas as IIngredient) {
|
||||
Compressor.removeRecipe(output, input, inputGas);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Sawmill Recipe
|
||||
*/
|
||||
function addSawmill(input as IIngredient, output as IItemStack) {
|
||||
Sawmill.addRecipe(input, output);
|
||||
}
|
||||
function addSawmill(input as IIngredient, output as IItemStack, bonusOutput as IItemStack, bonusChance as double) {
|
||||
Sawmill.addRecipe(input, output, bonusOutput, bonusChance);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Sawmill Recipe
|
||||
*/
|
||||
function removeSawmill(input as IIngredient) {
|
||||
Sawmill.removeRecipe(input);
|
||||
}
|
||||
function removeSawmill(input as IIngredient, output as IIngredient) {
|
||||
Sawmill.removeRecipe(input, output);
|
||||
}
|
||||
function removeSawmill(input as IIngredient, output as IIngredient, bonusOutput as IIngredient) {
|
||||
Sawmill.removeRecipe(input, output, bonusOutput);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Purification Chamber Recipe
|
||||
*/
|
||||
function addPurification(input as IIngredient, output as IItemStack) {
|
||||
PurificationChamber.addRecipe(input, output);
|
||||
}
|
||||
function addPurification(input as IIngredient, inputGas as IGasStack, output as IItemStack) {
|
||||
PurificationChamber.addRecipe(input, inputGas, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Purification Chamber Recipe
|
||||
*/
|
||||
function removePurification(output as IItemStack) {
|
||||
PurificationChamber.removeRecipe(output);
|
||||
}
|
||||
function removePurification(output as IItemStack, input as IIngredient, inputGas as IIngredient) {
|
||||
PurificationChamber.removeRecipe(output, input, inputGas);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Pressurised Reaction Chamber Recipe
|
||||
|
||||
An energy value of 0.0 uses a default value in Mekanism
|
||||
*/
|
||||
function addPRC(itemInput as IIngredient, liquidInput as ILiquidStack, gasInput as IGasStack, itemOutput as IItemStack, gasOutput as IGasStack, energy as double, duration as int) {
|
||||
PressurisedReactionChamber.addRecipe(itemInput, liquidInput, gasInput, itemOutput, gasOutput, energy, duration);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Pressurised Reaction Chamber Recipe
|
||||
*/
|
||||
function removePRC(itemOutput as IIngredient, gasOutput as IGasStack) {
|
||||
PressurisedReactionChamber.removeRecipe(itemOutput, gasOutput);
|
||||
}
|
||||
function removePRC(itemOutput as IIngredient, gasOutput as IGasStack, itemInput as IIngredient, liquidInput as ILiquidStack, gasInput as IGasStack) {
|
||||
PressurisedReactionChamber.removeRecipe(itemOutput, gasOutput, itemInput, liquidInput, gasInput);
|
||||
}
|
||||
}
|
125
scripts/crafttweaker/classes/mods/tinkers.zs
Normal file
125
scripts/crafttweaker/classes/mods/tinkers.zs
Normal file
@ -0,0 +1,125 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Tinkers Construct Script
|
||||
|
||||
This script is a zenClass to allow easy interation with Tinkers Construct.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.entity.IEntityDefinition;
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
|
||||
import mods.tconstruct.Alloy;
|
||||
import mods.tconstruct.Casting;
|
||||
import mods.tconstruct.Drying;
|
||||
import mods.tconstruct.Melting;
|
||||
|
||||
zenClass Tinkers {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Alloying recipe.
|
||||
*/
|
||||
function addAlloying(output as ILiquidStack, inputs as ILiquidStack[]) {
|
||||
Alloy.addRecipe(output, inputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Alloying recipe.
|
||||
*/
|
||||
function removeAlloying(output as ILiquidStack) {
|
||||
Alloy.removeRecipe(output);
|
||||
}
|
||||
function removeAlloying(output as ILiquidStack, inputs as ILiquidStack[]) {
|
||||
Alloy.removeRecipe(output, inputs);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Casting Table recipe.
|
||||
*/
|
||||
function addCastingTable(output as IItemStack, cast as IIngredient, fluid as ILiquidStack, amount as int) {
|
||||
Casting.addTableRecipe(output, cast, fluid, amount);
|
||||
}
|
||||
function addCastingTable(output as IItemStack, cast as IIngredient, fluid as ILiquidStack, amount as int, consumeCast as bool) {
|
||||
Casting.addTableRecipe(output, cast, fluid, amount, consumeCast);
|
||||
}
|
||||
function addCastingTable(output as IItemStack, cast as IIngredient, fluid as ILiquidStack, amount as int, consumeCast as bool, time as int) {
|
||||
Casting.addTableRecipe(output, cast, fluid, amount, consumeCast, time);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Casting Table recipe.
|
||||
*/
|
||||
function removeCastingTable(output as IItemStack) {
|
||||
Casting.removeTableRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add an Casting Basin recipe.
|
||||
*/
|
||||
function addCastingBasin(output as IItemStack, cast as IIngredient, fluid as ILiquidStack, amount as int) {
|
||||
Casting.addBasinRecipe(output, cast, fluid, amount);
|
||||
}
|
||||
function addCastingBasin(output as IItemStack, cast as IIngredient, fluid as ILiquidStack, amount as int, consumeCast as bool) {
|
||||
Casting.addBasinRecipe(output, cast, fluid, amount, consumeCast);
|
||||
}
|
||||
function addCastingBasin(output as IItemStack, cast as IIngredient, fluid as ILiquidStack, amount as int, consumeCast as bool, time as int) {
|
||||
Casting.addBasinRecipe(output, cast, fluid, amount, consumeCast, time);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove an Casting Basin recipe.
|
||||
*/
|
||||
function removeCastingBasin(output as IItemStack) {
|
||||
Casting.removeBasinRecipe(output);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Drying Recipe
|
||||
*/
|
||||
function addDrying(output as IItemStack, input as IIngredient, time as int) {
|
||||
Drying.addRecipe(output, input, time);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Drying Recipe.
|
||||
*/
|
||||
function removeDrying(output as IItemStack) {
|
||||
Drying.removeRecipe(output);
|
||||
}
|
||||
function removeDrying(output as IItemStack, input as IItemStack) {
|
||||
Drying.removeRecipe(output, input);
|
||||
}
|
||||
|
||||
/*
|
||||
Add a Melting Recipe.
|
||||
*/
|
||||
function addMelting(output as ILiquidStack, input as IIngredient) {
|
||||
Melting.addRecipe(output, input);
|
||||
}
|
||||
function addMelting(output as ILiquidStack, input as IIngredient, time as int) {
|
||||
Melting.addRecipe(output, input, time);
|
||||
}
|
||||
function addMeltingEntity(entity as IEntityDefinition, output as ILiquidStack) {
|
||||
Melting.addEntityMelting(entity, output);
|
||||
}
|
||||
|
||||
/*
|
||||
Remove a Melting Recipe.
|
||||
*/
|
||||
function removeMelting(output as ILiquidStack) {
|
||||
Melting.removeRecipe(output);
|
||||
}
|
||||
function removeMelting(output as ILiquidStack, input as IItemStack) {
|
||||
Melting.removeRecipe(output, input);
|
||||
}
|
||||
function removeMeltingEntity(entity as IEntityDefinition) {
|
||||
Melting.removeEntityMelting(entity);
|
||||
}
|
||||
}
|
315
scripts/crafttweaker/classes/resources/metals.zs
Normal file
315
scripts/crafttweaker/classes/resources/metals.zs
Normal file
@ -0,0 +1,315 @@
|
||||
#priority 2751
|
||||
|
||||
/*
|
||||
SevTech: Ages Metals Processing Script
|
||||
|
||||
TODO:
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
zenClass Metals {
|
||||
var defaultArcEnergyPerTick as int = 512;
|
||||
var defaultArcTickTime as int = 100;
|
||||
var arcGivesSlag as bool = false;
|
||||
var immersivePressEnergy as int = 2400;
|
||||
var packingMold as IItemStack = <immersiveengineering:mold:6>;
|
||||
var unpackingMold as IItemStack = <immersiveengineering:mold:7>;
|
||||
var packingInputCount as int = 9;
|
||||
var packingOutputCount as int = 1;
|
||||
var unpackingInputCount as int = 1;
|
||||
var unpackingOutputCount as int = 9;
|
||||
|
||||
var wires as IItemStack[string] = {
|
||||
aluminum: <immersiveengineering:material:22>,
|
||||
copper: <immersiveengineering:material:20>,
|
||||
electrum: <immersiveengineering:material:21>,
|
||||
steel: <immersiveengineering:material:23>
|
||||
};
|
||||
|
||||
/*
|
||||
Secondary Output mapping for Ores.
|
||||
|
||||
This should link/be to/an OreDict entry always!
|
||||
*/
|
||||
var secondaryOutputs as IOreDictEntry[string] = {
|
||||
copper: metals.gold.dust,
|
||||
iron: metals.nickel.dust,
|
||||
lead: metals.silver.dust,
|
||||
nickel: metals.platinum.dust,
|
||||
platinum: metals.nickel.dust,
|
||||
silver: metals.lead.dust,
|
||||
uranium: metals.lead.dust
|
||||
};
|
||||
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
function handleTinkers(preferredMetalItem as IItemStack, metalName as string, metalPartName as string, metalLiquid as ILiquidStack) {
|
||||
var fluidAmount as int = utils.getFluidAmount(metalPartName);
|
||||
|
||||
// ==============================
|
||||
// Melting
|
||||
tinkers.removeMelting(metalLiquid * 1, preferredMetalItem);
|
||||
if (fluidAmount != 0) {
|
||||
tinkers.addMelting(metalLiquid * fluidAmount, preferredMetalItem);
|
||||
}
|
||||
|
||||
// ==============================
|
||||
// Casting
|
||||
if (metalPartName == "block") {
|
||||
tinkers.removeCastingBasin(preferredMetalItem);
|
||||
tinkers.addCastingBasin(preferredMetalItem, null, metalLiquid, fluidAmount, false);
|
||||
} else {
|
||||
var tinkersCast as IItemStack = utils.getCast(metalPartName);
|
||||
if (tinkersCast as bool) {
|
||||
tinkers.removeCastingTable(preferredMetalItem);
|
||||
tinkers.addCastingTable(preferredMetalItem, tinkersCast, metalLiquid, fluidAmount, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function handleDirtyDust(preferredMetalItem as IItemStack, metalName as string, metal as IOreDictEntry[string]) {
|
||||
mekanism.removeEnrichment(preferredMetalItem);
|
||||
if (metalItems[metalName].dust as bool) {
|
||||
mekanism.addEnrichment(preferredMetalItem, metalItems[metalName].dust.items[0]);
|
||||
}
|
||||
// Handle the dirtyDust set in the map to force change the outcome. (Fixes an issue with Meka registration)
|
||||
mekanism.removeEnrichment(metal.dirtyDust.firstItem);
|
||||
mekanism.addEnrichment(metal.dirtyDust.firstItem, metal.dust.firstItem);
|
||||
}
|
||||
|
||||
function handleDust(preferredMetalItem as IItemStack, metalName as string, metalPartName as string, metal as IOreDictEntry[string]) {
|
||||
immersiveEngineering.addArcFurn(
|
||||
metalItems[metalName].ingot.items[0],
|
||||
metal[metalPartName],
|
||||
arcGivesSlag ? <ore:itemSlag>.firstItem : null,
|
||||
defaultArcTickTime,
|
||||
defaultArcEnergyPerTick
|
||||
);
|
||||
// Later Stage Smelting.
|
||||
mekanism.addSmelter(preferredMetalItem, metalItems[metalName].ingot.items[0]);
|
||||
}
|
||||
|
||||
function handleIngot(preferredMetalItem as IItemStack, metalName as string, metalPartName as string) {
|
||||
// Remove ingot recipes, mainly for preventing ore doubling recipes.
|
||||
immersiveEngineering.removeArcFurn(preferredMetalItem);
|
||||
|
||||
// ==============================
|
||||
// Nugget
|
||||
if (metalItems[metalName].nugget as bool) {
|
||||
// Packing
|
||||
immersiveEngineering.addPress(
|
||||
preferredMetalItem * packingOutputCount,
|
||||
metalItems[metalName].nugget.items[0],
|
||||
packingMold,
|
||||
immersivePressEnergy,
|
||||
packingInputCount
|
||||
);
|
||||
|
||||
// Unpacking
|
||||
immersiveEngineering.addPress(
|
||||
metalItems[metalName].nugget.items[0] * unpackingOutputCount,
|
||||
preferredMetalItem,
|
||||
unpackingMold,
|
||||
immersivePressEnergy,
|
||||
unpackingInputCount
|
||||
);
|
||||
}
|
||||
|
||||
// ==============================
|
||||
// Block
|
||||
if (metalItems[metalName].block as bool) {
|
||||
// Packing
|
||||
immersiveEngineering.addPress(
|
||||
metalItems[metalName].block.items[0] * packingOutputCount,
|
||||
preferredMetalItem,
|
||||
packingMold,
|
||||
immersivePressEnergy,
|
||||
packingInputCount
|
||||
);
|
||||
|
||||
// Unpacking
|
||||
immersiveEngineering.addPress(
|
||||
preferredMetalItem * unpackingOutputCount,
|
||||
metalItems[metalName].block.items[0],
|
||||
unpackingMold,
|
||||
immersivePressEnergy,
|
||||
unpackingInputCount
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function handlePlate(preferredMetalItem as IItemStack, metalName as string) {
|
||||
mods.primaltech.StoneAnvil.addRecipe(preferredMetalItem, metalItems[metalName].ingot.items[0]);
|
||||
// Plates should also be used in place of ingots for wire.
|
||||
if (metalName == "copper" | metalName == "electrum" | metalName == "aluminum" | metalName == "steel") {
|
||||
immersiveEngineering.addPress(
|
||||
wires[metalName] * 2,
|
||||
preferredMetalItem,
|
||||
<immersiveengineering:mold:4>,
|
||||
immersivePressEnergy,
|
||||
1
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function handleBlock(preferredMetalItem as IItemStack, metalName as string) {
|
||||
mods.primaltech.StoneAnvil.addRecipe(metalItems[metalName].ingot.items[0] * 9, preferredMetalItem);
|
||||
}
|
||||
|
||||
function handleRod(preferredMetalItem as IItemStack, metalName as string) {
|
||||
mods.primaltech.StoneAnvil.addRecipe(preferredMetalItem, metalItems[metalName].plate.items[0]);
|
||||
}
|
||||
|
||||
function handlePress(preferredMetalItem as IItemStack, metalName as string, metalPartName as string) {
|
||||
var pressMold as IItemStack = utils.getMold(metalPartName);
|
||||
|
||||
if (pressMold as bool) {
|
||||
immersiveEngineering.removePress(preferredMetalItem);
|
||||
immersiveEngineering.addPress(
|
||||
preferredMetalItem * utils.getPressOutputCount(metalPartName),
|
||||
metalItems[metalName].ingot.items[0],
|
||||
pressMold,
|
||||
immersivePressEnergy,
|
||||
utils.getPressInputCount(metalPartName)
|
||||
);
|
||||
}
|
||||
|
||||
if (metalPartName != "plate" & metalItems[metalName].plate as bool) {
|
||||
immersiveEngineering.addPress(
|
||||
preferredMetalItem * utils.getPressOutputCount(metalPartName),
|
||||
metalItems[metalName].plate.items[0],
|
||||
pressMold,
|
||||
immersivePressEnergy,
|
||||
utils.getPressInputCount(metalPartName)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// ==============================
|
||||
// Ore Processing/Handling
|
||||
|
||||
/*
|
||||
Remove all the current recipes for the ore and mods processing so we can add back in our tier system.
|
||||
|
||||
(Some of these are not really needed but it flushes the system and ensures for compat with our forced dusts)
|
||||
*/
|
||||
function removeOreRecipes(metalType as IOreDictEntry[string]) {
|
||||
// Remove Ore recipes from mods which support IIngredient.
|
||||
mekanism.removeEnrichment(metalType.ore);
|
||||
// Remove Starlight Ingot Conversion.
|
||||
astralSorcery.removeStarlight(metalType.ingot.firstItem);
|
||||
// Remove the Ingot -> Dust recipe from Applied Energistics.
|
||||
appliedEnergistics.removeGrindstone(metalType.ingot.firstItem);
|
||||
|
||||
// Remove all Dust recipes.
|
||||
for dust in metalType.dust.items {
|
||||
// Remove the dust from Actually Additions.
|
||||
actuallyAdditions.removeCrusher(dust);
|
||||
// Remove the dust from Astral Sorcery.
|
||||
astralSorcery.removeGrindstone(dust);
|
||||
astralSorcery.removeStarlight(dust);
|
||||
// Remove the dust from IE Crusher.
|
||||
immersiveEngineering.removeCrusher(dust);
|
||||
// Remove the dust from Mekanism.
|
||||
mekanism.removeCrusher(dust);
|
||||
}
|
||||
// Remove all Ore recipes.
|
||||
for ore in metalType.ore.items {
|
||||
// Remove the ore from Applied Energistics.
|
||||
appliedEnergistics.removeGrindstone(ore);
|
||||
// Remove the ore from Blood Magic.
|
||||
bloodMagic.removeAlchemyTable([ore, <bloodmagic:cutting_fluid:0>] as IItemStack[]);
|
||||
// Remove the ore from AbyssalCraft.
|
||||
abyssalcraft.removeCrystallization(ore);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Add the recipes following our tier system back to the game.
|
||||
|
||||
These are added using our tier system, along with tweaks to how progression works each tier
|
||||
is noted below and self explained with the method calling to the mods.
|
||||
*/
|
||||
function createOreRecipes(metalType as IOreDictEntry[string], oreSecondOutput as IOreDictEntry) {
|
||||
// Add recipes for mods which support input by IIngredient.
|
||||
if (!isNull(oreSecondOutput)) {
|
||||
// Tier 2 Recipes
|
||||
immersiveEngineering.addCrusher(metalType.dust.firstItem * 2, metalType.ore, immersiveEngineering.default_energy, oreSecondOutput.firstItem, 0.25);
|
||||
} else {
|
||||
// Tier 2 Recipes
|
||||
immersiveEngineering.addCrusher(metalType.dust.firstItem * 2, metalType.ore);
|
||||
}
|
||||
|
||||
for ore in metalType.ore.items {
|
||||
// Tier 1 Recipes
|
||||
appliedEnergistics.addGrindstone(metalType.dust.firstItem, ore);
|
||||
astralSorcery.addGrindstone(ore, metalType.dust.firstItem);
|
||||
|
||||
// Tier 3 Recipes
|
||||
mekanism.addCrusher(ore, metalType.dust.firstItem * 2);
|
||||
|
||||
if (!isNull(oreSecondOutput)) {
|
||||
// Tier 3 Recipes
|
||||
actuallyAdditions.addCrusher(metalType.dust.firstItem * 2, ore, oreSecondOutput.firstItem, 50);
|
||||
} else {
|
||||
// Tier 3 Recipes
|
||||
actuallyAdditions.addCrusher(metalType.dust.firstItem * 2, ore);
|
||||
}
|
||||
}
|
||||
|
||||
// Tier 4 Recipes
|
||||
createTier4Recipes(metalType, oreSecondOutput);
|
||||
}
|
||||
|
||||
/*
|
||||
Add the conversion recipes for the ore sub items.
|
||||
|
||||
This adds the processing such as Ingot -> Dust or other conversions needed for the Ore outputs which are removed
|
||||
in process with cleaning up via the `removeRecipes` Function.
|
||||
*/
|
||||
function createConversionRecipes(metalName as string, metalType as IOreDictEntry[string]) {
|
||||
// Handle the Ingot -> Dust conversion.
|
||||
if (metalType has "dust" & !isNull(metalItems[metalName].dust)) {
|
||||
immersiveEngineering.addCrusher(metalType.dust.firstItem, metalItems[metalName].ingot.items[0], 256);
|
||||
appliedEnergistics.addGrindstone(metalType.dust.firstItem, metalItems[metalName].ingot.items[0]);
|
||||
astralSorcery.addGrindstone(metalItems[metalName].ingot.items[0], metalType.dust.firstItem);
|
||||
actuallyAdditions.addCrusher(metalType.dust.firstItem, metalItems[metalName].ingot.items[0]);
|
||||
mekanism.addCrusher(metalItems[metalName].ingot.items[0], metalType.dust.firstItem);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Add the recipes to the Modular Machine for processing Ores.
|
||||
|
||||
This is a custom machine using various gases/fluids to tie with Mekanism but allow the
|
||||
player to explore with other options and to improve efficiency with autocrafting/autoprocessing.
|
||||
*/
|
||||
function createTier4Recipes(metalType as IOreDictEntry[string], oreSecondOutput as IOreDictEntry) {
|
||||
// Add the ore to the OreMatic 5000.
|
||||
orematic.addAllTiers(metalType.ore, metalType.dust.firstItem, oreSecondOutput);
|
||||
}
|
||||
|
||||
/*
|
||||
Handle Ores by removing all recipes which are created from the Ore. Then re-add them using our logic/changes.
|
||||
Also add processing for the Ore Matic to enable faster Ore Processing in later Ages.
|
||||
*/
|
||||
function handleOre(metalName as string, metalType as IOreDictEntry[string]) {
|
||||
var secondaryOutput as IOreDictEntry = secondaryOutputs[metalName];
|
||||
// Remove all the old recipes for the ore conversion.
|
||||
removeOreRecipes(metalType);
|
||||
// Add back the recipes needed for the Tier'd Ore Processing.
|
||||
createOreRecipes(metalType, secondaryOutput);
|
||||
// Add back the conversion recipes which are removed by the script (Due to how the removals work).
|
||||
createConversionRecipes(metalName, metalType);
|
||||
}
|
||||
}
|
146
scripts/crafttweaker/classes/resources/resources.zs
Normal file
146
scripts/crafttweaker/classes/resources/resources.zs
Normal file
@ -0,0 +1,146 @@
|
||||
#priority 2650
|
||||
|
||||
/*
|
||||
SevTech: Ages Resources Script
|
||||
|
||||
It does things and stuff which some of us understand?
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.data.IData;
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import mods.zenstages.ZenStager;
|
||||
|
||||
import scripts.crafttweaker.craftingUtils;
|
||||
import scripts.crafttweaker.stages.metalStages;
|
||||
|
||||
zenClass Resources {
|
||||
var partsToSkip as string[] = [
|
||||
"clump",
|
||||
"crystal",
|
||||
"shard"
|
||||
];
|
||||
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Returns liquid if it exists for that metal if not return null.
|
||||
*/
|
||||
function getMetalLiquid(metalName as string) as ILiquidStack {
|
||||
return metalItems[metalName].liquid as bool ? metalItems[metalName].liquid.liquids[0] : null;
|
||||
}
|
||||
|
||||
/*
|
||||
Returns item if it exists for that metal if not return null.
|
||||
*/
|
||||
function getPreferredMetalItem(metalName as string, metalPartName as string) as IItemStack {
|
||||
return metalItems[metalName][metalPartName] as bool ? metalItems[metalName][metalPartName].items[0] : null;
|
||||
}
|
||||
|
||||
/*
|
||||
This method will handle the part being passed. This will perform the magic required to make the magic happen!
|
||||
*/
|
||||
function processPart(metalName as string, metalPartName as string, metal as IOreDictEntry[string], preferredMetalItem as IItemStack, metalLiquid as ILiquidStack, doFurnace as bool, metalStage as string, hasLiquid as bool) {
|
||||
recipes.remove(preferredMetalItem);
|
||||
furnace.remove(preferredMetalItem);
|
||||
|
||||
if (hasLiquid) {
|
||||
metalProc.handleTinkers(preferredMetalItem, metalName, metalPartName, metalLiquid);
|
||||
}
|
||||
|
||||
// ==============================
|
||||
// Process the part via their own handlers.
|
||||
if (metalPartName == "dirtyDust") {
|
||||
metalProc.handleDirtyDust(preferredMetalItem, metalName, metal);
|
||||
} else if (metalPartName == "dust") {
|
||||
metalProc.handleDust(preferredMetalItem, metalName, metalPartName, metal);
|
||||
} else if (metalPartName == "ingot") {
|
||||
metalProc.handleIngot(preferredMetalItem, metalName, metalPartName);
|
||||
} else if (metalPartName == "plate") {
|
||||
metalProc.handlePlate(preferredMetalItem, metalName);
|
||||
} else if (metalPartName == "block") {
|
||||
metalProc.handleBlock(preferredMetalItem, metalName);
|
||||
} else if (metalPartName == "rod") {
|
||||
metalProc.handleRod(preferredMetalItem, metalName);
|
||||
}
|
||||
// ==============================
|
||||
// Handle Press Recipes
|
||||
metalProc.handlePress(preferredMetalItem, metalName, metalPartName);
|
||||
}
|
||||
|
||||
/*
|
||||
This method is called to init the loop over metals to change how the processing mechanics work for the pack.
|
||||
TLDR: Removes/Adds/Changes recipes/usages for the metal being handled.
|
||||
*/
|
||||
function processMetal(metalName as string, metal as IOreDictEntry[string]) {
|
||||
var metalLiquid = getMetalLiquid(metalName);
|
||||
var hasLiquid = metalLiquid as bool;
|
||||
var metalStage = (metalStages has metalName) ? metalStages[metalName] : "";
|
||||
|
||||
// Log as a warn is the metal has no Stage. As ALL metals should have been staged!
|
||||
// I.E. Could be a new metal or change to a name which we missed in a mod update etc...
|
||||
if (metalStage == "") {
|
||||
logger.logWarning("[Metals] No stage found for " ~ metalName);
|
||||
}
|
||||
|
||||
// ==============================
|
||||
// Stage the Liquid
|
||||
if (metalStage != "" & hasLiquid) {
|
||||
ZenStager.getStage(metalStage).addLiquid(metalLiquid);
|
||||
ZenStager.getStage(metalStage).addIngredient(craftingUtils.getBucketIngredient(metalLiquid));
|
||||
}
|
||||
// ==============================
|
||||
// Loop over the parts for the Metal and handle each part for correcting/changing processing recipes/mechanics.
|
||||
for partName, part in metal {
|
||||
if (part as bool & partName != "ore") {
|
||||
var preferredMetalItem = getPreferredMetalItem(metalName, partName);
|
||||
unifier.unify(part, preferredMetalItem, metalLiquid);
|
||||
|
||||
if (preferredMetalItem as bool) {
|
||||
// Stage the part.
|
||||
if (metalStage != "") {
|
||||
ZenStager.getStage(metalStage).addIngredient(preferredMetalItem);
|
||||
}
|
||||
|
||||
if (!(partsToSkip has partName)) {
|
||||
processPart(metalName, partName, metal, preferredMetalItem, metalLiquid, partName == "ingot", metalStage, hasLiquid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// ==============================
|
||||
// Ore Processing
|
||||
if (metal has "ore" & !isNull(metal.dust)) {
|
||||
metalProc.handleOre(metalName, metal);
|
||||
}
|
||||
}
|
||||
|
||||
function processCluster(metal as string, cluster as IItemStack) {
|
||||
// ==============================
|
||||
// Crushing Recipes
|
||||
if (metal == "titanium") {
|
||||
immersiveEngineering.addCrusher(metals[metal].dust.firstItem * 2, cluster, metals.iron.dust.firstItem, 0.50);
|
||||
actuallyAdditions.addCrusher(metals[metal].dust.firstItem * 2, cluster, metals.iron.dust.firstItem, 50);
|
||||
} else {
|
||||
immersiveEngineering.addCrusher(metals[metal].dust.firstItem * 2, cluster);
|
||||
actuallyAdditions.addCrusher(metals[metal].dust.firstItem * 2, cluster);
|
||||
}
|
||||
|
||||
// ==============================
|
||||
// Smelting Recipes
|
||||
mekanism.addEnrichment(cluster, metals[metal].dust.firstItem * 2);
|
||||
|
||||
// ==============================
|
||||
// Tinkers Melting
|
||||
if (!isNull(metalItems[metal].liquid)) {
|
||||
tinkers.addMelting(metalItems[metal].liquid.liquids[0] * 144, cluster);
|
||||
}
|
||||
}
|
||||
}
|
157
scripts/crafttweaker/classes/utils/recipeUtil.zs
Normal file
157
scripts/crafttweaker/classes/utils/recipeUtil.zs
Normal file
@ -0,0 +1,157 @@
|
||||
#priority 3400
|
||||
|
||||
/*
|
||||
SevTech: Ages Recipe Util Script
|
||||
|
||||
This script is a zenClass "Util/Wrapper" for recipe adding. Which gives us an easier way
|
||||
to add recipes to the game in a clean script layout using Maps/Arrays.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
import mods.zenstages.ZenStager;
|
||||
|
||||
import scripts.crafttweaker.stages.stageDisabled;
|
||||
|
||||
zenClass RecipeUtil {
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Process Method to handle Shapless Recipes.
|
||||
*/
|
||||
function processNamed(map as IIngredient[][][string][IItemStack]) {
|
||||
for item, itemRecipes in map {
|
||||
for recipeName, recipesInner in itemRecipes {
|
||||
for i, recipe in recipesInner {
|
||||
var toName = recipeName;
|
||||
if (i > 0) {
|
||||
toName = toName ~ "_" ~ i;
|
||||
}
|
||||
if (recipeName == "nameless") {
|
||||
recipes.addShapeless(item, recipe);
|
||||
} else {
|
||||
recipes.addShapeless(toName, item, recipe);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function process(map as IIngredient[][][IItemStack]) {
|
||||
for item, itemRecipes in map {
|
||||
for recipe in itemRecipes {
|
||||
recipes.addShapeless(item, recipe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Process Method to handle Shaped and Mirrored Recipes.
|
||||
*/
|
||||
function processNamed(map as IIngredient[][][][string][IItemStack], isMirrored as bool) {
|
||||
for item, itemRecipes in map {
|
||||
for recipeName, recipesInner in itemRecipes {
|
||||
for i, recipe in recipesInner {
|
||||
var toName = recipeName;
|
||||
if (i > 0) {
|
||||
toName = toName ~ "_" ~ i;
|
||||
}
|
||||
|
||||
if (recipeName == "nameless") {
|
||||
if (isMirrored) {
|
||||
recipes.addShapedMirrored(item, recipe);
|
||||
} else {
|
||||
recipes.addShaped(item, recipe);
|
||||
}
|
||||
} else {
|
||||
if (isMirrored) {
|
||||
recipes.addShapedMirrored(toName, item, recipe);
|
||||
} else {
|
||||
recipes.addShaped(toName, item, recipe);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function process(map as IIngredient[][][][IItemStack], isMirrored as bool) {
|
||||
for item, itemRecipes in map {
|
||||
for recipe in itemRecipes {
|
||||
if (isMirrored) {
|
||||
recipes.addShapedMirrored(item, recipe);
|
||||
} else {
|
||||
recipes.addShaped(item, recipe);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Removes recipes simple as baking a cake!
|
||||
*/
|
||||
function removeRecipes(removals as IItemStack[]) {
|
||||
for toRemove in removals {
|
||||
recipes.remove(toRemove);
|
||||
}
|
||||
}
|
||||
function removeRecipes(removals as string[]) {
|
||||
for toRemove in removals {
|
||||
recipes.removeByRegex(toRemove);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Process Method for handling Furnace Recipes.
|
||||
*/
|
||||
function processFurnace(recipesToAdd as IIngredient[][IItemStack]) {
|
||||
for output, inputs in recipesToAdd {
|
||||
for input in inputs {
|
||||
furnace.addRecipe(output, input);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Remove recipes from the Vanilla Furnace
|
||||
*/
|
||||
function removeFurnace(removals as IIngredient[]) {
|
||||
for toRemove in removals {
|
||||
furnace.remove(toRemove);
|
||||
}
|
||||
}
|
||||
function removeFurnace(removals as IIngredient[IIngredient]) {
|
||||
for input, output in removals {
|
||||
furnace.remove(input, output);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Hide an item from JEI.
|
||||
|
||||
You can also set true to the second param to remove the recipes also.
|
||||
This also sets the Stage to Disabled incase people still have them or find them.
|
||||
*/
|
||||
function hideItems(removals as IIngredient[]) {
|
||||
hideItems(removals, false);
|
||||
}
|
||||
function hideItems(removals as IIngredient[], removeRecipe as bool) {
|
||||
if (removeRecipe) {
|
||||
for toHide in removals {
|
||||
mods.jei.JEI.removeAndHide(toHide);
|
||||
ZenStager.getStage(stageDisabled.stage).addIngredient(toHide, false);
|
||||
}
|
||||
} else {
|
||||
for toHide in removals {
|
||||
for toHideItem in toHide.items {
|
||||
mods.jei.JEI.hide(toHideItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
146
scripts/crafttweaker/classes/utils/unifier.zs
Normal file
146
scripts/crafttweaker/classes/utils/unifier.zs
Normal file
@ -0,0 +1,146 @@
|
||||
#priority 2750
|
||||
|
||||
/*
|
||||
SevTech: Ages Unifier Class Script
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import mods.chisel.Carving;
|
||||
|
||||
zenClass Unifier {
|
||||
// In order of priority
|
||||
var defaultPreferredMods as string[] = [
|
||||
"minecraft",
|
||||
"contenttweaker",
|
||||
"immersiveengineering",
|
||||
"mekanism"
|
||||
];
|
||||
|
||||
zenConstructor() {
|
||||
}
|
||||
|
||||
/*
|
||||
Figure out which item is preferred
|
||||
|
||||
The array should be in order of priority, so if its found, return immediately
|
||||
as this will be the most preferred option
|
||||
*/
|
||||
function getPreferredItem(oreDictEntry as IOreDictEntry) as IItemStack {
|
||||
return getPreferredItem(oreDictEntry, defaultPreferredMods);
|
||||
}
|
||||
function getPreferredItem(oreDictEntry as IOreDictEntry, preferredMods as string[]) as IItemStack {
|
||||
for modName in preferredMods {
|
||||
for item in oreDictEntry.items {
|
||||
if (item.definition.owner == modName) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If there is still no item found, take the first availble
|
||||
return oreDictEntry.firstItem;
|
||||
}
|
||||
|
||||
function clearOreDict(oreDictEntry as IOreDictEntry) {
|
||||
unify(oreDictEntry, null, null);
|
||||
}
|
||||
function clearOreDict(oreDictEntry as IOreDictEntry, liquid as ILiquidStack) {
|
||||
unify(oreDictEntry, null, liquid);
|
||||
}
|
||||
function clearOreDict(oreDictEntry as IOreDictEntry, preferredItem as IItemStack, liquid as ILiquidStack) {
|
||||
unify(oreDictEntry, preferredItem, liquid);
|
||||
}
|
||||
|
||||
function unify(oreDictEntry as IOreDictEntry) {
|
||||
unify(oreDictEntry, getPreferredItem(oreDictEntry), null);
|
||||
}
|
||||
function unify(oreDictEntry as IOreDictEntry, liquid as ILiquidStack) {
|
||||
unify(oreDictEntry, getPreferredItem(oreDictEntry), liquid);
|
||||
}
|
||||
function unify(oreDictEntry as IOreDictEntry, preferredItem as IItemStack) {
|
||||
unify(oreDictEntry, preferredItem, null);
|
||||
}
|
||||
function unify(oreDictEntry as IOreDictEntry, preferredItem as IItemStack, liquid as ILiquidStack) {
|
||||
var hasLiquid = liquid as bool;
|
||||
|
||||
var vgName = "vg_" + oreDictEntry.name.toLowerCase();
|
||||
if (!isNull(preferredItem) & chiselBlocks.keys has oreDictEntry) {
|
||||
print("[Chisel] Removing " + oreDictEntry.name);
|
||||
Carving.removeGroup(oreDictEntry.name);
|
||||
print("[Chisel] Creating " + vgName);
|
||||
Carving.addGroup(vgName);
|
||||
print("[Chisel] Adding " + preferredItem.definition.id + " to " + vgName);
|
||||
Carving.addVariation(vgName, preferredItem);
|
||||
}
|
||||
|
||||
for item in oreDictEntry.items {
|
||||
if (!item.matches(preferredItem)) {
|
||||
oreDictEntry.remove(item);
|
||||
|
||||
furnace.remove(item);
|
||||
furnace.setFuel(item, 0); // Setting the burnTime to 0 will stop the input from being a fuel item
|
||||
|
||||
/*
|
||||
Remove from mod integrations
|
||||
*/
|
||||
// ==================================
|
||||
// Applied Energistics 2
|
||||
appliedEnergistics.removeGrindstone(item);
|
||||
appliedEnergistics.removeInscribe(item);
|
||||
|
||||
// ==================================
|
||||
// Astral Sorcery
|
||||
astralSorcery.removeGrindstone(item);
|
||||
|
||||
// ==================================
|
||||
// Immersive Engineering
|
||||
immersiveEngineering.removeAlloy(item);
|
||||
immersiveEngineering.removeArcFurn(item);
|
||||
immersiveEngineering.removeCrusher(item);
|
||||
immersiveEngineering.removeCrusherByInput(item);
|
||||
immersiveEngineering.removePress(item);
|
||||
|
||||
// ==================================
|
||||
// Just Enough Items
|
||||
mods.jei.JEI.removeAndHide(item);
|
||||
|
||||
// ==================================
|
||||
// Mekanism
|
||||
mekanism.removeChemicalCrystallizer(item);
|
||||
mekanism.removeChemicalInjection(item);
|
||||
mekanism.removeCombiner(item);
|
||||
mekanism.removeCrusher(item);
|
||||
mekanism.removeSmelter(item);
|
||||
mekanism.removeEnrichment(item);
|
||||
mekanism.removeInfusion(item);
|
||||
mekanism.removeCompressor(item);
|
||||
mekanism.removeSawmill(item);
|
||||
mekanism.removePurification(item);
|
||||
|
||||
// ==================================
|
||||
// Tinker's Construct
|
||||
tinkers.removeCastingBasin(item);
|
||||
tinkers.removeCastingTable(item);
|
||||
|
||||
if (hasLiquid) {
|
||||
tinkers.removeMelting(liquid, item);
|
||||
}
|
||||
|
||||
if (item.definition.owner == "chisel" & chiselBlocks.keys has oreDictEntry) {
|
||||
print("[Chisel] Adding " + item.definition.id + " to " + vgName);
|
||||
Carving.addVariation(vgName, item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!isNull(preferredItem)) {
|
||||
scripts.crafttweaker.utils.ensureOreDict(oreDictEntry, preferredItem);
|
||||
}
|
||||
}
|
||||
}
|
59
scripts/crafttweaker/craftingUtils.zs
Normal file
59
scripts/crafttweaker/craftingUtils.zs
Normal file
@ -0,0 +1,59 @@
|
||||
#priority 3500
|
||||
|
||||
/*
|
||||
SevTech: Ages Crafting Utils Script
|
||||
|
||||
This script provides crafting related utility functions for use in other scripts
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
|
||||
function getBucketAndTankIngredientFromName(liquidName as string) as IIngredient {
|
||||
var bucketsIngredient as IIngredient = getBucketIngredientFromName(liquidName);
|
||||
|
||||
var tanksIngredient as IIngredient = null;
|
||||
|
||||
for tank in tanks {
|
||||
var tankIngredient as IIngredient = scripts.crafttweaker.utils.formatTankIngredient(tank, liquidName);
|
||||
|
||||
if (!isNull(tankIngredient)) {
|
||||
if (isNull(tanksIngredient)) {
|
||||
tanksIngredient = tankIngredient;
|
||||
} else {
|
||||
tanksIngredient |= tankIngredient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return bucketsIngredient | tanksIngredient;
|
||||
}
|
||||
|
||||
function getBucketAndTankIngredient(liquid as ILiquidStack) as IIngredient {
|
||||
return getBucketAndTankIngredientFromName(liquid.name);
|
||||
}
|
||||
|
||||
function getBucketIngredientFromName(liquidName as string) as IIngredient {
|
||||
var bucketsIngredient as IIngredient = null;
|
||||
|
||||
for bucket in buckets {
|
||||
var bucketIngredient as IIngredient = scripts.crafttweaker.utils.formatBucketIngredient(bucket, liquidName);
|
||||
|
||||
if (!isNull(bucketIngredient)) {
|
||||
if (isNull(bucketsIngredient)) {
|
||||
bucketsIngredient = bucketIngredient;
|
||||
} else {
|
||||
bucketsIngredient |= bucketIngredient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return bucketsIngredient;
|
||||
}
|
||||
|
||||
function getBucketIngredient(liquid as ILiquidStack) as IIngredient {
|
||||
return getBucketIngredientFromName(liquid.name);
|
||||
}
|
134
scripts/crafttweaker/events/blockBreak.zs
Normal file
134
scripts/crafttweaker/events/blockBreak.zs
Normal file
@ -0,0 +1,134 @@
|
||||
/*
|
||||
SevTech: Ages Block Harvest Drops Event Script
|
||||
|
||||
This script allows us to change the drops from a block using the drops
|
||||
mapping. We can add as many drops as we want and define the amount of
|
||||
said drops to "drop".
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.block.IBlock;
|
||||
import crafttweaker.event.BlockHarvestDropsEvent;
|
||||
import crafttweaker.event.IBlockEvent;
|
||||
import crafttweaker.events.IEventManager;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.WeightedItemStack;
|
||||
|
||||
/*
|
||||
Block Drops Mapping
|
||||
|
||||
This needs to be a string name of the block to change
|
||||
the drop for. MUST include the meta at the end if needed.
|
||||
|
||||
Then you can fill the array with the IItemStacks you want to drop.
|
||||
*/
|
||||
static blockHarvestDrops as WeightedItemStack[][string] = {
|
||||
"galacticraftplanets:asteroids_block:4": [
|
||||
<geolosys:cluster:0>.weight(1.0),
|
||||
<materialpart:titanium:cluster>.weight(1.0)
|
||||
],
|
||||
"twilightforest:castle_door:0": [
|
||||
<twilightforest:castle_door:0>.weight(1.0)
|
||||
],
|
||||
"twilightforest:castle_door:1": [
|
||||
<twilightforest:castle_door:1>.weight(1.0)
|
||||
],
|
||||
"twilightforest:castle_door:2": [
|
||||
<twilightforest:castle_door:2>.weight(1.0)
|
||||
],
|
||||
"twilightforest:castle_door:3": [
|
||||
<twilightforest:castle_door:3>.weight(1.0)
|
||||
],
|
||||
|
||||
// Primal Stones (When broken should drop the cobble not the stone)
|
||||
"primal:blue_stone" : [
|
||||
<primal:blue_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:common_stone": [
|
||||
<primal:common_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:sarsen_stone": [
|
||||
<primal:sarsen_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:scoria_stone": [
|
||||
<primal:scoria_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:porphyry_stone": [
|
||||
<primal:porphyry_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:purpurite_stone": [
|
||||
<primal:purpurite_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:ferro_stone": [
|
||||
<primal:ferro_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:carbonate_stone": [
|
||||
<primal:carbonate_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:terracotta_block": [
|
||||
<primal:terracotta_block:4>.weight(1.0)
|
||||
],
|
||||
"primal:mud_dried": [
|
||||
<primal:mud_dried:4>.weight(1.0)
|
||||
],
|
||||
"primal:nether_earth": [
|
||||
<primal:nether_earth:4>.weight(1.0)
|
||||
],
|
||||
"primal:nether_stone": [
|
||||
<primal:nether_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:eroded_end_stone": [
|
||||
<primal:eroded_end_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:desiccated_stone": [
|
||||
<primal:desiccated_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:soul_stone": [
|
||||
<primal:soul_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:night_stone": [
|
||||
<primal:night_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:ciniscotta_block": [
|
||||
<primal:ciniscotta_block:4>.weight(1.0)
|
||||
],
|
||||
"primal:ortho_stone": [
|
||||
<primal:ortho_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:schist_green_stone": [
|
||||
<primal:schist_green_stone:4>.weight(1.0)
|
||||
],
|
||||
"primal:schist_blue_stone": [
|
||||
<primal:schist_blue_stone:4>.weight(1.0)
|
||||
]
|
||||
};
|
||||
|
||||
/*
|
||||
Add event listener
|
||||
*/
|
||||
function init() {
|
||||
events.onBlockHarvestDrops(function (event as BlockHarvestDropsEvent) {
|
||||
var blockId = event.block.definition.id;
|
||||
if (event.block.meta != 0) {
|
||||
blockId += ":" ~ event.block.meta;
|
||||
}
|
||||
|
||||
// Skip overrides if the block is silk touched
|
||||
if (event.silkTouch) {
|
||||
return;
|
||||
}
|
||||
|
||||
var hasOverride = !isNull(blockHarvestDrops[blockId]);
|
||||
if (hasOverride) {
|
||||
for i, block in blockHarvestDrops[blockId] {
|
||||
if (i == 0) {
|
||||
event.drops = [block];
|
||||
} else {
|
||||
event.drops += block;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
37
scripts/crafttweaker/events/playerLoggedIn.zs
Normal file
37
scripts/crafttweaker/events/playerLoggedIn.zs
Normal file
@ -0,0 +1,37 @@
|
||||
/*
|
||||
SevTech: Ages Block Player Logged In Event Script
|
||||
|
||||
This script adds a chat message to user to remind them that they are using
|
||||
a beta build of the modpack.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.event.PlayerLoggedInEvent;
|
||||
import crafttweaker.events.IEventManager;
|
||||
|
||||
import scripts.crafttweaker.stages.stageTutorial;
|
||||
|
||||
/*
|
||||
Add event listener
|
||||
*/
|
||||
function init() {
|
||||
events.onPlayerLoggedIn(function (event as PlayerLoggedInEvent) {
|
||||
if (isDevelopment) {
|
||||
event.player.sendChat(
|
||||
"§4Warning!§r you are using a development build of " +
|
||||
"§bSevTech: Ages " + scripts.crafttweaker.preInit.PACK_VERSION +
|
||||
"§r, please ensure you report any bugs to either Discord or the " +
|
||||
"Issue Tracker."
|
||||
);
|
||||
event.player.sendChat("Thanks again for helping to test new updates!");
|
||||
}
|
||||
|
||||
// Make sure the player has the tutorial stage
|
||||
// This helps prevent issues when a new player joins
|
||||
if (!event.player.hasGameStage(stageTutorial.stage)) {
|
||||
event.player.addGameStage(stageTutorial.stage);
|
||||
}
|
||||
});
|
||||
}
|
309
scripts/crafttweaker/integrations/dye.zs
Normal file
309
scripts/crafttweaker/integrations/dye.zs
Normal file
@ -0,0 +1,309 @@
|
||||
#priority 10
|
||||
/*
|
||||
SevTech: Ages Dye Integration Script
|
||||
|
||||
This script handles changing how dyes are worked in the pack.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
/*
|
||||
Map contaning the Dyes and the flowers which can be turned into the Dye.
|
||||
|
||||
Notes: Thanks to Neosghost for pairing ferdinands flowers!
|
||||
*/
|
||||
static dyeCrushingRecipes as IItemStack[][IItemStack] = {
|
||||
// White
|
||||
<ore:dyeWhite>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:11>,
|
||||
<ferdinandsflowers:block_cff_doublesb:1>,
|
||||
<ferdinandsflowers:block_cff_doublesb:0>,
|
||||
<ferdinandsflowers:block_cff_flowers:13>,
|
||||
<ferdinandsflowers:block_cff_flowersb:8>,
|
||||
<ferdinandsflowers:block_cff_flowersd:6>,
|
||||
<ferdinandsflowers:block_cff_flowersd:8>,
|
||||
<minecraft:dye:15>
|
||||
],
|
||||
|
||||
// Orange
|
||||
<ore:dyeOrange>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:5>,
|
||||
<ferdinandsflowers:block_cff_desert:12>,
|
||||
<ferdinandsflowers:block_cff_doublesc:1>,
|
||||
<ferdinandsflowers:block_cff_doublesc:2>,
|
||||
<ferdinandsflowers:block_cff_doublesc:3>,
|
||||
<ferdinandsflowers:block_cff_doublesd:5>,
|
||||
<ferdinandsflowers:block_cff_doubless:4>,
|
||||
<ferdinandsflowers:block_cff_flowers:1>,
|
||||
<ferdinandsflowers:block_cff_flowers:6>,
|
||||
<ferdinandsflowers:block_cff_flowersb:1>,
|
||||
<ferdinandsflowers:block_cff_flowersb:2>,
|
||||
<ferdinandsflowers:block_cff_flowersb:4>,
|
||||
<ferdinandsflowers:block_cff_flowersb:9>,
|
||||
<ferdinandsflowers:block_cff_flowersc:1>,
|
||||
<ferdinandsflowers:block_cff_flowersd:4>,
|
||||
<ferdinandsflowers:block_cff_flowerse:12>,
|
||||
<ferdinandsflowers:block_cff_flowerse:14>,
|
||||
<ferdinandsflowers:block_cff_flowerse:14>,
|
||||
<ferdinandsflowers:block_cff_fungus:4>,
|
||||
<ferdinandsflowers:block_cff_fungus:5>,
|
||||
<ferdinandsflowers:block_cff_fungus:6>,
|
||||
<minecraft:red_flower:5>
|
||||
],
|
||||
|
||||
// Magenta
|
||||
<ore:dyeMagenta>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_doublesp:3>,
|
||||
<ferdinandsflowers:block_cff_doublesp:4>,
|
||||
<ferdinandsflowers:block_cff_flowers:8>,
|
||||
<ferdinandsflowers:block_cff_flowers:0>,
|
||||
<ferdinandsflowers:block_cff_flowersc:10>,
|
||||
<ferdinandsflowers:block_cff_flowersc:11>,
|
||||
<ferdinandsflowers:block_cff_flowersd:15>,
|
||||
<ferdinandsflowers:block_cff_flowersd:0>,
|
||||
<ferdinandsflowers:block_cff_flowerse:5>,
|
||||
<ferdinandsflowers:block_cff_flowerse:13>,
|
||||
<minecraft:double_plant:1>,
|
||||
<minecraft:red_flower:2>
|
||||
],
|
||||
|
||||
// Light Blue
|
||||
<ore:dyeLightBlue>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:8>,
|
||||
<ferdinandsflowers:block_cff_doublesc:5>,
|
||||
<ferdinandsflowers:block_cff_flowers:15>,
|
||||
<ferdinandsflowers:block_cff_flowersc:14>,
|
||||
<ferdinandsflowers:block_cff_flowersc:15>,
|
||||
<ferdinandsflowers:block_cff_flowersd:11>,
|
||||
<ferdinandsflowers:block_cff_flowersd:12>,
|
||||
<ferdinandsflowers:block_cff_flowerse:6>,
|
||||
<ferdinandsflowers:block_cff_flowerse:11>,
|
||||
<ferdinandsflowers:block_cff_fungus:12>,
|
||||
<minecraft:red_flower:1>
|
||||
],
|
||||
|
||||
// Yellow
|
||||
<ore:dyeYellow>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:3>,
|
||||
<ferdinandsflowers:block_cff_desert:4>,
|
||||
<ferdinandsflowers:block_cff_doubless:1>,
|
||||
<ferdinandsflowers:block_cff_doubless:2>,
|
||||
<ferdinandsflowers:block_cff_doubless:3>,
|
||||
<ferdinandsflowers:block_cff_doubless:5>,
|
||||
<ferdinandsflowers:block_cff_flowers:11>,
|
||||
<ferdinandsflowers:block_cff_flowers:12>,
|
||||
<ferdinandsflowers:block_cff_flowersb:6>,
|
||||
<ferdinandsflowers:block_cff_flowersb:11>,
|
||||
<ferdinandsflowers:block_cff_flowersb:12>,
|
||||
<ferdinandsflowers:block_cff_flowersb:13>,
|
||||
<ferdinandsflowers:block_cff_flowersc:7>,
|
||||
<ferdinandsflowers:block_cff_flowersd:5>,
|
||||
<ferdinandsflowers:block_cff_fungus:0>,
|
||||
<minecraft:double_plant:0>,
|
||||
<minecraft:dye:11>,
|
||||
<minecraft:yellow_flower:0>
|
||||
],
|
||||
|
||||
// Lime
|
||||
<ore:dyeLime>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_flowersd:7>
|
||||
],
|
||||
|
||||
// Pink
|
||||
<ore:dyePink>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:7>,
|
||||
<ferdinandsflowers:block_cff_doubles:0>,
|
||||
<ferdinandsflowers:block_cff_doublesb:2>,
|
||||
<ferdinandsflowers:block_cff_doublesb:3>,
|
||||
<ferdinandsflowers:block_cff_doublesb:4>,
|
||||
<ferdinandsflowers:block_cff_doublesc:0>,
|
||||
<ferdinandsflowers:block_cff_doublesp:5>,
|
||||
<ferdinandsflowers:block_cff_flowers:3>,
|
||||
<ferdinandsflowers:block_cff_flowers:5>,
|
||||
<ferdinandsflowers:block_cff_flowersb:3>,
|
||||
<ferdinandsflowers:block_cff_flowersc:3>,
|
||||
<ferdinandsflowers:block_cff_flowersc:9>,
|
||||
<ferdinandsflowers:block_cff_flowersc:12>,
|
||||
<ferdinandsflowers:block_cff_flowersc:0>,
|
||||
<ferdinandsflowers:block_cff_flowersd:3>,
|
||||
<ferdinandsflowers:block_cff_flowerse:0>,
|
||||
<ferdinandsflowers:block_cff_ouch:3>,
|
||||
<minecraft:double_plant:5>,
|
||||
<minecraft:red_flower:7>
|
||||
],
|
||||
|
||||
// Gray
|
||||
<ore:dyeGray>.firstItem : [
|
||||
],
|
||||
|
||||
// Light Gray
|
||||
<ore:dyeLightGray>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_doublesd:4>,
|
||||
<minecraft:red_flower:3>,
|
||||
<minecraft:red_flower:6>,
|
||||
<minecraft:red_flower:8>
|
||||
],
|
||||
|
||||
// Cyan
|
||||
<ore:dyeCyan>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_flowersd:10>,
|
||||
<ferdinandsflowers:block_cff_fungus:13>
|
||||
],
|
||||
|
||||
// Purple
|
||||
<ore:dyePurple>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:6>,
|
||||
<ferdinandsflowers:block_cff_desert:9>,
|
||||
<ferdinandsflowers:block_cff_desert:13>,
|
||||
<ferdinandsflowers:block_cff_desert:15>,
|
||||
<ferdinandsflowers:block_cff_doubles:1>,
|
||||
<ferdinandsflowers:block_cff_doubles:2>,
|
||||
<ferdinandsflowers:block_cff_doubles:5>,
|
||||
<ferdinandsflowers:block_cff_doublesp:2>,
|
||||
<ferdinandsflowers:block_cff_flowers:2>,
|
||||
<ferdinandsflowers:block_cff_flowers:7>,
|
||||
<ferdinandsflowers:block_cff_flowers:9>,
|
||||
<ferdinandsflowers:block_cff_flowers:10>,
|
||||
<ferdinandsflowers:block_cff_flowers:14>,
|
||||
<ferdinandsflowers:block_cff_flowersb:10>,
|
||||
<ferdinandsflowers:block_cff_flowersb:14>,
|
||||
<ferdinandsflowers:block_cff_flowersb:15>,
|
||||
<ferdinandsflowers:block_cff_flowersb:0>,
|
||||
<ferdinandsflowers:block_cff_flowersc:4>,
|
||||
<ferdinandsflowers:block_cff_flowersd:1>,
|
||||
<ferdinandsflowers:block_cff_flowersd:9>,
|
||||
<ferdinandsflowers:block_cff_flowerse:1>,
|
||||
<ferdinandsflowers:block_cff_flowerse:2>,
|
||||
<ferdinandsflowers:block_cff_flowerse:3>,
|
||||
<ferdinandsflowers:block_cff_flowerse:4>,
|
||||
<ferdinandsflowers:block_cff_fungus:10>,
|
||||
<ferdinandsflowers:block_cff_fungus:11>
|
||||
],
|
||||
|
||||
// Blue
|
||||
<ore:dyeBlue>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:10>,
|
||||
<ferdinandsflowers:block_cff_doublesd:3>,
|
||||
<ferdinandsflowers:block_cff_doublesp:0>,
|
||||
<ferdinandsflowers:block_cff_doublesp:1>,
|
||||
<ferdinandsflowers:block_cff_flowers:4>,
|
||||
<ferdinandsflowers:block_cff_flowersb:7>,
|
||||
<ferdinandsflowers:block_cff_flowersc:5>,
|
||||
<ferdinandsflowers:block_cff_flowersc:6>,
|
||||
<ferdinandsflowers:block_cff_flowersd:13>,
|
||||
<ferdinandsflowers:block_cff_flowersd:14>,
|
||||
<ferdinandsflowers:block_cff_flowerse:7>,
|
||||
<ferdinandsflowers:block_cff_flowerse:8>,
|
||||
<ferdinandsflowers:block_cff_flowerse:9>,
|
||||
<ferdinandsflowers:block_cff_flowerse:10>,
|
||||
<minecraft:dye:4>
|
||||
],
|
||||
|
||||
// Brown
|
||||
<ore:dyeBrown>.firstItem : [
|
||||
<betterwithmods:material:44>,
|
||||
<ferdinandsflowers:block_cff_desert:2>,
|
||||
<ferdinandsflowers:block_cff_doubles:3>,
|
||||
<ferdinandsflowers:block_cff_fungus:7>,
|
||||
<ferdinandsflowers:block_cff_fungus:8>,
|
||||
<ferdinandsflowers:block_cff_fungus:9>,
|
||||
<ferdinandsflowers:block_cff_ouch:4>
|
||||
],
|
||||
|
||||
// Green
|
||||
<ore:dyeGreen>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:14>,
|
||||
<ferdinandsflowers:block_cff_desert:0>,
|
||||
<ferdinandsflowers:block_cff_doublesc:4>,
|
||||
<ferdinandsflowers:block_cff_doublesd:1>,
|
||||
<ferdinandsflowers:block_cff_doublesd:0>,
|
||||
<ferdinandsflowers:block_cff_flowersc:2>,
|
||||
<ferdinandsflowers:block_cff_ouch:1>,
|
||||
<ferdinandsflowers:block_cff_ouch:2>,
|
||||
<ferdinandsflowers:block_cff_ouch:0>,
|
||||
<minecraft:dye:2>
|
||||
],
|
||||
|
||||
// Red
|
||||
<ore:dyeRed>.firstItem : [
|
||||
<ferdinandsflowers:block_cff_desert:1>,
|
||||
<ferdinandsflowers:block_cff_doubles:4>,
|
||||
<ferdinandsflowers:block_cff_doublesb:5>,
|
||||
<ferdinandsflowers:block_cff_doublesd:2>,
|
||||
<ferdinandsflowers:block_cff_doubless:0>,
|
||||
<ferdinandsflowers:block_cff_flowersb:5>,
|
||||
<ferdinandsflowers:block_cff_flowersc:8>,
|
||||
<ferdinandsflowers:block_cff_flowersc:13>,
|
||||
<ferdinandsflowers:block_cff_flowersd:2>,
|
||||
<ferdinandsflowers:block_cff_fungus:1>,
|
||||
<ferdinandsflowers:block_cff_fungus:2>,
|
||||
<ferdinandsflowers:block_cff_fungus:3>,
|
||||
<minecraft:double_plant:4>,
|
||||
<minecraft:dye:1>,
|
||||
<minecraft:red_flower:4>,
|
||||
<minecraft:red_flower:0>,
|
||||
<rustic:wildberries:0>
|
||||
],
|
||||
|
||||
// Black
|
||||
<ore:dyeBlack>.firstItem : [
|
||||
<actuallyadditions:block_black_lotus:0>,
|
||||
<minecraft:dye:0>,
|
||||
<nex:wither_dust:0>
|
||||
]
|
||||
};
|
||||
|
||||
function init() {
|
||||
// ==================================
|
||||
// Loop over the Vanilla Dyes and remove all recipes for them.
|
||||
for minecraftDye in minecraftDyes {
|
||||
// Remove Vanilla recipes.
|
||||
recipes.remove(minecraftDye);
|
||||
// Remove AA Crusher recipes.
|
||||
actuallyAdditions.removeCrusher(minecraftDye);
|
||||
}
|
||||
|
||||
var IE_CRUSHER_ENERGY as int = 3200;
|
||||
var HP_GRINDSTONE_TIME as int = 12;
|
||||
|
||||
// ==================================
|
||||
// Loop over the Crushing recipes to create the correct recipes based on our Dye setup.
|
||||
for dye, items in scripts.crafttweaker.integrations.dye.dyeCrushingRecipes {
|
||||
// Re-create wool -> string/dye recipe
|
||||
if (dye.metadata == 0) {
|
||||
// White wool doesn't output dye.
|
||||
immersiveEngineering.addCrusher(<minecraft:string:0> * 4, <minecraft:wool:0>.definition.makeStack(dye.metadata), IE_CRUSHER_ENERGY);
|
||||
} else {
|
||||
immersiveEngineering.addCrusher(<minecraft:string:0> * 4, <minecraft:wool:0>.definition.makeStack(dye.metadata), IE_CRUSHER_ENERGY, dye, 0.05);
|
||||
}
|
||||
|
||||
for item in items {
|
||||
actuallyAdditions.addCrusher(dye * 2, item);
|
||||
betterWithMods.addMilling([item], [dye * 2]);
|
||||
immersiveEngineering.addCrusher(dye * 2, item, IE_CRUSHER_ENERGY);
|
||||
horsePower.addGrindstone(dye, item, HP_GRINDSTONE_TIME, false);
|
||||
mekanism.addCrusher(item, dye * 2);
|
||||
}
|
||||
|
||||
// ==================================
|
||||
// Re-create Minecraft Wool Dying Recipes
|
||||
var dyeName as string = minecraftDyeIdTable[15 - dye.metadata];
|
||||
var dyeOredict as IOreDictEntry = oreDict.get("dye" ~ utils.capitalize(dyeName));
|
||||
recipes.addShaped("dye_wool_" ~ dyeName,
|
||||
<minecraft:wool:0>.definition.makeStack(dye.metadata) * 8, [
|
||||
[<ore:wool>, <ore:wool>, <ore:wool>],
|
||||
[<ore:wool>, dyeOredict, <ore:wool>],
|
||||
[<ore:wool>, <ore:wool>, <ore:wool>]
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
<ore:dyeSilver>.add(<ore:dyeLightGray>.firstItem); // TODO: remove when AE2 accepts dyeLightGray
|
||||
}
|
93
scripts/crafttweaker/integrations/mods/abyssalcraft.zs
Normal file
93
scripts/crafttweaker/integrations/mods/abyssalcraft.zs
Normal file
@ -0,0 +1,93 @@
|
||||
/*
|
||||
SevTech: Ages Abyssalcraft Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.abyssalcraft.InfusionRitual;
|
||||
import mods.abyssalcraft.Rituals;
|
||||
import mods.abyssalcraft.SummonRitual;
|
||||
|
||||
import scripts.crafttweaker.stages.stageOne;
|
||||
import scripts.crafttweaker.stages.stageTwo;
|
||||
|
||||
function init() {
|
||||
// Materializer
|
||||
abyssalcraft.removeMaterialization(<minecraft:elytra:0>);
|
||||
|
||||
// Crystallizer
|
||||
abyssalcraft.addSingleCrystallization(<charcoalblock:charcoal_block:0>, <abyssalcraft:crystal:3> * 2, 0.1);
|
||||
|
||||
// Transmutator Recipes
|
||||
abyssalcraft.removeTransmutation(<abyssalcraft:crystalshard:0>); // Iron
|
||||
abyssalcraft.removeTransmutation(<minecraft:netherbrick:0>); // Nether Brick
|
||||
|
||||
// Ritual Staging
|
||||
abyssalcraft.addRitualStage(stageOne.stage, "ascraftingtable");
|
||||
abyssalcraft.addRitualStage(stageTwo.stage, "constellationpaper");
|
||||
abyssalcraft.addRitualStage(stageTwo.stage, "transmutationGem");
|
||||
abyssalcraft.addRitualStage(stageTwo.stage, "oblivionCatalyst");
|
||||
|
||||
// Infusion Ritual
|
||||
InfusionRitual.addRitual("beneathritual", 0, 0, 1000, false, <beneath:teleporterbeneath:0>, <progressiontweaks:blank_teleporter:0>, [
|
||||
<bloodmagic:monster_soul:0>, <abyssalcraft:stone:7>, <abyssalcraft:stone:7>,
|
||||
<betterwithmods:material:18>, <abyssalcraft:stone:7>, <minecraft:gunpowder:0>,
|
||||
<abyssalcraft:stone:7>, <minecraft:dark_oak_fence_gate:0>
|
||||
], false, []);
|
||||
game.setLocalization("ac.ritual.beneathritual", "Beneath Portal Creation Ritual");
|
||||
|
||||
// Astral Sorcery Table 1
|
||||
InfusionRitual.addRitual("ascraftingtable", 0, 0, 1000, false, <astralsorcery:blockaltar:0>, <minecraft:crafting_table:0>, [
|
||||
<bloodmagic:slate:1>, <astralsorcery:itemcraftingcomponent:0>, <ore:stoneMarble>,
|
||||
<astralsorcery:itemcraftingcomponent:0>, <bloodmagic:slate:1>, <astralsorcery:itemcraftingcomponent:0>,
|
||||
<ore:stoneMarble>, <astralsorcery:itemcraftingcomponent:0>
|
||||
], false, []);
|
||||
game.setLocalization("ac.ritual.ascraftingtable", "Luminous Crafting Table Creation");
|
||||
game.setLocalization("ac.ritual.ascraftingtable.desc", "This ritual can only be performed in Age 1");
|
||||
|
||||
// Astral Sorcery Constellation Paper
|
||||
InfusionRitual.addRitual("constellationpaper", 0, 0, 500, false, <astralsorcery:itemconstellationpaper:0>, <astralsorcery:itemcraftingcomponent:5>, [
|
||||
<ore:asCrystal>, <astralsorcery:itemcraftingcomponent:0>, <minecraft:gold_ingot:0>,
|
||||
<astralsorcery:itemcraftingcomponent:0>, <ore:asCrystal>, <astralsorcery:itemcraftingcomponent:0>,
|
||||
<minecraft:gold_ingot:0>, <astralsorcery:itemcraftingcomponent:0>
|
||||
], false, []);
|
||||
game.setLocalization("ac.ritual.constellationpaper", "Constellation Paper");
|
||||
game.setLocalization("ac.ritual.constellationpaper.desc", "This ritual can only be performed in Age 2");
|
||||
|
||||
// Summon parrots because I can't stand this fucking god damn RNG in this fucking game
|
||||
SummonRitual.addRitual("parrots", 0, -1, 100, false, "minecraft:parrot", [<minecraft:feather:0>, <minecraft:wheat_seeds:0>, <minecraft:feather:0>, <minecraft:egg:0>, <minecraft:feather:0>, <minecraft:wheat_seeds:0>, <minecraft:feather:0>, <minecraft:egg:0>]);
|
||||
game.setLocalization("ac.ritual.parrots", "Parrot Summoning Ritual");
|
||||
game.setLocalization("ac.ritual.parrots.desc", "This ritual allows you to summon a Parrot without searching for a jungle");
|
||||
|
||||
//Summons the Sevadus Boss to your world. Prepare for the rektening
|
||||
SummonRitual.addRitual("sevadus", 0, -1, 5000, false, "playerbosses:player_boss", [<minecraft:skull:2>, <extendedcrafting:material:32>, <extendedcrafting:singularity_ultimate>, <extendedcrafting:material:32>, <extraplanets:tier7_items:7>, <extendedcrafting:material:32>, <extendedcrafting:singularity_ultimate>, <extendedcrafting:material:32>]);
|
||||
game.setLocalization("ac.ritual.sevadus", "Sevadus Summoning Ritual");
|
||||
game.setLocalization("ac.ritual.sevadus.desc", "Summons Sevadus the ultimate boss of the Universe. Defeat him to defeat SevTech: Ages");
|
||||
|
||||
// Infuse RF Tools Syringe with cow essence to make mooshroom essence for the Peace Essence for the Peaceful Environment Dimlet
|
||||
InfusionRitual.addRitual("mooshroomessence", 0, -1, 100, true, <rftools:syringe>.withTag({mobName: "Mooshroom", level: 10, mobId: "minecraft:mooshroom"}), <rftools:syringe>, [
|
||||
<minecraft:red_mushroom_block>, <minecraft:red_mushroom_block>,
|
||||
<minecraft:red_mushroom>, <minecraft:red_mushroom>, <minecraft:red_mushroom>,
|
||||
<primal:pelt_cow>, <minecraft:bone>, <minecraft:beef>
|
||||
], false, []);
|
||||
game.setLocalization("ac.ritual.mooshroomessence", "Mooshroom Essence Syringe Ritual");
|
||||
game.setLocalization("ac.ritual.mooshroomessence.desc", "This ritual fills a syringe with mooshroom essence for creating an RF Tools peaceful dimlet");
|
||||
|
||||
// Ritual Modifications
|
||||
Rituals.modifyRitualOfferings("transmutationGem", [
|
||||
<minecraft:ender_pearl:0>, <astralsorcery:itemcraftingcomponent:0>, <twilightforest:transformation_powder:0>,
|
||||
<astralsorcery:itemcraftingcomponent:0>, <minecraft:ender_pearl:0>, <astralsorcery:itemcraftingcomponent:0>,
|
||||
<twilightforest:transformation_powder:0>, <astralsorcery:itemcraftingcomponent:0>
|
||||
]);
|
||||
|
||||
// Oblivion Catalyst
|
||||
Rituals.modifyRitualSacrifice("oblivionCatalyst", <minecraft:ender_pearl:0>);
|
||||
Rituals.modifyRitualOfferings("oblivionCatalyst", [
|
||||
<abyssalcraft:oblivionshard:0>, <minecraft:prismarine_shard:0>, <abyssalcraft:oblivionshard:0>,
|
||||
<minecraft:prismarine_shard:0>, <abyssalcraft:oblivionshard:0>, <minecraft:prismarine_shard:0>,
|
||||
<abyssalcraft:oblivionshard:0>, <minecraft:prismarine_shard:0>
|
||||
]);
|
||||
}
|
58
scripts/crafttweaker/integrations/mods/actuallyAdditions.zs
Normal file
58
scripts/crafttweaker/integrations/mods/actuallyAdditions.zs
Normal file
@ -0,0 +1,58 @@
|
||||
/*
|
||||
SevTech: Ages Actually Additions Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.actuallyadditions.AtomicReconstructor;
|
||||
import mods.actuallyadditions.BallOfFur;
|
||||
import mods.actuallyadditions.Empowerer;
|
||||
|
||||
/*
|
||||
Support:
|
||||
Atomic Reconstructor: http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/ActuallyAdditions/AtomicReconstructor/
|
||||
Ball of Fur: http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/ActuallyAdditions/BallOfFur/
|
||||
Empowerer: http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/ActuallyAdditions/Empowerer/
|
||||
|
||||
*/
|
||||
function init() {
|
||||
// Atomic Reconstructor
|
||||
AtomicReconstructor.addRecipe(<mysticalagriculture:crafting:0>, <extraplanets:saturn:12>, 500000);
|
||||
AtomicReconstructor.removeRecipe(<actuallyadditions:item_color_lens:0>);
|
||||
|
||||
// Crusher
|
||||
actuallyAdditions.addCrusher(<minecraft:diamond:0> * 9 , <minecraft:diamond_block:0>); // Diamond Block -> Diamonds
|
||||
actuallyAdditions.addCrusher(<minecraft:dye:4> * 9, <minecraft:lapis_block:0>); // Lapis Block -> Lapis
|
||||
actuallyAdditions.addCrusher(<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>); // Redstone Block -> Redstone
|
||||
actuallyAdditions.addCrusher(<minecraft:emerald:0> * 9, <minecraft:emerald_block:0>); // Emerald Block -> Emerald
|
||||
actuallyAdditions.addCrusher(<minecraft:prismarine_shard:0> * 4, <minecraft:prismarine:0>); // Prismarine -> Prismarine Shard
|
||||
actuallyAdditions.removeCrusher(<minecraft:sugar:0>); // Remove the bad Rice Recipe
|
||||
actuallyAdditions.addCrusher(<betterwithaddons:japanmat:4>, <actuallyadditions:item_food:16>); // Rice -> Rice Flower
|
||||
actuallyAdditions.removeCrusher(<actuallyadditions:item_dust:4>); // Remove Crushed Lapis
|
||||
actuallyAdditions.addCrusher(<minecraft:dye:15> * 3, <death_compass:death_compass>.withTag({})); // Death Compass -> Bone Meal
|
||||
|
||||
// Ball of Fur
|
||||
|
||||
// Removing items from Balls of Fur
|
||||
var ballOfFurRemovalItems as IItemStack[] = [
|
||||
<minecraft:diamond:0>,
|
||||
<minecraft:ender_pearl:0>,
|
||||
<minecraft:gold_ingot:0>,
|
||||
<minecraft:iron_ingot:0>,
|
||||
<minecraft:leather:0>
|
||||
];
|
||||
for item in ballOfFurRemovalItems {
|
||||
BallOfFur.removeReturn(item);
|
||||
}
|
||||
|
||||
// Empowerer
|
||||
Empowerer.addRecipe(<mysticalagriculture:crafting:5> * 4, <minecraft:prismarine_shard:0>,
|
||||
<stevescarts:modulecomponents:45>, <extraplanets:jupiter:4>, <mysticalagriculture:crafting:0>, <extraplanets:neptune:6>,
|
||||
5000, 200, [0.698, 0.870, 0.960]
|
||||
);
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
/*
|
||||
SevTech: Ages Applied Energistics 2 Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
static ae as IItemStack[string][string] = {
|
||||
press: {
|
||||
engineering: <appliedenergistics2:material:14>,
|
||||
silicon: <appliedenergistics2:material:19>
|
||||
},
|
||||
printed: {
|
||||
calculation: <appliedenergistics2:material:16>,
|
||||
engineering: <appliedenergistics2:material:17>,
|
||||
logic: <appliedenergistics2:material:18>,
|
||||
silicon: <appliedenergistics2:material:20>
|
||||
},
|
||||
processor: {
|
||||
calculation: <appliedenergistics2:material:23>,
|
||||
engineering: <appliedenergistics2:material:24>,
|
||||
logic: <appliedenergistics2:material:22>
|
||||
}
|
||||
};
|
||||
|
||||
static rs as IItemStack[string][string] = {
|
||||
printed: {
|
||||
advanced: <refinedstorage:processor:2>,
|
||||
basic: <refinedstorage:processor:0>,
|
||||
improved: <refinedstorage:processor:1>,
|
||||
silicon: <refinedstorage:processor:6>
|
||||
},
|
||||
processor: {
|
||||
advanced: <refinedstorage:processor:5>,
|
||||
basic: <refinedstorage:processor:3>,
|
||||
improved: <refinedstorage:processor:4>,
|
||||
}
|
||||
};
|
||||
|
||||
function init() {
|
||||
// Re-create silicon recipe
|
||||
appliedEnergistics.removeInscribe(ae.printed.silicon);
|
||||
appliedEnergistics.addInscribe(ae.printed.silicon, <ore:itemSilicon>, true, ae.press.silicon);
|
||||
|
||||
// Use GC heavy plating as alternative recipe for printed engineering
|
||||
appliedEnergistics.addInscribe(ae.printed.engineering, <galacticraftcore:heavy_plating:0>, true, ae.press.engineering);
|
||||
|
||||
// ==============================================
|
||||
// Refined Storage re-creation
|
||||
appliedEnergistics.addInscribe(<refinedstorage:fluid_interface:0>, <refinedstorage:interface:0>, false, <minecraft:bucket:0>, <minecraft:redstone:0>);
|
||||
|
||||
appliedEnergistics.addInscribe(<refinedstorage:grid:2>, <refinedstorage:grid:0>, false, ae.processor.engineering, <refinedstorage:pattern:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:grid:3>, <refinedstorage:grid:0>, false, ae.processor.engineering, <minecraft:bucket:0>);
|
||||
|
||||
appliedEnergistics.addInscribe(<refinedstorage:storage:0>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:storage:1>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:1>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:storage:2>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:2>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:storage:3>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:storage_part:3>);
|
||||
|
||||
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:0>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:1>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:1>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:2>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:2>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:fluid_storage:3>, <refinedstorage:machine_casing:0>, false, ae.processor.logic, <refinedstorage:fluid_storage_part:3>);
|
||||
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:1>, <refinedstorage:upgrade:0>, false, <minecraft:ender_pearl:0>, <minecraft:redstone:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:2>, <refinedstorage:upgrade:0>, false, <minecraft:sugar:0>, <minecraft:redstone:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:3>, <refinedstorage:upgrade:0>, false, <ore:workbench>, <minecraft:redstone:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:6>, <refinedstorage:upgrade:0>, false,
|
||||
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:silk_touch>.makeEnchantment(1)).ench}), <minecraft:redstone:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:7>, <refinedstorage:upgrade:0>, false,
|
||||
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:fortune>.makeEnchantment(1)).ench}), <minecraft:redstone:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:8>, <refinedstorage:upgrade:0>, false,
|
||||
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:fortune>.makeEnchantment(2)).ench}), <minecraft:redstone:0>);
|
||||
appliedEnergistics.addInscribe(<refinedstorage:upgrade:9>, <refinedstorage:upgrade:0>, false,
|
||||
<minecraft:enchanted_book:0>.withTag({StoredEnchantments: utils.makeJeidTag(<enchantment:minecraft:fortune>.makeEnchantment(3)).ench}), <minecraft:redstone:0>);
|
||||
|
||||
appliedEnergistics.addGrindstone(<minecraft:dye:15> * 2, <death_compass:death_compass>.withTag({})); // Death Compass -> Bone Meal
|
||||
}
|
139
scripts/crafttweaker/integrations/mods/astralsorcery.zs
Normal file
139
scripts/crafttweaker/integrations/mods/astralsorcery.zs
Normal file
@ -0,0 +1,139 @@
|
||||
/*
|
||||
SevTech: Ages Astral Sorcery Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.astralsorcery.Altar;
|
||||
import mods.astralsorcery.LightTransmutation;
|
||||
import mods.astralsorcery.StarlightInfusion;
|
||||
|
||||
import scripts.crafttweaker.craftingUtils;
|
||||
|
||||
function init() {
|
||||
/*
|
||||
Altar
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Altar/
|
||||
*/
|
||||
|
||||
// =======================================
|
||||
// Discovery
|
||||
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/upgrade_tier2");
|
||||
Altar.addDiscoveryAltarRecipe("sevtech/altar/upgrade_tier2", <astralsorcery:blockaltar:1>, 200, 1600, [
|
||||
<astralsorcery:blockmarble:2>, <ore:asCrystal>, <astralsorcery:blockmarble:2>,
|
||||
<astralsorcery:blockmarble:4>, craftingUtils.getBucketIngredient(<liquid:astralsorcery.liquidstarlight>), <astralsorcery:blockmarble:4>,
|
||||
<astralsorcery:blockmarble:2>, null, <astralsorcery:blockmarble:2>
|
||||
]);
|
||||
|
||||
// =======================================
|
||||
// Attunement
|
||||
Altar.addAttunementAltarRecipe("sevtech/altar/illimination_powder", <astralsorcery:itemusabledust:0> * 8, 80, 600, [
|
||||
<betterwithmods:sand_pile:0>, <astralsorcery:itemcraftingcomponent:0>, <betterwithmods:sand_pile:0>,
|
||||
null, <minecraft:gunpowder:0>, null,
|
||||
<betterwithmods:sand_pile:0>, null, <betterwithmods:sand_pile:0>,
|
||||
<quark:glass_shards:0>, <quark:glass_shards:0>, <quark:glass_shards:0>, <quark:glass_shards:0>
|
||||
]);
|
||||
|
||||
Altar.addAttunementAltarRecipe("sevtech/altar/starmetal_ore", <astralsorcery:blockcustomore:1> * 1, 1400, 600, [
|
||||
<astralsorcery:itemusabledust:0>, <astralsorcery:itemcraftingcomponent:2>, <astralsorcery:itemusabledust:0>,
|
||||
<minecraft:stone:0>, <geolosys:cluster:0>, <minecraft:stone:0>,
|
||||
<astralsorcery:itemusabledust:0>, <astralsorcery:itemcraftingcomponent:2>, <astralsorcery:itemusabledust:0>,
|
||||
<astralsorcery:itemusabledust:1>, <astralsorcery:itemusabledust:1>, <astralsorcery:itemusabledust:1>, <astralsorcery:itemusabledust:1>
|
||||
]);
|
||||
|
||||
// Conversion Wand
|
||||
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/tool_exchange");
|
||||
Altar.addAttunementAltarRecipe("sevtech/altar/conversion_wand", <astralsorcery:itemexchangewand:0> * 1, 600, 180, [
|
||||
null, <astralsorcery:itemcraftingcomponent:2>, <thebetweenlands:crimson_middle_gem:0>,
|
||||
<minecraft:diamond:0>, <astralsorcery:blockmarble:6>, null,
|
||||
<astralsorcery:blockmarble:6>, null, null,
|
||||
null, null, <astralsorcery:blockmarble:6>, null
|
||||
]);
|
||||
|
||||
// Modifies the Altar recipe to use TF items
|
||||
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/upgrade_tier3");
|
||||
Altar.addAttunementAltarRecipe("sevtech/altar/upgrade_tier3", <astralsorcery:blockaltar:2>, 1250, 600, [
|
||||
<astralsorcery:blockworldilluminator:0>, <twilightforest:firefly_jar:0>, <astralsorcery:blockworldilluminator:0>,
|
||||
<twilightforest:maze_stone:3>, <ore:asCrystal>, <twilightforest:maze_stone:3>,
|
||||
<twilightforest:maze_stone:6>, <twilightforest:ironwood_ingot:0>, <twilightforest:maze_stone:6>,
|
||||
<twilightforest:liveroot:0>, <twilightforest:liveroot:0>, <twilightforest:maze_stone:2>, <twilightforest:maze_stone:2>
|
||||
]);
|
||||
|
||||
// =======================================
|
||||
// Constellation
|
||||
|
||||
// Resplendent Prism
|
||||
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/enchantment_amulet_craft");
|
||||
Altar.addConstellationAltarRecipe("sevtech/altar/resplendent_prism", <astralsorcery:itemenchantmentamulet:0>, 3100, 600, [
|
||||
<astralsorcery:itemcraftingcomponent:1>, <ore:string>, <astralsorcery:itemcraftingcomponent:1>,
|
||||
<twilightforest:trollber:0>, <nex:amethyst_crystal:0>, <twilightforest:trollber:0>,
|
||||
<minecraft:ender_eye:0>, <astralsorcery:itemshiftingstar:0>, <minecraft:ender_eye:0>,
|
||||
null, null, null, null,
|
||||
<ore:string>, <ore:string>, <thebetweenlands:items_misc:18>, <thebetweenlands:items_misc:18>,
|
||||
<twilightforest:trollber:0>, <twilightforest:trollber:0>, <twilightforest:trollber:0>, <twilightforest:trollber:0>
|
||||
]);
|
||||
|
||||
// Coal Engine
|
||||
Altar.addConstellationAltarRecipe("sevtech/coal_engine", <stevescarts:cartmodule:0>, 3000, 900, [
|
||||
metals.fiery.gear, <tconstruct:seared_furnace_controller:0>, metals.fiery.gear,
|
||||
<minecraft:ghast_tear:0>, <twilightforest:tower_device:12>, <minecraft:ghast_tear:0>,
|
||||
metals.fiery.gear, <betterwithmods:cooking_pot:1>, metals.fiery.gear,
|
||||
<minecraft:anvil:0>, <minecraft:anvil:0>, <ironchest:iron_chest:1>, <ironchest:iron_chest:1>,
|
||||
<minecraft:sticky_piston:0>, <minecraft:sticky_piston:0>,
|
||||
metals.steeleaf.rod, metals.steeleaf.rod,
|
||||
metals.steeleaf.rod, metals.steeleaf.rod,
|
||||
<minecraft:sticky_piston:0>, <minecraft:sticky_piston:0>
|
||||
]);
|
||||
|
||||
// =======================================
|
||||
// Trait
|
||||
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/chalice");
|
||||
Altar.addTraitAltarRecipe("sevtech/altar/chalice", <astralsorcery:blockchalice:0>, 5500, 700, [
|
||||
// 0-2
|
||||
null, null, null,
|
||||
// 3-5
|
||||
null, null, null,
|
||||
// 6-8
|
||||
null, <astralsorcery:itemcraftingcomponent:1>, null,
|
||||
// 9-12
|
||||
null, null, null, null,
|
||||
// 13-14
|
||||
metals.platinum.ingot, metals.platinum.ingot,
|
||||
// 15-18
|
||||
null, null, null, null,
|
||||
// 19-20
|
||||
metals.platinum.ingot, metals.platinum.ingot,
|
||||
// 21-22
|
||||
<astralsorcery:itemcraftingcomponent:1>, <astralsorcery:itemcraftingcomponent:4>,
|
||||
// 23-24
|
||||
<astralsorcery:itemcraftingcomponent:4>, <astralsorcery:blockblackmarble:0>,
|
||||
// Outer Items, indices 25+
|
||||
<astralsorcery:itemcraftingcomponent:0>, <astralsorcery:itemcraftingcomponent:0>,
|
||||
<astralsorcery:itemcraftingcomponent:0>, <astralsorcery:itemcraftingcomponent:0>,
|
||||
<astralsorcery:itemcraftingcomponent:0>
|
||||
]);
|
||||
|
||||
// Sextants
|
||||
Altar.removeAltarRecipe("astralsorcery:shaped/internal/altar/sextant");
|
||||
|
||||
/*
|
||||
Starlight Infusion
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Infusion/
|
||||
*/
|
||||
StarlightInfusion.addInfusion(<appliedenergistics2:material:3>, <astralsorcery:itemcraftingcomponent:2>, false, 0.25, 300);
|
||||
|
||||
/*
|
||||
Starlight Transmutation
|
||||
|
||||
https://crafttweaker.readthedocs.io/en/latest/#Mods/Astral_Sorcery/Transmutation/
|
||||
*/
|
||||
LightTransmutation.addTransmutation(<extraplanets:kepler22b:2>, <mysticalagriculture:inferium_ore:0>, 1000);
|
||||
LightTransmutation.addTransmutation(<extraplanets:kepler22b:4>, <mysticalagriculture:prosperity_ore:0>, 1000);
|
||||
|
||||
astralSorcery.addGrindstone(<death_compass:death_compass>.withTag({}), <minecraft:dye:15> * 2); // Death Compass -> Bone Meal
|
||||
}
|
284
scripts/crafttweaker/integrations/mods/betterwithmods.zs
Normal file
284
scripts/crafttweaker/integrations/mods/betterwithmods.zs
Normal file
@ -0,0 +1,284 @@
|
||||
/*
|
||||
SevTech: Ages Better With Mods/Addons Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.betterwithaddons.Condensed;
|
||||
import mods.betterwithmods.MiniBlocks;
|
||||
import mods.betterwithmods.Turntable;
|
||||
import mods.betterwithmods.Saw;
|
||||
|
||||
/*
|
||||
Recipes to be removed from the Kiln.
|
||||
*/
|
||||
static kilnRemovals as IItemStack[] = [
|
||||
<betterwithmods:raw_pastry:3>
|
||||
];
|
||||
|
||||
/*
|
||||
Recipes to be removed from the Mill.
|
||||
*/
|
||||
static millRemovals as IItemStack[][] = [
|
||||
[<betterwithmods:material:33>],
|
||||
[<betterwithmods:raw_pastry:3>],
|
||||
[<minecraft:dye:11>],
|
||||
[<minecraft:dye:12>],
|
||||
[<minecraft:dye:13>],
|
||||
[<minecraft:dye:14>],
|
||||
[<minecraft:dye:1>],
|
||||
[<minecraft:dye:3>],
|
||||
[<minecraft:dye:7>],
|
||||
[<minecraft:dye:9>],
|
||||
[<minecraft:string>, <minecraft:dye:1>]
|
||||
];
|
||||
|
||||
/*
|
||||
Recipes to be removed from the Soaking Box.
|
||||
*/
|
||||
static soakingRemovals as IItemStack[] = [
|
||||
<betterwithaddons:log_mulberry:0>,
|
||||
<betterwithaddons:japanmat:36>
|
||||
];
|
||||
|
||||
/*
|
||||
Recipes to be removed from the Cauldron.
|
||||
|
||||
Note: Removing by output also requires the amount of the output item that is given.
|
||||
*/
|
||||
static cauldronRemovals as IItemStack[][] = [
|
||||
[<betterwithmods:fertilizer:0> * 8],
|
||||
[<betterwithmods:material:1> * 4],
|
||||
[<betterwithmods:material:12>],
|
||||
[<betterwithmods:material:12> * 2],
|
||||
[<betterwithmods:material:12> * 3],
|
||||
[<betterwithmods:material:12> * 4],
|
||||
[<betterwithmods:material:6>],
|
||||
[<rustic:tallow:0>],
|
||||
// Remove Cut Leather (Tanned) from Cauldron and oredict
|
||||
[<betterwithmods:material:32> * 2],
|
||||
// Remove Pot As recipes because a single recipe with all wooden items is confusing.
|
||||
[<betterwithmods:material:21>],
|
||||
[<betterwithmods:material:21> * 2],
|
||||
[<betterwithmods:aesthetic:11>],
|
||||
[<betterwithaddons:sapling_luretree:0>]
|
||||
];
|
||||
|
||||
/*
|
||||
Recipes to be removed from the Crucible.
|
||||
*/
|
||||
static crucibleRemovals as IItemStack[][] = [
|
||||
[<betterwithaddons:decomat:3>],
|
||||
[<betterwithaddons:decomat:3> * 2],
|
||||
[<minecraft:glass:0>],
|
||||
[<minecraft:iron_ingot:0> * 3]
|
||||
];
|
||||
|
||||
/*
|
||||
Recipes to be removed from the Saw.
|
||||
*/
|
||||
static sawRemovals as IItemStack[][] = [
|
||||
//Sawing Corners only give 1 gear instead of 2
|
||||
[<betterwithmods:material:0> * 2],
|
||||
|
||||
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}), <betterwithmods:material:9>, <betterwithmods:material:0>, <minecraft:iron_ingot:0> * 2],
|
||||
[<betterwithmods:material:32> * 3, <betterwithmods:material:9>, <betterwithmods:material:0>, <betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 2],
|
||||
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 3, <betterwithmods:material:0> * 3, <betterwithmods:material:34>],
|
||||
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 3, <minecraft:iron_ingot:0>, <betterwithmods:material:0>, <betterwithmods:material:34>],
|
||||
[<betterwithmods:moulding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 3, <betterwithmods:material:0>, <minecraft:wooden_pressure_plate:0>],
|
||||
[<betterwithmods:moulding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 6, <minecraft:diamond:0>],
|
||||
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 6, <minecraft:diamond:0>]
|
||||
];
|
||||
|
||||
/*
|
||||
Pelt Mapping for both Large and Standard.
|
||||
*/
|
||||
static pelts as IIngredient[] = [
|
||||
<minecraft:rabbit_hide:0>,
|
||||
<primal:pelt_animal:0>,
|
||||
<primal:pelt_dog:0>,
|
||||
<primal:pelt_gator:0>,
|
||||
<primal:pelt_ovis:0>,
|
||||
<primal:pelt_pig:0>,
|
||||
<primal:pelt_shark:0>,
|
||||
<primal:pelt_sheep:0>,
|
||||
<primal:pelt_wolf:0>
|
||||
];
|
||||
static largePelts as IIngredient[] = [
|
||||
<primal:pelt_animal_large:0>,
|
||||
<primal:pelt_bear_black:0>,
|
||||
<primal:pelt_bear_brown:0>,
|
||||
<primal:pelt_bear_polar:0>,
|
||||
<primal:pelt_cow:0>,
|
||||
<primal:pelt_donkey:0>,
|
||||
<primal:pelt_horse:0>,
|
||||
<primal:pelt_llama:0>,
|
||||
<primal:pelt_mooshroom:0>,
|
||||
<primal:pelt_mule:0>
|
||||
];
|
||||
|
||||
// TODO: USE THIS FOR THE REST OF RECIPE ADDITIONS!
|
||||
|
||||
// [Outputs] : [Inputs]
|
||||
static sawRecipes as IIngredient[][IItemStack[]] = {
|
||||
[<minecraft:stick:0> * 2]: [
|
||||
<minecraft:leaves:*>,
|
||||
<minecraft:leaves2:*>,
|
||||
<abyssalcraft:dltleaves:0>,
|
||||
<abyssalcraft:dreadleaves:0>,
|
||||
<betterwithmods:blood_leaves:0>,
|
||||
<betterwithaddons:leaves_luretree:0>,
|
||||
<betterwithaddons:leaves_mulberry:0>,
|
||||
<betterwithaddons:leaves_sakura:0>,
|
||||
<natura:overworld_leaves:*>,
|
||||
<natura:overworld_leaves2:*>,
|
||||
<natura:redwood_leaves:0>,
|
||||
<natura:nether_leaves:*>,
|
||||
<natura:nether_leaves2:*>,
|
||||
<rustic:leaves:*>,
|
||||
<rustic:leaves_apple:0>,
|
||||
<twilightforest:dark_leaves:0>,
|
||||
<twilightforest:giant_leaves:*>,
|
||||
<twilightforest:twilight_leaves:*>,
|
||||
<twilightforest:twilight_leaves_3:*>,
|
||||
<twilightforest:magic_leaves:*>,
|
||||
<totemic:cedar_leaves:0>,
|
||||
<thebetweenlands:leaves_sap_tree:0>,
|
||||
<thebetweenlands:leaves_rubber_tree:0>,
|
||||
<thebetweenlands:leaves_hearthgrove_tree:0>,
|
||||
<thebetweenlands:leaves_spirit_tree_top:0>,
|
||||
<thebetweenlands:leaves_spirit_tree_middle:0>,
|
||||
<thebetweenlands:leaves_spirit_tree_bottom:0>,
|
||||
<traverse:brown_autumnal_leaves>,
|
||||
<traverse:orange_autumnal_leaves>,
|
||||
<traverse:red_autumnal_leaves>,
|
||||
<traverse:yellow_autumnal_leaves>,
|
||||
<traverse:fir_leaves:0>
|
||||
],
|
||||
[<thebetweenlands:items_misc:20> * 2]: [<thebetweenlands:leaves_weedwood_tree:0>],
|
||||
[<thebetweenlands:nibblestick:0> * 2]: [<thebetweenlands:leaves_nibbletwig_tree:0>],
|
||||
[<betterwithmods:material:0>]: [ MiniBlocks.getMiniBlock("corner", <ore:plankWood>) ],
|
||||
[<minecraft:melon:0> * 9]: [ <minecraft:melon_block:0> ],
|
||||
[<betterwithmods:siding_wood:0>.withTag({texture: {Properties: {variant: "oak"}, Name: "minecraft:planks"}}) * 6, <minecraft:quartz:0>]: [<minecraft:jukebox:0>]
|
||||
};
|
||||
|
||||
function init() {
|
||||
/*
|
||||
Removals
|
||||
*/
|
||||
for removal in kilnRemovals {
|
||||
betterWithMods.removeKiln(removal);
|
||||
}
|
||||
for removal in millRemovals {
|
||||
betterWithMods.removeMilling(removal);
|
||||
}
|
||||
for removal in soakingRemovals {
|
||||
betterWithMods.removeSoaking(removal);
|
||||
}
|
||||
for removal in cauldronRemovals {
|
||||
betterWithMods.removeCauldron(removal);
|
||||
}
|
||||
for removal in crucibleRemovals {
|
||||
betterWithMods.removeCrucible(removal);
|
||||
}
|
||||
for removal in sawRemovals {
|
||||
betterWithMods.removeSaw(removal);
|
||||
}
|
||||
|
||||
/*
|
||||
Additions
|
||||
*/
|
||||
|
||||
for sawOutputs, sawInputs in sawRecipes {
|
||||
for sawInput in sawInputs {
|
||||
for sawInputItem in sawInput.items {
|
||||
Saw.builder()
|
||||
.buildRecipe(sawInput, sawOutputs)
|
||||
.setInputBlockDrop(sawInputItem as IItemStack)
|
||||
.build();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Turntable
|
||||
Turntable.builder()
|
||||
.buildRecipe(<ceramics:clay_barrel_unfired:0>, [])
|
||||
.setProductState(<ceramics:clay_barrel_unfired:1>)
|
||||
.build();
|
||||
Turntable.builder()
|
||||
.buildRecipe(<ceramics:clay_barrel_unfired:1>, [])
|
||||
.setProductState(<ceramics:clay_bucket_block:0>)
|
||||
.build();
|
||||
|
||||
// Mill
|
||||
|
||||
// Rice Flour
|
||||
betterWithMods.addMilling([<actuallyadditions:item_food:16>], [<betterwithaddons:japanmat:4>]);
|
||||
|
||||
// THERE CAN BE ONLY 1 FLOUR!
|
||||
betterWithMods.addMilling([<minecraft:wheat:0>], [<horsepower:flour:0>]);
|
||||
betterWithMods.addMilling([<natura:materials:0>], [<horsepower:flour:0>]);
|
||||
|
||||
// Other
|
||||
betterWithMods.addMilling([<minecraft:flint:0>, <minecraft:clay_ball:0>, <pickletweaks:dye_powder:0>], [<ceramics:unfired_clay:4>]);
|
||||
betterWithMods.addMilling([<minecraft:sand:0>, <minecraft:clay_ball:0>, <minecraft:gravel:0>], [<tconstruct:soil:0> * 2]);
|
||||
betterWithMods.addMilling([<actuallyadditions:block_misc:3>], [<actuallyadditions:item_dust:7>]);
|
||||
betterWithMods.addMilling([<materialpart:aquamarine:ore_minecraft_stone>], [<astralsorcery:itemcraftingcomponent:0> * 1]);
|
||||
betterWithMods.addMilling([<primal_tech:flint_block>], [<minecraft:flint:0> * 2]);
|
||||
betterWithMods.addMilling([<charcoalblock:charcoal_block:0>], [<minecraft:coal:1> * 9]);
|
||||
betterWithMods.addMilling([<primal_tech:charcoal_block>], [<minecraft:coal:1> * 4]);
|
||||
betterWithMods.addMilling([<minecraft:coal_block:0>], [<minecraft:coal:0> * 9]);
|
||||
betterWithMods.addMilling([<minecraft:cobblestone:0>], [<tconstruct:stone_stick:0> * 1]);
|
||||
betterWithMods.addMilling([<astralsorcery:itemcraftingcomponent:1>], [<astralsorcery:itemcraftingcomponent:2>]);
|
||||
betterWithMods.addMilling([<minecraft:quartz:0>], [<appliedenergistics2:material:3>]);
|
||||
betterWithMods.addMilling([<primal:sharp_bone:0>], [<primal:bone_knapp:0>]);
|
||||
betterWithMods.addMilling([<primal:shark_tooth:0>], [<minecraft:dye:15> * 2]);
|
||||
betterWithMods.addMilling([<betterwithmods:companion_cube>], [<minecraft:string> * 10, <pickletweaks:dye_powder:14> * 2]);
|
||||
|
||||
// Bark
|
||||
for bark in <ore:barkWood>.items {
|
||||
betterWithMods.addMilling([bark], [<primal:tannin_ground:0> * 2]);
|
||||
}
|
||||
|
||||
// Spindle
|
||||
betterWithMods.addSpindle([<primal:leather_cordage:0>], <primal:leather_strip:0> * 4, false);
|
||||
|
||||
// Condensed
|
||||
Condensed.setContainer(<betterwithaddons:bolt:0>, <betterwithaddons:spindle:0>);
|
||||
|
||||
// Cauldron
|
||||
betterWithMods.addCauldron([<ore:dustCarbon>, <betterwithmods:material:16>], [<betterwithmods:material:1>]);
|
||||
betterWithMods.addCauldron([<minecraft:rotten_flesh:0>, <minecraft:rotten_flesh:0>, <minecraft:rotten_flesh:0>], [<betterwithmods:material:12>]);
|
||||
betterWithMods.addCauldron([<primal:pigman_hide_raw:0>], [<betterwithmods:material:12> * 2]);
|
||||
betterWithMods.addCauldron([<animalium:wild_dog_pelt:0>], [<betterwithmods:material:12>]);
|
||||
betterWithMods.addCauldron([<totemic:buffalo_items:0>], [<betterwithmods:material:12> * 2]);
|
||||
betterWithMods.addCauldron([<primal:wolf_head_item:0>], [<betterwithmods:material:12>, <primal:bone_knapp:0>]);
|
||||
betterWithMods.addCauldron([<minecraft:sapling:2>, <minecraft:wheat:0> * 16, <pickletweaks:dye_powder:14> * 8, <minecraft:rotten_flesh:0> * 4], [<betterwithaddons:sapling_luretree:0>]);
|
||||
// Remake laxative recipe using foodFlour instead of BWM flour only.
|
||||
betterWithMods.addCauldron([<betterwithaddons:food_mulberry:0> * 3, <minecraft:sugar:0>, <ore:foodFlour>], [<betterwithaddons:laxative:0>]);
|
||||
|
||||
//==============================
|
||||
// Stoked
|
||||
// betterWithMods.addCauldron(IIngredient[] inputs, IItemStack[] outputs, true);
|
||||
//==============================
|
||||
betterWithMods.addCauldron([<ore:logWood>], [<betterwithmods:material:21> * 2], true);
|
||||
betterWithMods.addCauldron([<ore:plankWood> * 4], [<betterwithmods:material:21>], true);
|
||||
betterWithMods.addCauldron([<ore:dustWood> * 16], [<betterwithmods:material:21>], true);
|
||||
|
||||
// Pelt Recipes
|
||||
for pelt in pelts {
|
||||
betterWithMods.addCauldron([pelt], [<betterwithmods:material:12>]);
|
||||
}
|
||||
for largePelt in largePelts {
|
||||
betterWithMods.addCauldron([largePelt], [<betterwithmods:material:12> * 2]);
|
||||
}
|
||||
|
||||
// Drying Box
|
||||
betterWithMods.removeDrying(<betterwithaddons:japanmat:2>);
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
/*
|
||||
SevTech: Ages Blood Magic Alchemy Array Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
function init() {
|
||||
bloodMagic.removeAlchemyArray(<minecraft:redstone:0>, <bloodmagic:slate:3>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:sigil_divination:0>, <betterwithaddons:tweakmat:0>, <bloodmagic:slate:0>);
|
||||
|
||||
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_sword:0>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:bound_sword:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_sword:0>);
|
||||
|
||||
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_pickaxe:0>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:bound_pickaxe:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_pickaxe:0>);
|
||||
|
||||
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_axe:0>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:bound_axe:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_axe:0>);
|
||||
|
||||
bloodMagic.removeAlchemyArray(<bloodmagic:component:8>, <minecraft:diamond_shovel:0>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:bound_shovel:0>.withTag({Unbreakable: 1 as byte, activated: 0 as byte}), <bloodmagic:component:8>, <minecraft:golden_shovel:0>);
|
||||
|
||||
bloodMagic.removeAlchemyArray(<bloodmagic:component:11>, <bloodmagic:slate:1>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:sigil_blood_light:0>, <bloodmagic:component:11>, <bloodmagic:slate:1>);
|
||||
|
||||
bloodMagic.removeAlchemyArray(<bloodmagic:component:27>, <bloodmagic:slate:1>);
|
||||
bloodMagic.addAlchemyArray(<bloodmagic:sigil_holding:0>, <bloodmagic:component:27>, <bloodmagic:slate:1>);
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
/*
|
||||
SevTech: Ages Blood Magic Alchemy Table Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
function init() {
|
||||
bloodMagic.removeAlchemyTable([<minecraft:wheat:0>, <minecraft:sugar:0>]);
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
/*
|
||||
SevTech: Ages Blood Magic Blood Altar Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
function init() {
|
||||
bloodMagic.removeAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:apprentice"}));
|
||||
bloodMagic.addAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:apprentice"}), <abyssalcraft:cpearl:0>, 1, 5000, 5, 5);
|
||||
|
||||
bloodMagic.removeAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:weak"}));
|
||||
bloodMagic.addAltar(<bloodmagic:blood_orb:0>.withTag({orb: "bloodmagic:weak"}), <tconstruct:edible:3>, 0, 2000, 2, 1);
|
||||
|
||||
bloodMagic.removeAltar(<bloodmagic:sanguine_book:0>);
|
||||
bloodMagic.addAltar(<bloodmagic:sanguine_book:0>, <primal:plant_cloth:0>, 0, 1000, 20, 0);
|
||||
|
||||
bloodMagic.removeAltar(<bloodmagic:dagger_of_sacrifice:0>);
|
||||
bloodMagic.addAltar(<bloodmagic:dagger_of_sacrifice:0>, <actuallyadditions:item_sword_quartz:0>, 0, 3000, 5, 5);
|
||||
|
||||
bloodMagic.addAltar(<cyclicmagic:food_step:0>, <minecraft:apple:0>, 0, 1500, 5, 5);
|
||||
}
|
17
scripts/crafttweaker/integrations/mods/bloodmagic/init.zs
Normal file
17
scripts/crafttweaker/integrations/mods/bloodmagic/init.zs
Normal file
@ -0,0 +1,17 @@
|
||||
#priority -50
|
||||
|
||||
/*
|
||||
SevTech: Ages Blood Magic Loader Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
function init() {
|
||||
scripts.crafttweaker.integrations.mods.bloodmagic.alchemyArray.init();
|
||||
scripts.crafttweaker.integrations.mods.bloodmagic.alchemyTable.init();
|
||||
scripts.crafttweaker.integrations.mods.bloodmagic.bloodAltar.init();
|
||||
scripts.crafttweaker.integrations.mods.bloodmagic.tartaricForge.init();
|
||||
}
|
@ -0,0 +1,122 @@
|
||||
/*
|
||||
SevTech: Ages Blood Magic Tartaric Forge Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.bloodmagic.TartaricForge;
|
||||
|
||||
function init() {
|
||||
TartaricForge.removeRecipe([<minecraft:redstone:0>, <pickletweaks:dye_powder:0>, <minecraft:gunpowder:0>, <minecraft:coal:*>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:arcane_ashes:0>,
|
||||
[<betterwithaddons:tweakmat:0>, <minecraft:gunpowder:0>, <pickletweaks:dye_powder:0>, <minecraft:coal:1>],
|
||||
0, 0
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:glowstone:0>, <minecraft:torch:0>, <minecraft:redstone:0>, <minecraft:redstone:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:component:11>,
|
||||
[<betterwithmods:candle:*>, <minecraft:torch:0>, <betterwithaddons:tweakmat:0>, <betterwithaddons:tweakmat:0>],
|
||||
200, 10
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:ice:0>, <minecraft:snowball:0>, <minecraft:snowball:0>, <minecraft:redstone:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:component:32>,
|
||||
[<minecraft:snow:0>, <minecraft:snowball:0>, <minecraft:snowball:0>, <betterwithaddons:tweakmat:0>],
|
||||
80, 10
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<bloodmagic:teleposer:0>, <minecraft:diamond:0>, <minecraft:ender_pearl:0>, <minecraft:obsidian:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:component:18>,
|
||||
[<bloodmagic:teleposer:0>, metals.platinum.ingot, <minecraft:ender_pearl:0>, <minecraft:obsidian:0>],
|
||||
1500, 200
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:iron_block:0>, <minecraft:diamond:0>, <bloodmagic:slate:2>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:master_routing_node:0>,
|
||||
[metals.iron.block, metals.platinum.ingot, <bloodmagic:slate:2>],
|
||||
400, 200
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:diamond_chestplate:0>, <bloodmagic:soul_gem:1>, <minecraft:iron_block:0>, <minecraft:obsidian:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:sentient_armour_gem:0>,
|
||||
[<minecraft:golden_chestplate:0>, <bloodmagic:soul_gem:1>, metals.iron.block, <minecraft:obsidian:0>],
|
||||
240, 150
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:ghast_tear:0>, <minecraft:feather:0>, <minecraft:feather:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:component:2>,
|
||||
[<minecraft:ghast_tear:0>, <twilightforest:raven_feather:0>, <twilightforest:raven_feather:0>, <minecraft:elytra:0>],
|
||||
128, 20
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<bloodmagic:soul_forge:0>, <minecraft:stone:0>, <minecraft:dye:4>, <minecraft:glass:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:demon_crystallizer:0>,
|
||||
[<bloodmagic:soul_forge:0>, <ore:stone>, metals.manyullyn.ingot, <ore:blockGlass>],
|
||||
500, 100
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<bloodmagic:soul_gem:0>, <minecraft:diamond:0>, <minecraft:redstone_block:0>, <minecraft:lapis_block:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:soul_gem:1>,
|
||||
[<bloodmagic:soul_gem:0>, <abyssalcraft:shadowshard:0>, metals.bronze.ingot, <minecraft:fermented_spider_eye:0>],
|
||||
60, 20
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<bloodmagic:soul_gem:1>, <minecraft:diamond:0>, <minecraft:gold_block:0>, <bloodmagic:slate:2>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:soul_gem:2>,
|
||||
[<bloodmagic:soul_gem:1>, <abyssalcraft:shadowgem:0>, metals.gold.block, <bloodmagic:slate:2>],
|
||||
240, 50
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:stick:0>, <bloodmagic:slate:1>, <minecraft:dye:4>, <minecraft:dye:4>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:node_router:0>,
|
||||
[<ore:stickWood>, <bloodmagic:slate:1>, <minecraft:dye:4>, <minecraft:blaze_rod:0>],
|
||||
400, 5
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:cauldron:0>, <minecraft:stone:0>, <minecraft:dye:4>, <minecraft:diamond:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:demon_crucible:0>,
|
||||
[<minecraft:cauldron:0>, <ore:stone>, <minecraft:dye:4>, metals.platinum.ingot],
|
||||
400, 5
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:glass:0>, <minecraft:stone:0>, <bloodmagic:slate:0>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:component:10>,
|
||||
[<ore:blockGlass>, <bloodmagic:slate:0>, <minecraft:dye:4>, metals.silver.ingot],
|
||||
400, 10
|
||||
);
|
||||
|
||||
TartaricForge.removeRecipe([<minecraft:redstone:0>, <minecraft:gold_ingot:0>, <minecraft:glass:0>, <pickletweaks:dye_powder:11>]);
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:soul_gem:0>,
|
||||
[<betterwithaddons:tweakmat:0>, metals.bronze.ingot, <pickletweaks:dye_powder:11>, <abyssalcraft:shadowfragment:0>],
|
||||
1, 1
|
||||
);
|
||||
|
||||
TartaricForge.addRecipe(
|
||||
<astralsorcery:itemcraftingcomponent:2>,
|
||||
[<extendedcrafting:material:0>, <astralsorcery:itemrockcrystalsimple:0>, <appliedenergistics2:material:46>, <minecraft:dye:4>],
|
||||
100, 20
|
||||
);
|
||||
|
||||
TartaricForge.addRecipe(
|
||||
<bloodmagic:sentient_sword:0>,
|
||||
[<bloodmagic:soul_gem:0>, <actuallyadditions:item_sword_quartz:0>],
|
||||
0, 0
|
||||
);
|
||||
}
|
22
scripts/crafttweaker/integrations/mods/bonsai.zs
Normal file
22
scripts/crafttweaker/integrations/mods/bonsai.zs
Normal file
@ -0,0 +1,22 @@
|
||||
/*
|
||||
SevTech: Ages Bonsai Trees Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.bonsaitrees.TreeDrops;
|
||||
|
||||
function init() {
|
||||
TreeDrops.addTreeDrop("twilightforest:canopy", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:darkcanopy", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:mangrove", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:minerstree", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:oak", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:rainbow_oak", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:sortingtree", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:treeoftime", <twilightforest:liveroot>, 0.1);
|
||||
TreeDrops.addTreeDrop("twilightforest:treeoftransformation", <twilightforest:liveroot>, 0.1);
|
||||
}
|
100
scripts/crafttweaker/integrations/mods/chisel.zs
Normal file
100
scripts/crafttweaker/integrations/mods/chisel.zs
Normal file
@ -0,0 +1,100 @@
|
||||
/*
|
||||
SevTech: Ages Chisel Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.chisel.Carving;
|
||||
|
||||
function init() {
|
||||
/*
|
||||
Tinkers' Clear Glass
|
||||
*/
|
||||
Carving.addVariation("glass", <tconstruct:clear_glass:0>);
|
||||
Carving.addVariation("glassdyedwhite", <tconstruct:clear_stained_glass:0>);
|
||||
Carving.addVariation("glassdyedorange", <tconstruct:clear_stained_glass:1>);
|
||||
Carving.addVariation("glassdyedmagenta", <tconstruct:clear_stained_glass:2>);
|
||||
Carving.addVariation("glassdyedlightblue", <tconstruct:clear_stained_glass:3>);
|
||||
Carving.addVariation("glassdyedyellow", <tconstruct:clear_stained_glass:4>);
|
||||
Carving.addVariation("glassdyedlime", <tconstruct:clear_stained_glass:5>);
|
||||
Carving.addVariation("glassdyedpink", <tconstruct:clear_stained_glass:6>);
|
||||
Carving.addVariation("glassdyedgray", <tconstruct:clear_stained_glass:7>);
|
||||
Carving.addVariation("glassdyedlightgray", <tconstruct:clear_stained_glass:8>);
|
||||
Carving.addVariation("glassdyedcyan", <tconstruct:clear_stained_glass:9>);
|
||||
Carving.addVariation("glassdyedpurple", <tconstruct:clear_stained_glass:10>);
|
||||
Carving.addVariation("glassdyedblue", <tconstruct:clear_stained_glass:11>);
|
||||
Carving.addVariation("glassdyedbrown", <tconstruct:clear_stained_glass:12>);
|
||||
Carving.addVariation("glassdyedgreen", <tconstruct:clear_stained_glass:13>);
|
||||
Carving.addVariation("glassdyedred", <tconstruct:clear_stained_glass:14>);
|
||||
Carving.addVariation("glassdyedblack", <tconstruct:clear_stained_glass:15>);
|
||||
|
||||
/*
|
||||
BetweenLands Stone/Rock
|
||||
*/
|
||||
|
||||
// Add CragRock.
|
||||
Carving.addGroup("cragrock");
|
||||
Carving.addVariation("cragrock", <thebetweenlands:cragrock_chiseled:0>);
|
||||
Carving.addVariation("cragrock", <thebetweenlands:cragrock_bricks:0>);
|
||||
Carving.addVariation("cragrock", <thebetweenlands:cragrock_tiles:0>);
|
||||
Carving.addVariation("cragrock", <thebetweenlands:smooth_cragrock:0>);
|
||||
|
||||
// Add BetweenStone.
|
||||
Carving.addGroup("betweenstone");
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_bricks:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_bricks_mirage:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_tiles:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:betweenstone_chiseled:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:cracked_betweenstone_bricks:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:cracked_betweenstone_tiles:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:smooth_betweenstone:0>);
|
||||
Carving.addVariation("betweenstone", <thebetweenlands:weak_betweenstone_tiles:0>);
|
||||
|
||||
// Add PitStone.
|
||||
Carving.addGroup("pitstone");
|
||||
Carving.addVariation("pitstone", <thebetweenlands:pitstone_chiseled:0>);
|
||||
Carving.addVariation("pitstone", <thebetweenlands:pitstone_bricks:0>);
|
||||
Carving.addVariation("pitstone", <thebetweenlands:pitstone_tiles:0>);
|
||||
Carving.addVariation("pitstone", <thebetweenlands:smooth_pitstone:0>);
|
||||
|
||||
// Add Betweenlands Limestone to limestone group
|
||||
Carving.addVariation("limestone", <thebetweenlands:limestone:0>);
|
||||
Carving.addVariation("limestone", <thebetweenlands:limestone_chiseled:0>);
|
||||
Carving.addVariation("limestone", <thebetweenlands:cracked_limestone_bricks:0>);
|
||||
Carving.addVariation("limestone", <thebetweenlands:limestone_bricks:0>);
|
||||
Carving.addVariation("limestone", <thebetweenlands:limestone_tiles:0>);
|
||||
Carving.addVariation("limestone", <thebetweenlands:polished_limestone:0>);
|
||||
Carving.addVariation("limestone", <thebetweenlands:weak_polished_limestone:0>);
|
||||
|
||||
// Add NetherEx Basalt to basalt group
|
||||
Carving.addVariation("basalt", <nex:basalt:0>);
|
||||
Carving.addVariation("basalt", <nex:basalt:1>);
|
||||
Carving.addVariation("basalt", <nex:basalt:2>);
|
||||
Carving.addVariation("basalt", <nex:basalt:3>);
|
||||
|
||||
/*
|
||||
Remove Iron Pane group
|
||||
All items are WIP and thus hidden in JEI by us
|
||||
*/
|
||||
Carving.removeGroup("ironpane");
|
||||
|
||||
/*
|
||||
Removals
|
||||
*/
|
||||
Carving.removeVariation("prismarine", <minecraft:prismarine:2>);
|
||||
Carving.removeVariation("prismarine", <minecraft:prismarine:1>);
|
||||
|
||||
/*
|
||||
Metals
|
||||
*/
|
||||
for oreDictEntry, blocks in chiselBlocks {
|
||||
var vgName = "vg_" + oreDictEntry.name.toLowerCase();
|
||||
for block in blocks {
|
||||
print("[Chisel] Adding " + block.definition.id + " to " + vgName);
|
||||
Carving.addVariation(vgName, block);
|
||||
}
|
||||
}
|
||||
}
|
20
scripts/crafttweaker/integrations/mods/cyclicmagic.zs
Normal file
20
scripts/crafttweaker/integrations/mods/cyclicmagic.zs
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
SevTech: Ages Cyclic Magic Integration Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.cyclicmagic.Hydrator;
|
||||
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
function init() {
|
||||
// Remove Red Sand recipe
|
||||
Hydrator.removeShapedRecipe(<minecraft:sand:1>);
|
||||
|
||||
// Add Red Sand recipe using dye powder
|
||||
Hydrator.addRecipe(<minecraft:sand:1>, [<minecraft:sand:0>, <minecraft:sand:0>, <minecraft:sand:0>, <pickletweaks:dye_powder:14>] as IItemStack[], 25);
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
/*
|
||||
SevTech: Ages Extended Crafting Ender Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
static recipes as IIngredient[][][IItemStack] = {
|
||||
<galacticraftcore:rocket_workbench:0>: [
|
||||
[<galacticraftcore:basic_item:9>, <pneumaticcraft:assembly_io_unit:0>, <galacticraftcore:basic_item:9>],
|
||||
[<appliedenergistics2:material:22>, <extendedcrafting:table_basic:0>, <appliedenergistics2:material:24>],
|
||||
[<galacticraftcore:basic_item:9>, <pneumaticcraft:printed_circuit_board:0>, <galacticraftcore:basic_item:9>]
|
||||
]
|
||||
};
|
128
scripts/crafttweaker/integrations/mods/extendedCrafting/init.zs
Normal file
128
scripts/crafttweaker/integrations/mods/extendedCrafting/init.zs
Normal file
@ -0,0 +1,128 @@
|
||||
#priority -50
|
||||
|
||||
/*
|
||||
SevTech: Ages Extended Crafting Ender Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.extendedcrafting.CompressionCrafting;
|
||||
import mods.extendedcrafting.EnderCrafting;
|
||||
import mods.extendedcrafting.TableCrafting;
|
||||
|
||||
function init() {
|
||||
var enderRecipes as IIngredient[][][IItemStack] = scripts.crafttweaker.integrations.mods.extendedCrafting.enderRecipes.recipes;
|
||||
var tableRecipes as IIngredient[][][IItemStack] = scripts.crafttweaker.integrations.mods.extendedCrafting.tableRecipes.recipes;
|
||||
var tierShapedRecipes as IIngredient[][][IItemStack][int] = scripts.crafttweaker.integrations.mods.extendedCrafting.tierTableRecipes.shapedRecipes;
|
||||
var tierShapelessRecipes as IIngredient[][IItemStack][int] = scripts.crafttweaker.integrations.mods.extendedCrafting.tierTableRecipes.shapelessRecipes;
|
||||
|
||||
// Add the Recipes to the Game.
|
||||
for output, _recipe in enderRecipes {
|
||||
EnderCrafting.addShaped(output, _recipe);
|
||||
}
|
||||
for output, _recipe in tableRecipes {
|
||||
TableCrafting.addShaped(output, _recipe);
|
||||
}
|
||||
for tier, items in tierShapedRecipes {
|
||||
for output, _recipe in items {
|
||||
TableCrafting.addShaped(tier, output, _recipe);
|
||||
}
|
||||
}
|
||||
for tier, items in tierShapelessRecipes {
|
||||
for output, _recipe in items {
|
||||
TableCrafting.addShapeless(tier, output, _recipe);
|
||||
}
|
||||
}
|
||||
|
||||
// Create the Compressions.
|
||||
scripts.crafttweaker.integrations.mods.extendedCrafting.init.initCompressions();
|
||||
}
|
||||
|
||||
/*
|
||||
Compression Crafting
|
||||
|
||||
https://github.com/BlakeBr0/ExtendedCrafting/wiki/Compression-Crafting
|
||||
|
||||
[<firstOutput>, <firstInput>]
|
||||
*/
|
||||
static compressionCraftingPairs as IItemStack[][] = [
|
||||
[<overloaded:compressed_cobblestone:0>, <minecraft:cobblestone:0>],
|
||||
[<overloaded:compressed_obsidian:0>, <minecraft:obsidian:0>]
|
||||
];
|
||||
|
||||
// The RF Rates to be used when making the compression recipes.
|
||||
static rfRates as int[] = [
|
||||
200,
|
||||
250,
|
||||
300,
|
||||
400,
|
||||
500,
|
||||
600,
|
||||
700,
|
||||
800,
|
||||
1000,
|
||||
1200,
|
||||
1400,
|
||||
1600,
|
||||
1750,
|
||||
1850,
|
||||
2000,
|
||||
2500
|
||||
];
|
||||
|
||||
/*
|
||||
Method to handle the compression creating, along with the decompression.
|
||||
*/
|
||||
function initCompressions() {
|
||||
var craftingPairs as IItemStack[][] = scripts.crafttweaker.integrations.mods.extendedCrafting.init.compressionCraftingPairs;
|
||||
var rfRates as int[] = scripts.crafttweaker.integrations.mods.extendedCrafting.init.rfRates;
|
||||
|
||||
for pair in compressionCraftingPairs {
|
||||
// Check at the start of every pair loop to see if it is one of the unique types.
|
||||
var isObsidian = pair[1].matches(<minecraft:obsidian:0>);
|
||||
var isNetherrack = pair[1].matches(<minecraft:netherrack:0>);
|
||||
|
||||
// Loop i = 0 through 15 (doesnt do 16)
|
||||
for i in 0 to 16 {
|
||||
var output = pair[0].definition.makeStack(i);
|
||||
var input = pair[1];
|
||||
|
||||
// Calculate RF Cost.
|
||||
var baseCost = (pow(2, i) * 1000) as int;
|
||||
|
||||
if (i != 0) {
|
||||
// If not the initial/standard block to 1x.
|
||||
input = pair[0].definition.makeStack(i - 1);
|
||||
}
|
||||
|
||||
// Default catalyst.
|
||||
var catalystMeta = 8;
|
||||
|
||||
// Set catalystMeta based on criteria.
|
||||
if (i <= 7) {
|
||||
if (isObsidian | isNetherrack) {
|
||||
catalystMeta = 11;
|
||||
}
|
||||
} else if (i <= 11) {
|
||||
catalystMeta = isObsidian | isNetherrack ? 12 : 11;
|
||||
} else {
|
||||
catalystMeta = 13;
|
||||
}
|
||||
|
||||
// Now that we have the meta wanted for the catalyst, create the item.
|
||||
var catalyst = <extendedcrafting:material:0>.definition.makeStack(catalystMeta);
|
||||
|
||||
// Add compression crafting recipe to compress.
|
||||
CompressionCrafting.addRecipe(output, input, 9, catalyst, baseCost, rfRates[i]);
|
||||
|
||||
// Add standard crafting recipe to decompress.
|
||||
recipes.addShapeless(input * 9, [output]);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,152 @@
|
||||
/*
|
||||
SevTech: Ages Table Extended Crafting Table Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
static recipes as IIngredient[][][IItemStack] = {
|
||||
// Viescraft Airship Ignition
|
||||
<vc:item_airship_ignition:0>: [
|
||||
[metals.iron.plate, metals.iron.plate, <minecraft:blaze_rod:0>, metals.iron.plate, metals.iron.plate],
|
||||
[metals.iron.plate, <minecraft:quartz:0>, metals.platinum.gear, <minecraft:quartz:0>, metals.iron.plate],
|
||||
[metals.iron.rod, metals.platinum.gear, <stevescarts:cartmodule:0>, metals.platinum.gear, metals.iron.rod],
|
||||
[metals.iron.plate, <minecraft:quartz:0>, metals.platinum.gear, <minecraft:quartz:0>, metals.iron.plate],
|
||||
[metals.iron.plate, metals.iron.plate, <minecraft:blaze_rod:0>, metals.iron.plate, metals.iron.plate]
|
||||
],
|
||||
// Viescraft Ship Engine
|
||||
<vc:item_airship_engine:0>: [
|
||||
[metals.steel.plate, <minecraft:piston:0>, <minecraft:piston:0>, <minecraft:piston:0>, metals.steel.plate],
|
||||
[metals.iron.plate, metals.fiery.rod, metals.fiery.rod, metals.fiery.rod, metals.iron.plate],
|
||||
[metals.iron.plate, metals.steeleaf.gear, <stevescarts:cartmodule:44>, metals.steeleaf.gear, metals.iron.plate],
|
||||
[metals.iron.plate, metals.redstoneAlloy.plate, metals.redstoneAlloy.plate, metals.redstoneAlloy.plate, metals.iron.plate],
|
||||
[metals.steel.plate, metals.steel.plate, <minecraft:redstone_block:0>, metals.steel.plate, metals.steel.plate]
|
||||
],
|
||||
// Viescraft Ship Balloon
|
||||
<vc:item_airship_balloon:0>: [
|
||||
[<betterwithmods:rope:0>, <minecraft:string:0>, <betterwithmods:material:4>, <minecraft:string:0>, <betterwithmods:rope:0>],
|
||||
[<minecraft:string:0>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <minecraft:string:0>],
|
||||
[<betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>],
|
||||
[<minecraft:string:0>, <betterwithmods:material:4>, <betterwithmods:material:4>, <betterwithmods:material:4>, <minecraft:string:0>],
|
||||
[<betterwithmods:rope:0>, <minecraft:string:0>, <betterwithmods:material:4>, <minecraft:string:0>, <betterwithmods:rope:0>]
|
||||
],
|
||||
// Advanced mapping stage unlock recipe
|
||||
<extraplanets:apple_iron:0>: [
|
||||
[<twilightforest:magic_map_focus:0>, <thebetweenlands:ring_of_flight:0>, <twilightforest:alpha_fur:0>],
|
||||
[<twilightforest:magic_map_empty:0>, <twilightforest:maze_map_focus:0>, <minecraft:map:0>],
|
||||
[<twilightforest:charm_of_keeping_3:0>, <twilightforest:lamp_of_cinders:0>, <twilightforest:charm_of_keeping_3:0>]
|
||||
],
|
||||
// Stage 4 Machine Frame
|
||||
<teslacorelib:machine_case:0>: [
|
||||
[metals.compressedIron.plate, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, metals.compressedIron.plate],
|
||||
[<industrialforegoing:plastic:0>, <stevescarts:modulecomponents:21>, <pneumaticcraft:printed_circuit_board:0>, <stevescarts:modulecomponents:21>, <industrialforegoing:plastic:0>],
|
||||
[metals.compressedIron.plate, <appliedenergistics2:material:0>, <extendedcrafting:frame:0>, <appliedenergistics2:material:0>, metals.compressedIron.plate],
|
||||
[<industrialforegoing:plastic:0>, metals.cobalt.plate, <appliedenergistics2:material:0>, metals.cobalt.plate, <industrialforegoing:plastic:0>],
|
||||
[metals.compressedIron.plate, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, <industrialforegoing:plastic:0>, metals.compressedIron.plate]
|
||||
],
|
||||
// Atomic Reconstructor
|
||||
<actuallyadditions:block_atomic_reconstructor:0>: [
|
||||
[metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate, <mekanism:basicblock:8>, metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate],
|
||||
[metals.compressedIron.plate, <quark:biotite:0>, <minecraft:obsidian:0>, <appliedenergistics2:material:18>, <minecraft:obsidian:0>, <quark:biotite:0>, metals.compressedIron.plate],
|
||||
[metals.compressedIron.plate, <minecraft:dye:4>, metals.redstoneAlloy.plate, <galacticraftplanets:item_basic_mars:5>, metals.redstoneAlloy.plate, <minecraft:ice:0>, metals.compressedIron.plate],
|
||||
[<actuallyadditions:item_battery_triple:0>, <minecraft:lapis_block:0>, <appliedenergistics2:material:16>, <teslacorelib:machine_case:0>, <appliedenergistics2:material:1>, <environmentaltech:laser_core:0>, <minecraft:emerald:0>],
|
||||
[metals.compressedIron.plate, <minecraft:dye:4>, metals.redstoneAlloy.plate, <galacticraftplanets:item_basic_mars:5>, metals.redstoneAlloy.plate, <minecraft:ice:0>, metals.compressedIron.plate],
|
||||
[metals.compressedIron.plate, <quark:biotite:0>, <minecraft:obsidian:0>, <appliedenergistics2:material:17>, <minecraft:obsidian:0>, <quark:biotite:0>, metals.compressedIron.plate],
|
||||
[metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate, <mekanism:basicblock:8>, metals.compressedIron.plate, metals.compressedIron.plate, metals.compressedIron.plate]
|
||||
],
|
||||
// Building Gadgets #SorryDire
|
||||
<buildinggadgets:buildingtool>: [
|
||||
[<minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>],
|
||||
[<minecraft:cobblestone:0>, null, null, <minecraft:torch:0>, null, null, <minecraft:cobblestone:0>],
|
||||
[<minecraft:cobblestone:0>, null, <betterbuilderswands:wanddiamond:0>, <galacticraftcore:battery:0>, <betterbuilderswands:wanddiamond:0>, null, <minecraft:cobblestone:0>],
|
||||
[<minecraft:cobblestone:0>, <minecraft:torch:0>, <galacticraftcore:battery:0>, <primal:pelt_wolf:0>, <galacticraftcore:battery:0>, <minecraft:torch:0>, <minecraft:cobblestone:0>],
|
||||
[<minecraft:cobblestone:0>, null, <betterbuilderswands:wanddiamond:0>, <galacticraftcore:battery:0>, <betterbuilderswands:wanddiamond:0>, null, <minecraft:cobblestone:0>],
|
||||
[<minecraft:cobblestone:0>, null, null, <minecraft:torch:0>, null, null, <minecraft:cobblestone:0>],
|
||||
[<minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>, <minecraft:cobblestone:0>]
|
||||
],
|
||||
<buildinggadgets:exchangertool>: [
|
||||
[null, null, null, null, null, null, null, null, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, null, null, <minecraft:torch:0>, null, null, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, null, null, <galacticraftcore:battery:0>, null, null, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, <minecraft:torch:0>, <galacticraftcore:battery:0>, <astralsorcery:itemexchangewand:0>, <galacticraftcore:battery:0>, <minecraft:torch:0>, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, null, null, <galacticraftcore:battery:0>, null, null, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, null, null, <minecraft:torch>, null, null, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, <overloaded:compressed_cobblestone:0>, null],
|
||||
[null, null, null, null, null, null, null, null, null]
|
||||
],
|
||||
<buildinggadgets:copypastetool>: [
|
||||
[null, null, null, null, null, null, null, null, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <ore:slimeball>, null, <minecraft:paper:0>, null, <ore:slimeball>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <buildinggadgets:constructionpaste:0>, <minecraft:paper:0>, <buildinggadgets:buildingtool:*>, <minecraft:paper:0>, <buildinggadgets:constructionpaste>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <ore:slimeball>, null, <minecraft:paper:0>, null, <ore:slimeball>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <ore:slimeball>, <buildinggadgets:constructionpaste:0>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, <overloaded:compressed_cobblestone:1>, null],
|
||||
[null, null, null, null, null, null, null, null, null]
|
||||
],
|
||||
|
||||
// ==================================
|
||||
// Creative Items
|
||||
<tconstruct:materials:50>: [
|
||||
[<ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>],
|
||||
[<ore:cast>, <ore:slimecrystal>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <mob_grinding_utils:saw_upgrade:1>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <ore:slimecrystal>, <ore:cast>],
|
||||
[<ore:cast>, <tconstruct:fancy_frame:4>, <extendedcrafting:singularity:3>, <ore:boneWithered>, <mob_grinding_utils:saw_upgrade:5>, <ore:boneWithered>, <extendedcrafting:singularity:2>, <tconstruct:fancy_frame:4>, <ore:cast>],
|
||||
[<ore:cast>, <abyssalcraft:oblivionshard:0>, <tconstruct:materials:19>, <tconstruct:materials:16>, <ore:compressedDesh>, <tconstruct:materials:16>, <tconstruct:materials:19>, <abyssalcraft:oblivionshard:0>, <ore:cast>],
|
||||
[<ore:slimecrystal>, <mob_grinding_utils:saw_upgrade:1>, <mob_grinding_utils:saw_upgrade:5>, <ore:compressedDesh>, <trumpetskeleton:trumpet:0>, <ore:compressedDesh>, <mob_grinding_utils:saw_upgrade:5>, <mob_grinding_utils:saw_upgrade:1>, <ore:slimecrystal>],
|
||||
[<ore:cast>, <abyssalcraft:oblivionshard:0>, <tconstruct:materials:19>, <tconstruct:materials:16>, <ore:compressedDesh>, <tconstruct:materials:16>, <tconstruct:materials:19>, <abyssalcraft:oblivionshard:0>, <ore:cast>],
|
||||
[<ore:cast>, <tconstruct:fancy_frame:4>, <extendedcrafting:singularity:0>, <ore:boneWithered>, <mob_grinding_utils:saw_upgrade:5>, <ore:boneWithered>, <extendedcrafting:singularity:4>, <tconstruct:fancy_frame:4>, <ore:cast>],
|
||||
[<ore:cast>, <ore:slimecrystal>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <mob_grinding_utils:saw_upgrade:1>, <stevescarts:modulecomponents:59>, <stevescarts:modulecomponents:59>, <ore:slimecrystal>, <ore:cast>],
|
||||
[<ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>, <ore:cast>, <ore:cast>, <ore:cast>, <ore:slimecrystal>]
|
||||
],
|
||||
<ironjetpacks:creative_jetpack:0>: [
|
||||
[<thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>, <minecraft:skull:5>, <mekanism:armoredjetpack:0>, <minecraft:skull:5>, <thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>, <thebetweenlands:items_misc:3>],
|
||||
[<thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>, <galacticraftcore:basic_item:14>, <extendedcrafting:singularity:34>, <galacticraftcore:basic_item:14>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:chiromaw_wing:0>],
|
||||
[null, <minecraft:elytra:0>, <mysticalagriculture:supremium_chestplate:0>, <extendedcrafting:material:13>, <extendedcrafting:singularity:24>, <extendedcrafting:material:13>, <mysticalagriculture:supremium_chestplate:0>, <minecraft:elytra:0>, null],
|
||||
[null, <ore:jetpackTier2>, <mysticalagriculture:supremium_chestplate:0>, <galacticraftcore:basic_item:14>, <extendedcrafting:singularity:18>, <galacticraftcore:basic_item:14>, <mysticalagriculture:supremium_chestplate:0>, <ore:jetpackTier2>, null],
|
||||
[<ore:ingotAstralStarmetal>, <ore:jetpackTier2>, <ore:ingotAstralStarmetal>, null, <vc:airships/item_airship:1>, null, <ore:ingotAstralStarmetal>, <ore:jetpackTier2>, <ore:ingotAstralStarmetal>],
|
||||
[<ore:ingotAstralStarmetal>, <ironjetpacks:creative_cell:0>, <ore:ingotAstralStarmetal>, null, <vc:airships/item_airship:2>, null, <ore:ingotAstralStarmetal>, <ironjetpacks:creative_cell:0>, <ore:ingotAstralStarmetal>],
|
||||
[<actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>, null, <vc:airships/item_airship:3>, null, <actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>],
|
||||
[<actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>, null, <vc:airships/item_airship:4>, null, <actuallyadditions:item_leaf_blower_advanced:0>, <ironjetpacks:creative_cell:0>, <actuallyadditions:item_leaf_blower_advanced:0>],
|
||||
[null, <ironjetpacks:creative_thruster:0>, null, null, null, null, null, <ironjetpacks:creative_thruster:0>, null]
|
||||
],
|
||||
<ironjetpacks:creative_thruster:0>: [
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:emerald_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:emerald_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:emerald_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:emerald_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:electrum_capacitor:0>, <ironjetpacks:emerald_cell:0>, <ironjetpacks:electrum_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:diamond_capacitor:0>, <ironjetpacks:diamond_cell:0>, <ironjetpacks:diamond_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:diamond_capacitor:0>, <ironjetpacks:diamond_cell:0>, <ironjetpacks:diamond_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:diamond_capacitor:0>, <ironjetpacks:emerald_cell:0>, <ironjetpacks:diamond_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:electrum_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:electrum_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, null, <mekanism:transmitter:1>, <ironjetpacks:emerald_capacitor:0>, <ironjetpacks:creative_cell:0>, <ironjetpacks:emerald_capacitor:0>, <mekanism:transmitter:1>, null, null],
|
||||
[null, <pneumaticcraft:vortex_tube:0>, <extraplanets:tier8_items:0>, <pneumaticcraft:vortex_tube:0>, null, <pneumaticcraft:vortex_tube:0>, <extraplanets:tier8_items:0>, <pneumaticcraft:vortex_tube:0>, null]
|
||||
],
|
||||
<ironjetpacks:creative_cell:0>: [
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null],
|
||||
[null, <appliedenergistics2:energy_cell:0>, <rftools:powercell_advanced:0>, <immersiveengineering:metal_device0:2>, <mekanism:energycube:0>, <immersiveengineering:metal_device0:2>, <rftools:powercell_advanced:0>, <appliedenergistics2:energy_cell:0>, null]
|
||||
],
|
||||
<mekanism:machineblock2:11>.withTag({tier: 4, mekData: {}}): [
|
||||
[<industrialforegoing:black_hole_tank:0>, <bloodmagic:blood_rune:7>, <mekanism:basicblock:11>, <ore:ingotInsanium>, <extendedcrafting:singularity_custom:1>, <ore:ingotInsanium>, <mekanism:basicblock:11>, <bloodmagic:blood_rune:7>, <industrialforegoing:black_hole_tank:0>],
|
||||
[<integrateddynamics:part_fluid_reader_item:0>, <minecraft:sponge:0>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <mob_grinding_utils:tank>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <minecraft:sponge:0>, <integrateddynamics:part_fluid_reader_item:0>],
|
||||
[<ore:ingotEnhancedGalgadorian>, <abyssalcraft:solidlava:0>, <mysticalagriculture:crafting:48>, <refinedstorage:fluid_storage_disk:3>, <mekanism:machineblock2:11>, <refinedstorage:fluid_storage_disk:3>, <mysticalagriculture:crafting:48>, <abyssalcraft:solidlava:0>, <ore:ingotEnhancedGalgadorian>],
|
||||
[<ore:ingotInsanium>, <enderutilities:enderbucket:0>, <overloaded:infinite_water_source:0>, <mob_grinding_utils:tank_sink>, <bloodmagic:blood_tank:9>, <mob_grinding_utils:tank_sink>, <overloaded:infinite_water_source:0>, <enderutilities:enderbucket:0>, <ore:ingotInsanium>],
|
||||
[<extendedcrafting:singularity_custom:1>, <mob_grinding_utils:tank>, <mekanism:machineblock2:11>, <bloodmagic:blood_tank:9>, <extendedcrafting:singularity_custom:2>, <bloodmagic:blood_tank:9>, <mekanism:machineblock2:11>, <mob_grinding_utils:tank>, <extendedcrafting:singularity_custom:1>],
|
||||
[<ore:ingotInsanium>, <enderutilities:enderbucket:0>, <overloaded:infinite_water_source:0>, <mob_grinding_utils:tank_sink>, <bloodmagic:blood_tank:9>, <mob_grinding_utils:tank_sink>, <overloaded:infinite_water_source:0>, <enderutilities:enderbucket:0>, <ore:ingotInsanium>],
|
||||
[<ore:ingotEnhancedGalgadorian>, <abyssalcraft:solidlava:0>, <mysticalagriculture:crafting:48>, <refinedstorage:fluid_storage_disk:3>, <mekanism:machineblock2:11>, <refinedstorage:fluid_storage_disk:3>, <mysticalagriculture:crafting:48>, <abyssalcraft:solidlava:0>, <ore:ingotEnhancedGalgadorian>],
|
||||
[<integrateddynamics:part_fluid_reader_item:0>, <minecraft:sponge:0>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <mob_grinding_utils:tank>, <extendedcrafting:material:13>, <extendedcrafting:material:13>, <minecraft:sponge:0>, <integrateddynamics:part_fluid_reader_item:0>],
|
||||
[<industrialforegoing:black_hole_tank:0>, <bloodmagic:blood_rune:7>, <mekanism:basicblock:11>, <ore:ingotInsanium>, <extendedcrafting:singularity_custom:1>, <ore:ingotInsanium>, <mekanism:basicblock:11>, <bloodmagic:blood_rune:7>, <industrialforegoing:black_hole_tank:0>]
|
||||
]
|
||||
};
|
@ -0,0 +1,75 @@
|
||||
/*
|
||||
SevTech: Ages Table Extended Crafting Tier Table Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
// Shaped Recipes Tagged by Tier.
|
||||
static shapedRecipes as IIngredient[][][IItemStack][int] = {
|
||||
// Tier 0
|
||||
0:{
|
||||
// Mekanism Energy Cube
|
||||
<mekanism:energycube:0>.withTag({tier: 4, mekData: {energyStored: 1.7976931348623157E308}}): [
|
||||
[<appliedenergistics2:dense_energy_cell:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <overloaded:hyper_energy_sender:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <appliedenergistics2:dense_energy_cell:0>],
|
||||
[<ore:itemCompressedObsidian>, <rftools:powercell_advanced:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <overloaded:hyper_energy_sender:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <rftools:powercell_advanced:0>, <ore:itemCompressedObsidian>],
|
||||
[<ore:itemCompressedObsidian>, <pickletweaks:ppm4:2>, <integrateddynamics:energy_battery:0>, <environmentaltech:solar_cont_6:0>, <mekanism:energycube:0>, <environmentaltech:solar_cont_6:0>, <integrateddynamics:energy_battery:0>, <pickletweaks:ppm4:2>, <ore:itemCompressedObsidian>],
|
||||
[<actuallyadditions:block_laser_relay_extreme:0>, <mysticalagriculture:ultimate_furnace:0>, <mekanism:basicblock2:3>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity:3>, <mekanism:controlcircuit:3>, <mekanism:basicblock2:3>, <mysticalagriculture:ultimate_furnace:0>, <actuallyadditions:block_laser_relay_extreme:0>],
|
||||
[<extendedcrafting:material:13>, <extendedcrafting:material:13>, <mekanism:energycube:0>, <extendedcrafting:singularity:3>, <extendedcrafting:singularity:3>, <extendedcrafting:singularity:3>, <mekanism:energycube:0>, <extendedcrafting:material:13>, <extendedcrafting:material:13>],
|
||||
[<actuallyadditions:block_laser_relay_extreme:0>, <mysticalagriculture:ultimate_furnace:0>, <mekanism:basicblock2:3>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity:3>, <mekanism:controlcircuit:3>, <mekanism:basicblock2:3>, <mysticalagriculture:ultimate_furnace:0>, <actuallyadditions:block_laser_relay_extreme:0>],
|
||||
[<ore:itemCompressedObsidian>, <pickletweaks:ppm4:2>, <integrateddynamics:energy_battery:0>, <environmentaltech:solar_cont_6:0>, <mekanism:energycube:0>, <environmentaltech:solar_cont_6:0>, <integrateddynamics:energy_battery:0>, <pickletweaks:ppm4:2>, <ore:itemCompressedObsidian>],
|
||||
[<ore:itemCompressedObsidian>, <rftools:powercell_advanced:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <overloaded:hyper_energy_sender:0>, <pickletweaks:ppm4:2>, <pickletweaks:ppm4:2>, <rftools:powercell_advanced:0>, <ore:itemCompressedObsidian>],
|
||||
[<appliedenergistics2:dense_energy_cell:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <overloaded:hyper_energy_sender:0>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <ore:itemCompressedObsidian>, <appliedenergistics2:dense_energy_cell:0>]
|
||||
],
|
||||
// Pneumaticraft Creative Compressor
|
||||
<pneumaticcraft:creative_compressor:0>: [
|
||||
[<ore:compressedTitanium>, <ore:compressedMeteoricIron>, <ore:compressedDesh>, <ore:compressedDesh>, <extendedcrafting:material:13>, <ore:compressedDesh>, <ore:compressedDesh>, <ore:compressedMeteoricIron>, <ore:compressedTitanium>],
|
||||
[<ore:compressedMeteoricIron>, <ore:itemCompressedObsidian>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <pneumaticcraft:liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <ore:itemCompressedObsidian>, <ore:compressedMeteoricIron>],
|
||||
[<ore:compressedDesh>, <actuallyadditions:item_crystal_empowered:2>, <ore:itemCompressedDiamond>, <pneumaticcraft:flux_compressor:0>, <mekanism:machineblock:7>, <pneumaticcraft:flux_compressor:0>, <ore:itemCompressedDiamond>, <actuallyadditions:item_crystal_empowered:2>, <ore:compressedDesh>],
|
||||
[<pneumaticcraft:pressure_chamber_valve:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:advanced_liquid_compressor:0>, <extendedcrafting:compressor:0>, <extendedcrafting:singularity_custom:3>, <extendedcrafting:compressor:0>, <pneumaticcraft:advanced_liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:pressure_chamber_valve:0>],
|
||||
[<overloaded:compressed_obsidian:3>, <pneumaticcraft:liquid_compressor:0>, <mekanism:machineblock:7>, <extendedcrafting:singularity_custom:3>, <overloaded:compressed_cobblestone:7>, <extendedcrafting:singularity_custom:3>, <mekanism:machineblock:7>, <pneumaticcraft:liquid_compressor:0>, <overloaded:compressed_obsidian:3>],
|
||||
[<pneumaticcraft:pressure_chamber_valve:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:advanced_liquid_compressor:0>, <extendedcrafting:compressor:0>, <extendedcrafting:singularity_custom:3>, <extendedcrafting:compressor:0>, <pneumaticcraft:advanced_liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:2>, <pneumaticcraft:pressure_chamber_valve:0>],
|
||||
[<ore:compressedDesh>, <actuallyadditions:item_crystal_empowered:2>, <ore:itemCompressedDiamond>, <pneumaticcraft:flux_compressor:0>, <mekanism:machineblock:7>, <pneumaticcraft:flux_compressor:0>, <ore:itemCompressedDiamond>, <actuallyadditions:item_crystal_empowered:2>, <ore:compressedDesh>],
|
||||
[<ore:compressedMeteoricIron>, <ore:itemCompressedObsidian>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <pneumaticcraft:liquid_compressor:0>, <actuallyadditions:item_crystal_empowered:4>, <actuallyadditions:item_crystal_empowered:4>, <ore:itemCompressedObsidian>, <ore:compressedMeteoricIron>],
|
||||
[<ore:compressedTitanium>, <ore:compressedMeteoricIron>, <ore:compressedDesh>, <ore:compressedDesh>, <extendedcrafting:material:13>, <ore:compressedDesh>, <ore:compressedDesh>, <ore:compressedMeteoricIron>, <ore:compressedTitanium>]
|
||||
],
|
||||
// Environmental Tech Creative Flight Modifier
|
||||
<environmentaltech:modifier_creative_flight:0>: [
|
||||
[<environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>, <astralsorcery:itemcape:0>.withTag({astralsorcery: {constellationName: "astralsorcery.constellation.vicio"}}), <environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>, <environmentaltech:mica:0>],
|
||||
[<environmentaltech:mica:0>, <rftools:syringe:0>.withTag({mobName: "Ender Dragon", level: 10, mobId: "minecraft:ender_dragon"}), <enderutilities:enderpearlreusable:1>, <totemic:eagle_drops:1>, <bloodmagic:sigil_phantom_bridge:0>, <totemic:eagle_drops:1>, <enderutilities:enderpearlreusable:1>, <rftools:syringe:0>.withTag({mobName: "Shulker", level: 10, mobId: "minecraft:shulker"}), <environmentaltech:mica:0>],
|
||||
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <nex:ghast_meat_cooked:0>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
|
||||
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <bloodmagic:sigil_air:0>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
|
||||
[<actuallyadditions:block_player_interface:0>, <bloodmagic:sigil_phantom_bridge:0>, <nex:ghast_meat_cooked:0>, <bloodmagic:sigil_air:0>, <rftools:flight_module:0>, <bloodmagic:sigil_air:0>, <nex:ghast_meat_cooked:0>, <bloodmagic:sigil_phantom_bridge:0>, <actuallyadditions:block_player_interface:0>],
|
||||
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <bloodmagic:sigil_air:0>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
|
||||
[<environmentaltech:mica:0>, <mekanism:controlcircuit:3>, <extendedcrafting:singularity_custom:2>, <minecraft:dye:0>, <nex:ghast_meat_cooked:0>, <minecraft:dye:0>, <extendedcrafting:singularity_custom:2>, <mekanism:controlcircuit:3>, <environmentaltech:mica:0>],
|
||||
[<thebetweenlands:items_misc:3>, <thebetweenlands:chiromaw_wing:0>, <appliedenergistics2:material:41>, <cyclicmagic:charm_wing:0>, <bloodmagic:sigil_phantom_bridge:0>, <cyclicmagic:charm_wing:0>, <appliedenergistics2:material:41>, <thebetweenlands:chiromaw_wing:0>, <thebetweenlands:items_misc:3>],
|
||||
[<twilightforest:fire_jet:3>, <tconstruct:slimesling:0>, <twilightforest:fire_jet:3>, <tconstruct:slime_boots:2>, <mysticalagriculture:supremium_chestplate:0>, <tconstruct:slime_boots:2>, <twilightforest:fire_jet:3>, <tconstruct:slimesling:0>, <twilightforest:fire_jet:3>]
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
// Shapeless Recipes Tagged by Tier.
|
||||
static shapelessRecipes as IIngredient[][IItemStack][int] = {
|
||||
// Tier 0
|
||||
0: {
|
||||
<extendedcrafting:material:32>: [
|
||||
<ore:ingotIron>, <ore:ingotGold>, <ore:ingotAstralStarmetal>, <ore:ingotSoulforgedSteel>,
|
||||
<ore:listAllExplosives>, <ore:ingotPlatinum>, <ore:ingotRedstoneAlloy>, <ore:ingotInvar>,
|
||||
<ore:ingotBlackIron>, <ore:ingotHOPGraphite>, <ore:ingotCopper>, <ore:ingotAluminum>,
|
||||
<ore:ingotLead>, <ore:ingotSilver>, <ore:ingotNickel>, <ore:ingotConstantan>,
|
||||
<ore:ingotElectrum>, <ore:ingotSteel>, <ore:ingotRefinedObsidian>, <ore:ingotOsmium>,
|
||||
<ore:ingotBronze>, <ore:ingotRefinedGlowstone>, <ore:ingotTin>, <ore:ingotModularium>,
|
||||
<ore:ingotInsanium>, <ore:ingotBaseEssence>, <ore:ingotInferium>, <ore:ingotPrudentium>,
|
||||
<ore:ingotIntermedium>, <ore:ingotSuperium>, <ore:ingotSupremium>, <ore:ingotSoulium>,
|
||||
<ore:ingotSyrmorite>, <ore:ingotOctine>, <ore:ingotCobalt>, <ore:ingotArdite>,
|
||||
<ore:ingotManyullyn>, <ore:ingotReinforcedMetal>, <ore:ingotEnhancedGalgadorian>, <ore:ingotGalgadorian>,
|
||||
<ore:ingotSteeleaf>, <ore:ingotKnightslime>, <ore:ingotPigiron>, <enderutilities:enderpart:0>,
|
||||
<enderutilities:enderpart:1>, <enderutilities:enderpart:2>
|
||||
]
|
||||
}
|
||||
};
|
@ -0,0 +1,33 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Mixer Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.GalacticraftTweaker;
|
||||
|
||||
/*
|
||||
GalacticCraft & ExtraPlanets
|
||||
|
||||
https://github.com/MJRLegends/ExtraPlanets/wiki/CraftTweakerSupport-1.12-only!
|
||||
https://github.com/MJRLegends/GalacticraftTweaker/wiki/CraftTweakerSupport
|
||||
*/
|
||||
function init() {
|
||||
// Remove tier 8 HD plate recipe
|
||||
GalacticraftTweaker.removeCompressorRecipe(<extraplanets:tier8_items:3>);
|
||||
// Add corrected tier 8 HD plate recipe
|
||||
GalacticraftTweaker.addCompressorShapelessRecipe(<extraplanets:tier8_items:3>, <extraplanets:tier7_items:3>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>, <extraplanets:tier8_items:4>);
|
||||
|
||||
// Remove all compressed steel plate recipes.
|
||||
GalacticraftTweaker.removeCompressorRecipe(<galacticraftcore:basic_item:9>);
|
||||
// Add the correct steel recipe back.
|
||||
GalacticraftTweaker.addCompressorShapelessRecipe(<galacticraftcore:basic_item:9>, <immersiveengineering:metal:8>, <immersiveengineering:metal:8>);
|
||||
|
||||
// Remove the compressed nickle plate recipe.
|
||||
GalacticraftTweaker.removeCompressorRecipe(<extraplanets:tier5_items:6>);
|
||||
// Add back one which is using the correct ingot.
|
||||
GalacticraftTweaker.addCompressorShapelessRecipe(<extraplanets:tier5_items:6>, metals.nickel.ingot.firstItem, metals.nickel.ingot.firstItem);
|
||||
}
|
205
scripts/crafttweaker/integrations/mods/horsepower.zs
Normal file
205
scripts/crafttweaker/integrations/mods/horsepower.zs
Normal file
@ -0,0 +1,205 @@
|
||||
/*
|
||||
SevTech: Ages Horse Power Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.item.IIngredient;
|
||||
|
||||
/*
|
||||
Grinder Recipes
|
||||
|
||||
Layout of the map should be the following:
|
||||
|
||||
int (time): [[output IItemStack, input IItemStack]]
|
||||
*/
|
||||
static grinderRecipes as IIngredient[][][int] = {
|
||||
12: [
|
||||
[<minecraft:clay_ball:0> * 4, <minecraft:clay:0>],
|
||||
[<ore:dyeRed>.firstItem, <minecraft:double_plant:4>],
|
||||
[<ore:dyeRed>.firstItem, <minecraft:red_flower:4>],
|
||||
[<ore:dyeRed>.firstItem, <minecraft:red_flower:0>],
|
||||
[<ore:dyeLightGray>.firstItem, <minecraft:red_flower:3>],
|
||||
[<ore:dyeLightGray>.firstItem, <minecraft:red_flower:6>],
|
||||
[<ore:dyeLightGray>.firstItem, <minecraft:red_flower:8>],
|
||||
[<ore:dyePink>.firstItem, <minecraft:double_plant:5>],
|
||||
[<ore:dyePink>.firstItem, <minecraft:red_flower:7>],
|
||||
[<ore:dyeYellow>.firstItem, <minecraft:double_plant:0>],
|
||||
[<ore:dyeYellow>.firstItem, <minecraft:yellow_flower:0>],
|
||||
[<ore:dyeLightBlue>.firstItem, <minecraft:red_flower:1>],
|
||||
[<ore:dyeMagenta>.firstItem, <minecraft:double_plant:1>],
|
||||
[<ore:dyeMagenta>.firstItem, <minecraft:red_flower:2>],
|
||||
[<ore:dyeOrange>.firstItem, <minecraft:red_flower:5>],
|
||||
[<minecraft:sand:0> * 2, <minecraft:sandstone:0>],
|
||||
[<minecraft:sugar:0> * 1, <minecraft:reeds:0>],
|
||||
[<horsepower:flour:0>, <natura:materials:0>],
|
||||
[<ore:dyeYellow>.firstItem * 2, <minecraft:dye:11>],
|
||||
[<ore:dyeBlue>.firstItem * 2, <ferdinandsflowers:block_cff_flowers:4>],
|
||||
[<ore:dyeBlue>.firstItem * 2, <ferdinandsflowers:block_cff_flowersc:6>],
|
||||
[<ore:dyeBlue>.firstItem * 2, <minecraft:dye:4>],
|
||||
[<betterwithmods:material:44>, <minecraft:dye:3>],
|
||||
[<ore:dyeGreen>.firstItem * 2, <minecraft:dye:2>],
|
||||
[<ore:dyeRed>.firstItem * 2, <minecraft:dye:1>],
|
||||
[<ore:dyeBlack>.firstItem * 2, <actuallyadditions:block_black_lotus:0>],
|
||||
[<ore:dyeBlack>.firstItem * 2, <minecraft:dye:0>],
|
||||
[<ore:dyeWhite>.firstItem * 2, <minecraft:dye:15>]
|
||||
],
|
||||
16: [
|
||||
[<ore:dustWood>.firstItem * 4, <ore:logWood>],
|
||||
[<abyssalcraft:shadowfragment:0> * 9, <abyssalcraft:shadowshard:0>],
|
||||
[<actuallyadditions:item_dust:7>, <actuallyadditions:block_misc:3>],
|
||||
[<betterwithaddons:japanmat:4>, <actuallyadditions:item_food:16>],
|
||||
[<horsepower:flour:0>, <minecraft:wheat:0>],
|
||||
[<pickletweaks:coal_piece:1> * 8, <minecraft:coal:1>],
|
||||
[<ore:dyeRed>.firstItem, <rustic:wildberries:0>],
|
||||
[<primal:bone_knapp:0> * 2, <minecraft:bone:0>],
|
||||
[<primal:tannin_ground:0> * 2, <ore:barkWood>]
|
||||
],
|
||||
24: [
|
||||
[<abyssalcraft:shadowshard:0> * 9, <abyssalcraft:shadowgem:0>],
|
||||
[<minecraft:coal:1> * 4, <primal_tech:charcoal_block>],
|
||||
[<minecraft:coal:1> * 9, <charcoalblock:charcoal_block:0>],
|
||||
[<minecraft:coal:0> * 9, <minecraft:coal_block:0>],
|
||||
[<minecraft:dye:15> * 9, <minecraft:bone_block:0>],
|
||||
[<minecraft:gravel:0>, <minecraft:cobblestone:0>],
|
||||
[<pickletweaks:coal_piece:0> * 8, <minecraft:coal:0>],
|
||||
[<primal:salt_dust_rock:0>, <minecraft:sand:0>],
|
||||
|
||||
// Salt Grinding
|
||||
[<primal:salt_dust_netjry:0> * 4, <primal:salt_netjry_block:0>],
|
||||
[<primal:salt_dust_rock:0> * 4, <primal:ore_salt:0>],
|
||||
[<primal:salt_dust_fire:0> * 4, <primal:ore_salt:1>],
|
||||
[<mekanism:salt:0> * 4, <mekanism:saltblock:0>]
|
||||
],
|
||||
32: [
|
||||
[<tconstruct:stone_stick:0>, <minecraft:cobblestone:0>],
|
||||
[<minecraft:dye:15> * 2, <primal:shark_tooth:0>],
|
||||
[<minecraft:dye:15> * 2, <death_compass:death_compass>.withTag({})], // Death Compass -> Bone Meal
|
||||
[<minecraft:prismarine_shard:0> * 4, <minecraft:prismarine:0>]
|
||||
]
|
||||
};
|
||||
|
||||
/*
|
||||
Press Recipes
|
||||
|
||||
IItemStack output: IIngredient input
|
||||
*/
|
||||
static pressRecipes as IIngredient[IItemStack] = {
|
||||
<abyssalcraft:shadowgem:0>: <abyssalcraft:shadowshard:0> * 9,
|
||||
<abyssalcraft:shadowshard:0>: <abyssalcraft:shadowfragment:0> * 9,
|
||||
<betterwithaddons:japanmat:11>: <betterwithaddons:japanmat:10>,
|
||||
<charcoalblock:charcoal_block:0>: <minecraft:coal:1> * 9,
|
||||
<minecraft:clay:0>: <minecraft:clay_ball:0> * 4,
|
||||
<minecraft:coal:1>: <pickletweaks:coal_piece:1> * 8,
|
||||
<minecraft:coal:0>: <pickletweaks:coal_piece:0> * 8,
|
||||
<minecraft:coal_block:0>: <minecraft:coal:0> * 9,
|
||||
<minecraft:prismarine_crystals:0>: <minecraft:prismarine_shard:0> * 4,
|
||||
|
||||
// Salt Pressing
|
||||
<primal:salt_netjry_block:0>: <primal:salt_dust_netjry:0> * 4,
|
||||
<primal:ore_salt:0>: <primal:salt_dust_rock:0> * 4,
|
||||
<primal:ore_salt:1>: <primal:salt_dust_fire:0> * 4,
|
||||
<mekanism:saltblock:0>: <mekanism:salt:0> * 4,
|
||||
<minecraft:diamond_block:0>: <minecraft:diamond:0> * 9,
|
||||
<minecraft:lapis_block:0>: <minecraft:dye:4> * 9,
|
||||
<minecraft:redstone_block:0>: <minecraft:redstone:0> * 9,
|
||||
<minecraft:emerald_block:0>: <minecraft:emerald:0> * 9
|
||||
};
|
||||
|
||||
var plankWoodCopy = <ore:plankWoodCopy>; // Create an oreDict to hold our plank clone.
|
||||
plankWoodCopy.addAll(<ore:plankWood>); // Clone the main oreDict.
|
||||
// Array containing all the betweenland planks we want to remove from the main cloned one.
|
||||
var betweenlandPlanks as IItemStack[] = [
|
||||
<thebetweenlands:weedwood_planks:0>
|
||||
];
|
||||
// Remove the planks in the array from the cloned oreDict.
|
||||
for plank in betweenlandPlanks {
|
||||
plankWoodCopy.remove(plank);
|
||||
}
|
||||
|
||||
/*
|
||||
Chopping Block Recipes
|
||||
|
||||
"Standardized" Recipes for manual and automatic. 4 for manual, 2 automatic. If not desired, do recipe manually.
|
||||
*/
|
||||
static choppingRecipes as IIngredient[][IItemStack] = {
|
||||
<ore:stickWood>.firstItem * 4 : [
|
||||
<ore:plankWoodCopy>
|
||||
],
|
||||
<thebetweenlands:items_misc:20> * 4: [
|
||||
<thebetweenlands:weedwood_planks:0>
|
||||
],
|
||||
<thebetweenlands:nibblestick:0> * 4: [
|
||||
<thebetweenlands:nibbletwig_planks:0>
|
||||
],
|
||||
<primal:thin_slab_acacia:0> * 2 : [
|
||||
<minecraft:wooden_slab:4>
|
||||
],
|
||||
<primal:thin_slab_bigoak:0> * 2 : [
|
||||
<minecraft:wooden_slab:5>
|
||||
],
|
||||
<primal:thin_slab_birch:0> * 2 : [
|
||||
<minecraft:wooden_slab:2>
|
||||
],
|
||||
<primal:thin_slab_corypha:0> * 2 : [
|
||||
<primal:slab_corypha:0>
|
||||
],
|
||||
<primal:thin_slab_ironwood:0> * 2 : [
|
||||
<rustic:ironwood_slab_item:0>
|
||||
],
|
||||
<primal:thin_slab_jungle:0> * 2 : [
|
||||
<minecraft:wooden_slab:3>
|
||||
],
|
||||
<primal:thin_slab_lacquer:0> * 2 : [
|
||||
<primal:slab_lacquer:0>
|
||||
],
|
||||
<primal:thin_slab_oak:0> * 2 : [
|
||||
<minecraft:wooden_slab:0>
|
||||
],
|
||||
<primal:thin_slab_spruce:0> * 2 : [
|
||||
<minecraft:wooden_slab:1>
|
||||
],
|
||||
<primal:thin_slab_thatch:0> * 2 : [
|
||||
<primal:thatch:0>
|
||||
]
|
||||
};
|
||||
|
||||
function init() {
|
||||
// Add the Grindstone Recipes.
|
||||
for time, grindRecipes in grinderRecipes {
|
||||
for itemRecipe in grindRecipes {
|
||||
for item in itemRecipe[0].items {
|
||||
horsePower.addGrindstone(item, itemRecipe[1], time, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Recipes with Secondary Outputs
|
||||
horsePower.addGrindstone(<minecraft:dye:15>, <primal:bone_knapp:0>, 16, false, <minecraft:dye:15>, 20);
|
||||
horsePower.addGrindstone(<minecraft:dye:15>, <primal:bone_point:0>, 16, false, <minecraft:dye:15>, 20);
|
||||
horsePower.addGrindstone(<minecraft:dye:15>, <primal_tech:bone_shard>, 16, false, <minecraft:dye:15>, 20);
|
||||
|
||||
// Add the Press Recipes.
|
||||
for output, input in pressRecipes {
|
||||
horsePower.addPress(input, output);
|
||||
}
|
||||
|
||||
// Add the Press Recipes for Seeds.
|
||||
var seedOreDict = <ore:thisIsWhatHappensWhenYouDontFollowOreDictionariesForSeeds>;
|
||||
for seed in seedOreDict.items {
|
||||
horsePower.addPress(<minecraft:dirt:0>, seed * 12);
|
||||
}
|
||||
|
||||
// Add the Chopping Block Recipes.
|
||||
for output, inputs in choppingRecipes {
|
||||
for input in inputs {
|
||||
// Add recipe for manual and automatic with different times for each. Makes it consistent for all
|
||||
horsePower.addChopping(output, input, 4, true);
|
||||
horsePower.addChopping(output, input, 2, false);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Alloy Smelter Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
function init() {
|
||||
// Black Iron Creation
|
||||
immersiveEngineering.addAlloy(metals.blackIron.ingot.firstItem, <actuallyadditions:item_dust:7>, metals.iron.ingot);
|
||||
|
||||
// Invar must be in Arc Furnace
|
||||
immersiveEngineering.removeAlloy(metals.invar.ingot.firstItem);
|
||||
|
||||
// Add bronze recipe
|
||||
immersiveEngineering.removeAlloy(metals.bronze.ingot.firstItem);
|
||||
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.ingot * 3, metals.tin.ingot);
|
||||
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.ingot * 3, metals.tin.dust);
|
||||
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.dust * 3, metals.tin.ingot);
|
||||
immersiveEngineering.addAlloy(metals.bronze.ingot.firstItem * 4, metals.copper.dust * 3, metals.tin.dust);
|
||||
|
||||
// Invar
|
||||
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.ingot * 2, metals.nickel.ingot);
|
||||
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.ingot * 2, metals.nickel.dust);
|
||||
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.dust * 2, metals.nickel.ingot);
|
||||
immersiveEngineering.addAlloy(metals.invar.ingot.firstItem * 3, metals.iron.dust * 2, metals.nickel.dust);
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Arc Furnace Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
function init() {
|
||||
var slag as IItemStack = <ore:itemSlag>.firstItem;
|
||||
|
||||
// Quartz Glass
|
||||
immersiveEngineering.addArcFurn(<appliedenergistics2:quartz_glass:0> * 4, <ore:blockGlass> * 4, null, 200, 512,
|
||||
[<ore:dustQuartz> * 5]
|
||||
);
|
||||
// Vanilla Glass
|
||||
immersiveEngineering.addArcFurn(<minecraft:glass:0>, <ore:sand>, null, 150, 256);
|
||||
|
||||
// Vanilla Glass Panes
|
||||
immersiveEngineering.addArcFurn(<minecraft:glass_pane:0>, <betterwithmods:sand_pile:0> * 2, null, 100, 150);
|
||||
|
||||
//==============================================================
|
||||
// Add Steve's carts recipes
|
||||
// Lump of Galgador
|
||||
immersiveEngineering.addArcFurn(<stevescarts:modulecomponents:46> * 2, metals.platinum.block.firstItem, slag, 200, 512,
|
||||
[<minecraft:glowstone_dust:0> * 3, <stevescarts:modulecomponents:45> * 3, <stevescarts:modulecomponents:21> * 2]
|
||||
);
|
||||
//Stabilized Metal
|
||||
immersiveEngineering.addArcFurn(<stevescarts:modulecomponents:21> * 5, <stevescarts:modulecomponents:20>, slag, 200, 512,
|
||||
[metals.iron.ingot.firstItem * 5, <stevescarts:modulecomponents:19> * 3]
|
||||
);
|
||||
|
||||
//==============================================================
|
||||
// Add recipes for alloying that is removed by metals script
|
||||
// Also adding slag as an output to them all
|
||||
|
||||
// Steel
|
||||
immersiveEngineering.addArcFurn(metals.steel.ingot.firstItem, metals.iron.ingot, slag, 300, 448, [<ore:dustCoke>]);
|
||||
|
||||
// Constantan
|
||||
immersiveEngineering.addArcFurn(metals.constantan.ingot.firstItem * 2, metals.copper.ingot, slag, 100, 512, [metals.nickel.dust]);
|
||||
immersiveEngineering.addArcFurn(metals.constantan.ingot.firstItem * 2, metals.nickel.ingot, slag, 100, 512, [metals.copper.dust]);
|
||||
|
||||
// Electrum
|
||||
immersiveEngineering.addArcFurn(metals.electrum.ingot.firstItem * 2, metals.gold.ingot, slag, 100, 512, [metals.silver.dust]);
|
||||
immersiveEngineering.addArcFurn(metals.electrum.ingot.firstItem * 2, metals.silver.ingot, slag, 100, 512, [metals.gold.dust]);
|
||||
|
||||
// Invar
|
||||
immersiveEngineering.addArcFurn(metals.invar.ingot.firstItem * 3, metals.nickel.ingot, slag, 100, 512, [metals.iron.dust * 2]);
|
||||
|
||||
// Ender Utilities
|
||||
immersiveEngineering.addArcFurn(<enderutilities:enderpart:0> * 4, <minecraft:ender_pearl:0>, slag, 100, 512, [<quark:biotite:0> * 8]);
|
||||
immersiveEngineering.addArcFurn(<enderutilities:enderpart:1> * 4, <minecraft:ender_eye:0>, slag, 100, 512, [<minecraft:chorus_fruit:0> * 8]);
|
||||
immersiveEngineering.addArcFurn(<enderutilities:enderpart:2> * 2, <minecraft:ender_eye:0>, slag, 100, 512, [<minecraft:purpur_block:0> * 4, <minecraft:end_rod:0> * 2, <minecraft:shulker_shell:0>]);
|
||||
immersiveEngineering.addArcFurn(<enderutilities:enderpart:20> * 4, <minecraft:ender_pearl:0>, slag, 100, 512, [<minecraft:end_rod:0> * 4]);
|
||||
|
||||
// Black Iron
|
||||
immersiveEngineering.addArcFurn(<extendedcrafting:material:0>, metals.iron.ingot, slag, 100, 512, [<actuallyadditions:item_dust:7>]);
|
||||
|
||||
// Refined Energistics 2.3333333 <- YA! YOU LIKE THAT
|
||||
immersiveEngineering.addArcFurn(<refinedstorage:quartz_enriched_iron:0> * 4, metals.iron.ingot * 3, slag, 100, 512, [<appliedenergistics2:material:0>]);
|
||||
|
||||
// Bronze Alloying
|
||||
immersiveEngineering.addArcFurn(metals.bronze.ingot.firstItem * 4, metals.copper.ingot * 3, slag, 100, 512, [metals.tin.dust]);
|
||||
|
||||
// Redstone Alloy
|
||||
immersiveEngineering.addArcFurn(metals.redstoneAlloy.ingot.firstItem * 2, metals.constantan.ingot, slag, 100, 512, [<minecraft:glowstone_dust:0>, <minecraft:redstone:0>]);
|
||||
|
||||
// Modularium
|
||||
immersiveEngineering.addArcFurn(metals.modularium.ingot.firstItem * 2, metals.aluminum.ingot, slag, 100, 512, [metals.iron.dust, <minecraft:redstone:0>]);
|
||||
immersiveEngineering.addArcFurn(metals.modularium.ingot.firstItem * 2, metals.iron.ingot, slag, 100, 512, [metals.aluminum.dust, <minecraft:redstone:0>]);
|
||||
|
||||
// Aluminum Brass
|
||||
immersiveEngineering.addArcFurn(metals.aluminumBrass.ingot.firstItem * 4, metals.copper.ingot, slag, 100, 512, [metals.aluminum.dust * 3]);
|
||||
|
||||
// Manyullyn
|
||||
immersiveEngineering.addArcFurn(metals.manyullyn.ingot.firstItem, metals.cobalt.ingot, slag, 300, 512, [metals.ardite.ingot]);
|
||||
immersiveEngineering.addArcFurn(metals.manyullyn.ingot.firstItem, metals.ardite.ingot, slag, 300, 512, [metals.cobalt.ingot]);
|
||||
|
||||
// Add a few ore to ingot recipes for metals without dust
|
||||
|
||||
// Cobalt
|
||||
immersiveEngineering.addArcFurn(metals.cobalt.ingot.firstItem * 2, metals.cobalt.ore, null, 600, 512);
|
||||
|
||||
// Ardite
|
||||
immersiveEngineering.addArcFurn(metals.ardite.ingot.firstItem * 2, metals.ardite.ore, null, 200, 512);
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Bottling Machine Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.immersiveengineering.BottlingMachine;
|
||||
|
||||
function init() {
|
||||
BottlingMachine.addRecipe(<minecraft:potion:0>.withTag({Potion: "minecraft:water"}), <minecraft:glass_bottle:0>, <liquid:water> * 1000);
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Crusher Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
function init() {
|
||||
immersiveEngineering.removeCrusher(<actuallyadditions:item_dust:4>);
|
||||
immersiveEngineering.addCrusher(<primal:tannin_ground:0> * 2, <ore:barkWood>, 3000); // Ground Resin from bark
|
||||
immersiveEngineering.addCrusher(<betterwithmods:material:3> * 2, <betterwithmods:material:2>, 3000);
|
||||
immersiveEngineering.addCrusher(<minecraft:dye:15> * 9, <minecraft:bone_block:0>, 3000);
|
||||
immersiveEngineering.addCrusher(<minecraft:sugar:0> * 2, <minecraft:reeds:0>, 3000);
|
||||
immersiveEngineering.addCrusher(<betterwithmods:material:15>, <ore:netherrack>, 3000); // Ground netherrack
|
||||
immersiveEngineering.addCrusher(<appliedenergistics2:material:8>, <appliedenergistics2:material:7>, 3000); // Fluix dust can be made in immersiveEngineering
|
||||
immersiveEngineering.addCrusher(metals.spacePlatinum.dust.firstItem * 2, <ore:oreSpacePlatinum>, 3000); // Osmium ore to dust
|
||||
immersiveEngineering.addCrusher(<ore:dustCoal>.firstItem, <ore:coal>, 3000); // Coal to coal dust
|
||||
immersiveEngineering.addCrusher(<appliedenergistics2:material:2>, <appliedenergistics2:material:0>, 3000); // Certus Quartz to Certus Dust
|
||||
immersiveEngineering.addCrusher(<horsepower:flour:0>, <minecraft:wheat:0>, 3000); // Wheat to Flour
|
||||
immersiveEngineering.addCrusher(<primal:bone_knapp:0>, <primal:sharp_bone:0>, 3000); // Sharp Bone to Bone Knapp
|
||||
immersiveEngineering.addCrusher(<minecraft:dye:15> * 2, <primal:shark_tooth:0>, 3000); // Sharp Bone to Bone Knapp
|
||||
immersiveEngineering.addCrusher(<primal:salt_dust_netjry:0> * 4, <primal:salt_netjry_block:0>, 3000); // Netjry Salt to Netjry Salt
|
||||
immersiveEngineering.addCrusher(<primal:salt_dust_rock:0> * 4, <primal:ore_salt:0>, 3000); // Halite Salt Ore to Halite Rock Salt
|
||||
immersiveEngineering.addCrusher(<primal:salt_dust_fire:0> * 4, <primal:ore_salt:1>, 3000); // Fire Salt Ore to Fire Rock Salt
|
||||
immersiveEngineering.addCrusher(<betterwithmods:material:37>, <minecraft:coal:1>, 3000); // Charcoal to Dust
|
||||
immersiveEngineering.addCrusher(<ore:dustSalt>.firstItem * 4, <mekanism:saltblock:0>, 3000); // Salt Block -> Dust
|
||||
immersiveEngineering.addCrusher(<minecraft:diamond:0> * 9, <minecraft:diamond_block:0>, 3000); // Diamond Block -> Diamonds
|
||||
immersiveEngineering.addCrusher(<minecraft:dye:4> * 9, <minecraft:lapis_block:0>, 3000); // Lapis Block -> Lapis
|
||||
immersiveEngineering.addCrusher(<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>, 3000); // Redstone Block -> Redstone
|
||||
immersiveEngineering.addCrusher(<minecraft:emerald:0> * 9, <minecraft:emerald_block:0>, 3000); // Emerald Block -> Emerald
|
||||
immersiveEngineering.addCrusher(<minecraft:dye:15> * 3, <death_compass:death_compass>.withTag({}), 3000); // Death Compass -> Bone Meal
|
||||
|
||||
// Remove wool -> minecraft dye and string.
|
||||
immersiveEngineering.removeCrusher(<minecraft:string:0>);
|
||||
|
||||
immersiveEngineering.removeCrusher(<primal:quartz_vitrified:0>);
|
||||
}
|
@ -0,0 +1,133 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Excavator Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.immersiveengineering.Excavator;
|
||||
import mods.immersiveengineering.MineralMix;
|
||||
|
||||
function init() {
|
||||
// Remove Minerals
|
||||
Excavator.removeMineral("Bauxite");
|
||||
Excavator.removeMineral("Cinnabar");
|
||||
Excavator.removeMineral("Coal");
|
||||
Excavator.removeMineral("Copper");
|
||||
Excavator.removeMineral("Galena");
|
||||
Excavator.removeMineral("Gold");
|
||||
Excavator.removeMineral("Iron");
|
||||
Excavator.removeMineral("Lapis");
|
||||
Excavator.removeMineral("Lead");
|
||||
Excavator.removeMineral("Magnetite");
|
||||
Excavator.removeMineral("Nickel");
|
||||
Excavator.removeMineral("Pyrite");
|
||||
Excavator.removeMineral("Quartzite");
|
||||
Excavator.removeMineral("Silver");
|
||||
Excavator.removeMineral("Uranium");
|
||||
|
||||
// Black Quartzite
|
||||
Excavator.addMineral("Black Quartzite", 30, 0.15, [], [], [10], false);
|
||||
var blackQuartzite = Excavator.getMineral("Black Quartzite");
|
||||
blackQuartzite.addOre("gemQuartzBlack", 0.50);
|
||||
|
||||
// Nether Quartzite
|
||||
Excavator.addMineral("Nether Quartzite", 30, 0.15, [], [], [-1], true);
|
||||
var netherQuartzite = Excavator.getMineral("Nether Quartzite");
|
||||
netherQuartzite.addOre("gemQuartz", 0.50);
|
||||
|
||||
// Certus Quartzite
|
||||
Excavator.addMineral("Certus Quartzite", 30, 0.15, [], [], [-1], true);
|
||||
var certusQuartzite = Excavator.getMineral("Certus Quartzite");
|
||||
certusQuartzite.addOre("crystalCertusQuartz", 0.70);
|
||||
certusQuartzite.addOre("crystalCertusQuartzCharged", 0.30);
|
||||
|
||||
// Autunite (Uranium)
|
||||
Excavator.addMineral("Autunite", 30, 0.15, [], [], [-1], true);
|
||||
var autunite = Excavator.getMineral("Autunite");
|
||||
autunite.addOre("oreClusterUranium", 0.50);
|
||||
|
||||
// Azurite (Copper)
|
||||
Excavator.addMineral("Azurite", 30, 0.15, [], [], [-1], true);
|
||||
var azurite = Excavator.getMineral("Azurite");
|
||||
azurite.addOre("oreClusterCopper", 0.50);
|
||||
|
||||
// Bauxite (Aluminum)
|
||||
Excavator.addMineral("Bauxite", 30, 0.15, [], [], [-1], true);
|
||||
var bauxite = Excavator.getMineral("Bauxite");
|
||||
bauxite.addOre("oreClusterAluminum", 0.50);
|
||||
|
||||
// Beryl (Emerald)
|
||||
Excavator.addMineral("Beryl", 5, 0.45, [], [], [-1], true);
|
||||
var beryl = Excavator.getMineral("Beryl");
|
||||
beryl.addOre("gemEmerald", 0.50);
|
||||
|
||||
// Cassiterite (Tin)
|
||||
Excavator.addMineral("Cassiterite", 30, 0.15, [], [], [-1], true);
|
||||
var cassiterite = Excavator.getMineral("Cassiterite");
|
||||
cassiterite.addOre("oreClusterTin", 0.50);
|
||||
|
||||
// Cinnabar (Redstone)
|
||||
Excavator.addMineral("Cinnabar", 30, 0.15, [], [], [-1], true);
|
||||
var cinnabar = Excavator.getMineral("Cinnabar");
|
||||
cinnabar.addOre("dustRedstone", 0.50);
|
||||
|
||||
// Coal
|
||||
Excavator.addMineral("Coal", 30, 0.15, [], [], [-1], true);
|
||||
var coal = Excavator.getMineral("Coal");
|
||||
coal.addOre("coal", 0.50);
|
||||
|
||||
// Galena (Silver and Lead)
|
||||
Excavator.addMineral("Galena", 30, 0.15, [], [], [-1], true);
|
||||
var galena = Excavator.getMineral("Galena");
|
||||
galena.addOre("oreClusterSilver", 0.70);
|
||||
galena.addOre("oreClusterLead", 0.30);
|
||||
|
||||
// Gold
|
||||
Excavator.addMineral("Gold", 30, 0.15, [], [], [-1], true);
|
||||
var gold = Excavator.getMineral("Gold");
|
||||
gold.addOre("oreClusterGold", 0.50);
|
||||
|
||||
// Hematite (Iron)
|
||||
Excavator.addMineral("Hematite", 30, 0.15, [], [], [-1], true);
|
||||
var hematite = Excavator.getMineral("Hematite");
|
||||
hematite.addOre("oreClusterIron", 0.50);
|
||||
|
||||
// Kimberlight (Diamond)
|
||||
Excavator.addMineral("Kimberlight", 5, 0.45, [], [], [-1], true);
|
||||
var kimberlight = Excavator.getMineral("Kimberlight");
|
||||
kimberlight.addOre("gemDiamond", 0.50);
|
||||
|
||||
// Lapis
|
||||
Excavator.addMineral("Lapis", 30, 0.15, [], [], [-1], true);
|
||||
var lapis = Excavator.getMineral("Lapis");
|
||||
lapis.addOre("gemLapis", 0.50);
|
||||
|
||||
// Limonite (Iron and Nickel)
|
||||
Excavator.addMineral("Limonite", 30, 0.15, [], [], [-1], true);
|
||||
var limonite = Excavator.getMineral("Limonite");
|
||||
limonite.addOre("oreClusterIron", 0.70);
|
||||
limonite.addOre("oreClusterNickel", 0.30);
|
||||
|
||||
// Malachite (Copper)
|
||||
Excavator.addMineral("Malachite", 30, 0.15, [], [], [-1], true);
|
||||
var malachite = Excavator.getMineral("Malachite");
|
||||
malachite.addOre("oreClusterCopper", 0.50);
|
||||
|
||||
// Platinum
|
||||
Excavator.addMineral("Platinum", 30, 0.15, [], [], [-1], true);
|
||||
var platinum = Excavator.getMineral("Platinum");
|
||||
platinum.addOre("oreClusterPlatinum", 0.50);
|
||||
|
||||
// Osmium
|
||||
Excavator.addMineral("Osmium", 30, 0.15, [], [], [-1], true);
|
||||
var osmium = Excavator.getMineral("Osmium");
|
||||
osmium.addOre("oreClusterOsmium", 0.50);
|
||||
|
||||
// Teallite (Tin)
|
||||
Excavator.addMineral("Teallite", 30, 0.15, [], [], [-1], true);
|
||||
var teallite = Excavator.getMineral("Teallite");
|
||||
teallite.addOre("oreClusterTin", 0.50);
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
#priority -50
|
||||
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Loader Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
function init() {
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.alloySmelter.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.arcFurnace.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.bottlingMachine.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.crusher.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.excavator.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.metalPress.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.mixer.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.refinery.init();
|
||||
scripts.crafttweaker.integrations.mods.immersive.engineering.squeezer.init();
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Metal Press Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
function init() {
|
||||
immersiveEngineering.addPress(<minecraft:blaze_rod:0>, <minecraft:blaze_powder:0>, <immersiveengineering:mold:2>, 4);
|
||||
immersiveEngineering.addPress(metals.compressedIron.ingot.firstItem * 4, metals.iron.block.firstItem, <immersiveengineering:mold:5>, 2000, 1);
|
||||
immersiveEngineering.addPress(<pickletweaks:ppm4:2> * 4, <galacticraftcore:item_basic_moon:0>, <immersiveengineering:mold:4>, 1);
|
||||
|
||||
// Coal and Charcoal Blocks / Pieces
|
||||
immersiveEngineering.addPress(<minecraft:coal_block:0> * 1, <minecraft:coal:0>, <immersiveengineering:mold:6>, 9);
|
||||
immersiveEngineering.addPress(<charcoalblock:charcoal_block:0> * 1, <minecraft:coal:1>, <immersiveengineering:mold:6>, 9);
|
||||
immersiveEngineering.addPress(<minecraft:coal:0> * 9, <minecraft:coal_block:0>, <immersiveengineering:mold:7>, 1);
|
||||
immersiveEngineering.addPress(<minecraft:coal:1> * 9, <charcoalblock:charcoal_block:0>, <immersiveengineering:mold:7>, 1);
|
||||
|
||||
// Clay Balls -> Clay Block
|
||||
immersiveEngineering.addPress(<minecraft:clay:0> * 1, <minecraft:clay_ball:0>, <immersiveengineering:mold:5>, 4);
|
||||
immersiveEngineering.addPress(<minecraft:clay_ball:0> * 4, <minecraft:clay:0>, <immersiveengineering:mold:7>, 1);
|
||||
|
||||
// Shadowfragment -> Shadowshard
|
||||
immersiveEngineering.addPress(<abyssalcraft:shadowshard:0> * 1, <abyssalcraft:shadowfragment:0>, <immersiveengineering:mold:6>, 9);
|
||||
// Shadowshard -> Shadowgem
|
||||
immersiveEngineering.addPress(<abyssalcraft:shadowgem:0> * 1, <abyssalcraft:shadowshard:0>, <immersiveengineering:mold:6>, 9);
|
||||
// Shadowshard -> Shadowfragment
|
||||
immersiveEngineering.addPress(<abyssalcraft:shadowfragment:0> * 9, <abyssalcraft:shadowshard:0>, <immersiveengineering:mold:7>, 1);
|
||||
// Shadowgem -> Shadowshard
|
||||
immersiveEngineering.addPress(<abyssalcraft:shadowshard:0> * 9, <abyssalcraft:shadowgem:0>, <immersiveengineering:mold:7>, 1);
|
||||
// Salt Dust -> Salt Block
|
||||
immersiveEngineering.addPress(<primal:salt_netjry_block:0> * 1, <primal:salt_dust_netjry:0>, <immersiveengineering:mold:5>, 4);
|
||||
immersiveEngineering.addPress(<primal:ore_salt:1> * 1, <primal:salt_dust_fire:0>, <immersiveengineering:mold:5>, 4);
|
||||
immersiveEngineering.addPress(<primal:ore_salt:0> * 1, <primal:salt_dust_rock:0>, <immersiveengineering:mold:5>, 4);
|
||||
immersiveEngineering.addPress(<mekanism:saltblock:0> * 1, <mekanism:salt:0>, <immersiveengineering:mold:5>, 4);
|
||||
|
||||
// Diamond Block
|
||||
immersiveEngineering.addPress(<minecraft:diamond_block:0> * 1, <minecraft:diamond:0>, <immersiveengineering:mold:6>, 9);
|
||||
immersiveEngineering.addPress(<minecraft:diamond:0> * 9, <minecraft:diamond_block:0>, <immersiveengineering:mold:7>, 1);
|
||||
|
||||
// Lapis Block
|
||||
immersiveEngineering.addPress(<minecraft:lapis_block:0> * 1, <minecraft:dye:4>, <immersiveengineering:mold:6>, 9);
|
||||
immersiveEngineering.addPress(<minecraft:dye:4> * 9, <minecraft:lapis_block:0>, <immersiveengineering:mold:7>, 1);
|
||||
|
||||
// Redstone Block
|
||||
immersiveEngineering.addPress(<minecraft:redstone_block:0> * 1, <minecraft:redstone:0>, <immersiveengineering:mold:6>, 9);
|
||||
immersiveEngineering.addPress(<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>, <immersiveengineering:mold:7>, 1);
|
||||
|
||||
// Emerald Block
|
||||
immersiveEngineering.addPress(<minecraft:emerald_block:0> * 1, <minecraft:emerald:0>, <immersiveengineering:mold:6>, 9);
|
||||
immersiveEngineering.addPress(<minecraft:emerald:0> * 9, <minecraft:emerald_block:0>, <immersiveengineering:mold:7>, 1);
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Mixer Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.immersiveengineering.Mixer;
|
||||
|
||||
function init() {
|
||||
Mixer.addRecipe(<liquid:slime> * 500, <liquid:water> * 500, [<minecraft:wheat:0>, <minecraft:clay_ball:0>], 50);
|
||||
Mixer.addRecipe(<liquid:blueslime> * 500, <liquid:slime> * 500, [<pickletweaks:dye_powder:11>, <natura:nether_glowshroom:1>], 50);
|
||||
Mixer.addRecipe(<liquid:purpleslime> * 500, <liquid:slime> * 500, [<pickletweaks:dye_powder:10>, <nex:amethyst_crystal:0>], 50);
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Refinery Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.immersiveengineering.Refinery;
|
||||
|
||||
function init() {
|
||||
Refinery.addRecipe(<liquid:fuel> * 100, <liquid:liquidoxygen> * 250, <liquid:kerosene> * 100, 2048);
|
||||
Refinery.addRecipe(<liquid:fuel> * 100, <liquid:oxygen> * 250, <liquid:kerosene> * 100, 2048);
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Engineering Squeezer Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.immersiveengineering.Squeezer;
|
||||
|
||||
function init() {
|
||||
Squeezer.removeItemRecipe(<minecraft:leather:0>); // Remove Rotten Flesh -> Leather
|
||||
|
||||
// Rustic recipes to make people "jump less" Kappa. Thanks to @iffonox!
|
||||
Squeezer.addRecipe(null, <liquid:wildberryjuice> * 250, <rustic:wildberries>, 2048);
|
||||
Squeezer.addRecipe(null, <liquid:oliveoil> * 250, <rustic:olives>, 2048);
|
||||
Squeezer.addRecipe(null, <liquid:honey> * 250, <rustic:honeycomb>, 2048);
|
||||
Squeezer.addRecipe(null, <liquid:grapejuice> * 250, <rustic:grapes>, 2048);
|
||||
Squeezer.addRecipe(null, <liquid:applejuice> * 250, <minecraft:apple>, 2048);
|
||||
Squeezer.addRecipe(<minecraft:sugar> * 2, <liquid:water> * 250, <minecraft:reeds>, 2048);
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
/*
|
||||
SevTech: Ages Immersive Petroleum Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.immersivepetroleum.Distillation;
|
||||
import mods.immersivepetroleum.Motorboat;
|
||||
import mods.immersivepetroleum.PortableGenerator;
|
||||
import mods.immersivepetroleum.Reservoir;
|
||||
|
||||
/*
|
||||
Support:
|
||||
|
||||
Distillation: http://crafttweaker.readthedocs.io/en/latest/#Mods/Immersive_Petroleum/CraftTweaker_Support/Distillation/
|
||||
Reservoir: http://crafttweaker.readthedocs.io/en/latest/#Mods/Immersive_Petroleum/CraftTweaker_Support/Reservoir/
|
||||
Fuel Registration: http://crafttweaker.readthedocs.io/en/latest/#Mods/Immersive_Petroleum/CraftTweaker_Support/FuelRegistration/
|
||||
*/
|
||||
function init() {
|
||||
// Distillation
|
||||
Distillation.addRecipe(
|
||||
[<liquid:diesel> * 50, <liquid:naphtha> * 50],
|
||||
[<immersivepetroleum:material:0>],
|
||||
<liquid:oil> * 100,
|
||||
2048, 1,
|
||||
[0.07]
|
||||
);
|
||||
|
||||
Distillation.addRecipe(
|
||||
[<liquid:lubricant> * 20, <liquid:gasoline> * 40, <liquid:kerosene> * 40],
|
||||
[<immersivepetroleum:material:0>],
|
||||
<liquid:diesel> * 100,
|
||||
2048, 1,
|
||||
[0.07]
|
||||
);
|
||||
|
||||
// Reservoir
|
||||
Reservoir.registerReservoir("aquifer", <liquid:water>, 5000000, 10000000, 6, 30, [], [0], [], []);
|
||||
Reservoir.registerReservoir("oil", <liquid:oil>, 2500000, 15000000, 6, 40, [1], [], [], []);
|
||||
Reservoir.registerReservoir("lava", <liquid:lava>, 250000, 1000000, 0, 30, [1], [], [], []);
|
||||
|
||||
// Fuel Registration
|
||||
Motorboat.registerMotorboatFuel(<liquid:gasoline>, 1);
|
||||
PortableGenerator.registerPortableGenFuel(<liquid:gasoline>, 256, 5);
|
||||
}
|
86
scripts/crafttweaker/integrations/mods/loottweaker.zs
Normal file
86
scripts/crafttweaker/integrations/mods/loottweaker.zs
Normal file
@ -0,0 +1,86 @@
|
||||
/*
|
||||
SevTech: Ages Loot Tweaker Craft Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.ltt.LootTable;
|
||||
|
||||
/*
|
||||
Support:
|
||||
|
||||
Loot Table Tweaker: http://crafttweaker.readthedocs.io/en/latest/#Mods/LootTableTweaker/LootTableTweaker/
|
||||
*/
|
||||
function init() {
|
||||
// Loot Tables
|
||||
var tables as string[] = [
|
||||
"astralsorcery:chest_shrine",
|
||||
"minecraft:chests/abandoned_mineshaft",
|
||||
"minecraft:chests/desert_pyramid",
|
||||
"minecraft:chests/end_city_treasure",
|
||||
"minecraft:chests/igloo_chest",
|
||||
"minecraft:chests/jungle_temple",
|
||||
"minecraft:chests/jungle_temple_dispenser",
|
||||
"minecraft:chests/nether_bridge",
|
||||
"minecraft:chests/simple_dungeon",
|
||||
"minecraft:chests/spawn_bonus_chest",
|
||||
"minecraft:chests/stronghold_corridor",
|
||||
"minecraft:chests/stronghold_crossing",
|
||||
"minecraft:chests/stronghold_library",
|
||||
"minecraft:chests/village_blacksmith",
|
||||
"minecraft:chests/woodland_mansion",
|
||||
"minecraft:gameplay/fishing",
|
||||
"minecraft:gameplay/fishing/fish",
|
||||
"minecraft:gameplay/fishing/junk",
|
||||
"minecraft:gameplay/fishing/treasure"
|
||||
];
|
||||
|
||||
for table in tables {
|
||||
LootTable.removeTable(table);
|
||||
}
|
||||
|
||||
// Global Items Removal
|
||||
var globalItems as string[] = [
|
||||
"abyssalcraft:mre",
|
||||
"minecraft:blaze_powder",
|
||||
"minecraft:blaze_rod",
|
||||
"minecraft:bucket",
|
||||
"minecraft:diamond",
|
||||
"minecraft:diamond_block",
|
||||
"minecraft:diamond_hoe",
|
||||
"minecraft:diamond_sword",
|
||||
"minecraft:emerald",
|
||||
"minecraft:emerald_block",
|
||||
"minecraft:ender_chest",
|
||||
"minecraft:ender_pearl",
|
||||
"minecraft:glowstone",
|
||||
"minecraft:gold_nugget",
|
||||
"minecraft:golden_apple",
|
||||
"minecraft:golden_helmet",
|
||||
"minecraft:golden_pickaxe",
|
||||
"minecraft:iron_ingot",
|
||||
"minecraft:iron_leggings",
|
||||
"minecraft:iron_pickaxe",
|
||||
"minecraft:magma_cream",
|
||||
"minecraft:milk_bucket",
|
||||
"minecraft:obsidian",
|
||||
"minecraft:redstone",
|
||||
"minecraft:redstone_block",
|
||||
"minecraft:water_bucket",
|
||||
"primal:animal_fat",
|
||||
"primal:animal_fat_nether",
|
||||
"primal:salo",
|
||||
"twilightforest:ore_magnet",
|
||||
"twilightforest:uncrafting_table"
|
||||
];
|
||||
|
||||
for globalItem in globalItems {
|
||||
LootTable.removeGlobalItem(globalItem);
|
||||
}
|
||||
|
||||
// Single Entry Removals
|
||||
LootTable.removeEntry("twilightforest:structures/tower_room", "pool1", "minecraft:ghast_tear");
|
||||
}
|
157
scripts/crafttweaker/integrations/mods/mekanism.zs
Normal file
157
scripts/crafttweaker/integrations/mods/mekanism.zs
Normal file
@ -0,0 +1,157 @@
|
||||
/*
|
||||
SevTech: Ages Mekanism Craft Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
// Map for additional Precision Sawmill recipes - output: [inputs]. Will produce 6 times output, and
|
||||
// 25% chance of sawdust.
|
||||
static sawRecipes as IIngredient[][IItemStack] = {
|
||||
<ore:stickWood>.firstItem: [
|
||||
<ore:plankWood>
|
||||
],
|
||||
<thebetweenlands:items_misc:20>: [
|
||||
<thebetweenlands:weedwood_planks:0>
|
||||
],
|
||||
<thebetweenlands:nibblestick:0>: [
|
||||
<thebetweenlands:nibbletwig_planks:0>
|
||||
],
|
||||
<natura:nether_planks:1>: [
|
||||
<natura:nether_logs2:*>
|
||||
]
|
||||
};
|
||||
|
||||
// Sticks to be turned into a dust at a 1:1 ratio
|
||||
static sticksToDust as IItemStack[] = [
|
||||
<natura:sticks:*>,
|
||||
<ore:stickWood>.firstItem,
|
||||
<primal:yew_stick>,
|
||||
<thebetweenlands:items_misc:20>
|
||||
];
|
||||
|
||||
// These recipes must be explicitly removed - for some reason oredict removal doesn't catch them.
|
||||
static sawRecipeRemove as IIngredient[] = [
|
||||
<chisel:planks-spruce:*>,
|
||||
<rustic:planks:*>,
|
||||
<chisel:planks-acacia:*>,
|
||||
<chisel:planks-oak:*>,
|
||||
<chisel:planks-jungle:*>,
|
||||
<chisel:planks-birch:*>,
|
||||
<chisel:planks-dark-oak:*>,
|
||||
<betterwithaddons:planks_sakura:*>,
|
||||
<betterwithaddons:planks_mulberry:*>
|
||||
];
|
||||
|
||||
function init() {
|
||||
/*
|
||||
Chemical Injection Recipes
|
||||
*/
|
||||
|
||||
// Add a recipe to make Sulfer using the Chemical Injection. TODO: Use the resources global once completed.
|
||||
mekanism.addChemicalInjection(<minecraft:gunpowder:0>, <gas:hydrogenChloride>, <ore:dustSulfur>.firstItem);
|
||||
|
||||
/*
|
||||
Combiner Recipes
|
||||
*/
|
||||
|
||||
// Generic Removals
|
||||
mekanism.removeCombiner(<geolosys:cluster:2>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:3>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:4>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:5>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:6>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:7>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:8>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:9>);
|
||||
mekanism.removeCombiner(<geolosys:cluster:12>);
|
||||
mekanism.removeCombiner(<minecraft:iron_ore:0>);
|
||||
mekanism.removeCombiner(<minecraft:gold_ore:0>);
|
||||
mekanism.removeCombiner(<minecraft:coal_ore:0>);
|
||||
mekanism.removeCombiner(<minecraft:diamond_ore:0>);
|
||||
mekanism.removeCombiner(<minecraft:redstone_ore:0>);
|
||||
mekanism.removeCombiner(<minecraft:emerald_ore:0>);
|
||||
|
||||
mekanism.removeCombiner(<minecraft:quartz_ore:0>, <actuallyadditions:item_dust:5> * 8, <minecraft:cobblestone:0>);
|
||||
|
||||
/*
|
||||
Enrichment Recipes
|
||||
*/
|
||||
|
||||
// Obsidian Fix
|
||||
mekanism.removeEnrichment(<minecraft:obsidian:0>);
|
||||
mekanism.addEnrichment(<minecraft:obsidian:0>, <ore:dustObsidian>.firstItem * 4);
|
||||
|
||||
mekanism.removeEnrichment(<actuallyadditions:item_dust:5>, <minecraft:quartz:0>);
|
||||
|
||||
/*
|
||||
Metallurgic Infuser
|
||||
*/
|
||||
mekanism.addInfusion("OBSIDIAN", 20, <ore:oreCheese>.firstItem, <appliedenergistics2:sky_stone_block:0> * 2);
|
||||
mekanism.addInfusion("OBSIDIAN", 20, <galacticraftcore:cheese_curd:0>, <appliedenergistics2:sky_stone_block:0>);
|
||||
|
||||
// Correct steel dust
|
||||
mekanism.addInfusion("CARBON", 10, <mekanism:enrichediron:0>, metals.steel.dust.firstItem);
|
||||
|
||||
mekanism.addInfusion("DIAMOND", 80, <ironchest:iron_chest:1>, <ironchest:iron_chest:2>);
|
||||
|
||||
/*
|
||||
Energized Smelter
|
||||
*/
|
||||
mekanism.removeSmelter(<betterwithaddons:japanmat:4>);
|
||||
|
||||
/*
|
||||
Crusher
|
||||
*/
|
||||
mekanism.addCrusher(<minecraft:blaze_rod:0>, <minecraft:blaze_powder:0> * 4);
|
||||
mekanism.addCrusher(<actuallyadditions:item_food:16>, <betterwithaddons:japanmat:4>);
|
||||
mekanism.addCrusher(<minecraft:wheat:0>, <horsepower:flour:0>);
|
||||
mekanism.addCrusher(<natura:materials:0>, <horsepower:flour:0>);
|
||||
mekanism.addCrusher(<minecraft:bone:0>, <minecraft:dye:15>);
|
||||
mekanism.addCrusher(<minecraft:bone_block:0>, <minecraft:dye:15> * 9);
|
||||
mekanism.addCrusher(<minecraft:reeds:0>, <minecraft:sugar:0> * 2);
|
||||
mekanism.addCrusher(<actuallyadditions:item_misc:5>, <actuallyadditions:item_dust:7>);
|
||||
mekanism.addCrusher(<immersiveengineering:material:7>, <minecraft:sand:0>);
|
||||
mekanism.addCrusher(<astralsorcery:itemcraftingcomponent:1>, <astralsorcery:itemcraftingcomponent:2>);
|
||||
mekanism.addCrusher(<astralsorcery:blockcustomore:1>, <astralsorcery:itemcraftingcomponent:2> * 2);
|
||||
mekanism.addCrusher(<death_compass:death_compass>.withTag({}), <minecraft:dye:15> * 3); // Death Compass -> Bone Meal
|
||||
|
||||
/*
|
||||
Saw
|
||||
*/
|
||||
for input in sawRecipeRemove {
|
||||
mekanism.removeSawmill(input);
|
||||
}
|
||||
|
||||
for output, inputs in sawRecipes {
|
||||
for inputIngredient in inputs {
|
||||
mekanism.removeSawmill(inputIngredient);
|
||||
for input in inputIngredient.items {
|
||||
mekanism.addSawmill(input, output * 6, <ore:dustWood>.firstItem, 0.25);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Slabs to sticks - re-create as they output mekanism sawdust
|
||||
mekanism.removeSawmill(<ore:slabWood>);
|
||||
mekanism.addSawmill(<ore:slabWood>, <ore:stickWood>.firstItem * 3, <ore:dustWood>.firstItem, 0.13);
|
||||
|
||||
for input in sticksToDust {
|
||||
mekanism.addSawmill(input, <ore:dustWood>.firstItem);
|
||||
}
|
||||
|
||||
// Jukebox handling
|
||||
mekanism.removeSawmill(<minecraft:jukebox:0> as IIngredient);
|
||||
mekanism.addSawmill(<minecraft:jukebox:0>, <minecraft:planks:0> * 8, <minecraft:quartz:0>, 1.0);
|
||||
|
||||
/*
|
||||
Pressurised Reaction Chamber
|
||||
*/
|
||||
// mekanism.removePRC(null, <gas:hydrogen>, <mekanism:sawdust>, <liquid:water>, <gas:oxygen>); // TODO: Was not able to remove the recipe
|
||||
mekanism.addPRC(<ore:dustWood>, <liquid:water> * 20, <gas:oxygen> * 20, null, <gas:hydrogen> * 20, 0.0, 30);
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
/*
|
||||
SevTech: Ages Table Chemical Mixer Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "auto_cauldron";
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "rfglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<minecraft:rotten_flesh:0> * 3)
|
||||
.addItemOutput(<betterwithmods:material:12>)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "pigmglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<primal:pigman_hide_raw:0>)
|
||||
.addItemOutput(<betterwithmods:material:12> * 2)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "wdglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<animalium:wild_dog_pelt:0>)
|
||||
.addItemOutput(<betterwithmods:material:12>)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "bglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<totemic:buffalo_items:0>)
|
||||
.addItemOutput(<betterwithmods:material:12> * 2)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "psglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<ore:peltSmall>)
|
||||
.addItemOutput(<betterwithmods:material:12>)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "pmglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<ore:peltMedium>)
|
||||
.addItemOutput(<betterwithmods:material:12>)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "plglue"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<ore:peltLarge>)
|
||||
.addItemOutput(<betterwithmods:material:12> * 2)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "nsludge"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<betterwithmods:material:21>)
|
||||
.addItemInput(<betterwithmods:material:16> * 4)
|
||||
.addItemOutput(<betterwithmods:material:35> * 8)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "chellfire"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<betterwithmods:material:16> * 8)
|
||||
.addItemOutput(<betterwithmods:material:17>)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "donut"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<horsepower:flour:0>)
|
||||
.addItemInput(<minecraft:sugar:0>)
|
||||
.addItemOutput(<betterwithmods:donut:0> * 4)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "meatballs"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<betterwithaddons:food_ground_meat:0>)
|
||||
.addItemOutput(<betterwithaddons:food_meatballs:0>)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.build();
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
SevTech: Ages Table Chemical Mixer Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "chemical_mixer";
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "propene"), machineName, 200)
|
||||
.addEnergyPerTickInput(1)
|
||||
.addFluidOutput(<liquid:propene> * 1500)
|
||||
.addFluidInput(<liquid:naphtha> * 1000)
|
||||
.addFluidInput(<liquid:steam> * 1000)
|
||||
.build();
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
/*
|
||||
SevTech: Ages Table Ethylitic Enricher Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "ethylitic_enricher";
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "fertilizer"), machineName, 200)
|
||||
.addEnergyPerTickInput(15)
|
||||
.addItemOutput(<actuallyadditions:item_fertilizer:0> * 2)
|
||||
.addFluidInput(<liquid:liquidethene> * 1000)
|
||||
.build();
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
/*
|
||||
SevTech: Ages Table Hydraulic Press Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
import crafttweaker.data.IData;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
// The machine name.
|
||||
static machineName as string = "hydraulic_press";
|
||||
|
||||
static machineRecipes as IItemStack[][IItemStack] = {
|
||||
<galacticraftcore:basic_item:9> * 4: [ <immersiveengineering:metal:8> * 4 ], // Compressed Steel
|
||||
<galacticraftcore:basic_item:6> * 4: [ metals.copper.ingot.firstItem * 4 ], // Compressed Copper
|
||||
<galacticraftcore:basic_item:7> * 4: [ metals.tin.ingot.firstItem * 4 ], // Compressed Tin
|
||||
<galacticraftcore:basic_item:8> * 4: [ metals.aluminum.ingot.firstItem * 4 ], // Compressed Aluminum
|
||||
<galacticraftcore:basic_item:10> * 4: [ metals.bronze.ingot.firstItem * 4 ], // Compressed Bronze
|
||||
<galacticraftcore:basic_item:11> * 4: [ metals.iron.ingot.firstItem * 4 ], // Compressed Iron
|
||||
<galacticraftcore:item_basic_moon:1> * 4: [ <galacticraftcore:item_basic_moon:0> * 2 ], // Compressed Meteoric Iron
|
||||
<galacticraftplanets:item_basic_mars:5> * 4: [ <galacticraftplanets:item_basic_mars:2> * 2 ], // Compressed Desh
|
||||
<galacticraftplanets:item_basic_asteroids:6> * 4: [ metals.titanium.ingot.firstItem * 4 ], // Compressed Titanium
|
||||
<extraplanets:tier7_items:6> * 4: [ <extraplanets:tier7_items:4> * 4 ], // Compressed Reinfored Crystal
|
||||
<extraplanets:compressed_mercury:0> * 2: [ <extraplanets:ingot_mercury:0> * 2 ], // Compressed Mercury
|
||||
<extraplanets:tier4_items:4> * 2: [ <extraplanets:tier4_items:5> * 2 ], // Compressed Carbon
|
||||
<extraplanets:tier5_items:4> * 2: [ <extraplanets:tier5_items:5> * 2 ], // Compressed Palladium
|
||||
<extraplanets:tier5_items:6> * 2: [ metals.nickel.ingot.firstItem * 2 ], // Compressed Nickel
|
||||
<extraplanets:tier6_items:4> * 2: [ <extraplanets:tier6_items:5> * 2 ], // Compressed Magnesium
|
||||
<extraplanets:tier7_items:4> * 2: [ <extraplanets:tier7_items:5> * 2 ], // Compressed Crystal
|
||||
<extraplanets:tier8_items:4> * 2: [ <extraplanets:tier8_items:5> * 2 ], // Compressed Zinc
|
||||
<extraplanets:tier9_items:4> * 2: [ <extraplanets:tier9_items:5> * 2 ], // Compressed Tungsten
|
||||
<extraplanets:tier10_items:4> * 2: [ <extraplanets:tier10_items:5> * 2 ], // Compressed Dark Iron
|
||||
<extraplanets:tier11_items:6> * 3: [ <extraplanets:tier11_items:5> * 6 ], // Compressed Space Platinum
|
||||
<galacticraftcore:heavy_plating:0> * 2: [ <galacticraftcore:basic_item:8> * 2, <galacticraftcore:basic_item:9> * 2, <galacticraftcore:basic_item:10> * 2 ], // Heavy Duty Plate Tier 1
|
||||
<galacticraftplanets:item_basic_mars:3>: [ <galacticraftcore:heavy_plating:0>, <galacticraftcore:item_basic_moon:1> ], // Heavy Duty Plate Tier 2
|
||||
<galacticraftplanets:item_basic_asteroids:5>: [ <galacticraftplanets:item_basic_mars:3>, <galacticraftplanets:item_basic_mars:5> ], // Heavy Duty Plate Tier 3
|
||||
<extraplanets:tier4_items:3>: [ <galacticraftplanets:item_basic_asteroids:5>, <extraplanets:tier4_items:4>, <extraplanets:compressed_mercury:0> * 4 ], // Heavy Duty Plate Tier 4
|
||||
<extraplanets:tier5_items:3>: [ <extraplanets:tier4_items:3>, <extraplanets:tier5_items:4> * 5 ], // Heavy Duty Plate Tier 5
|
||||
<extraplanets:tier6_items:3>: [ <extraplanets:tier5_items:3>, <extraplanets:tier6_items:4> * 5 ], // Heavy Duty Plate Tier 6
|
||||
<extraplanets:tier7_items:3>: [ <extraplanets:tier6_items:3>, <extraplanets:tier7_items:6> * 5], // Heavy Duty Plate Tier 7
|
||||
<extraplanets:tier8_items:3>: [ <extraplanets:tier7_items:3>, <extraplanets:tier8_items:4> * 5 ], // Heavy Duty Plate Tier 8
|
||||
<extraplanets:tier9_items:3>: [ <extraplanets:tier8_items:3>, <extraplanets:tier9_items:4> * 5 ], // Heavy Duty Plate Tier 9
|
||||
<extraplanets:tier10_items:3>: [ <extraplanets:tier9_items:3>, <extraplanets:tier10_items:4> * 5 ], // Heavy Duty Plate Tier 10
|
||||
<minecraft:bucket>: [<immersiveengineering:metal:39> * 3] // Iron Bucket
|
||||
};
|
||||
|
||||
function init() {
|
||||
for output, inputs in machineRecipes {
|
||||
var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, output.definition.id ~ "_" ~ output.metadata), machineName, 50)
|
||||
.addEnergyPerTickInput(100)
|
||||
.addFluidInput(<liquid:lubricant> * 50)
|
||||
.addItemOutput(output);
|
||||
|
||||
for input in inputs {
|
||||
primer
|
||||
.addItemInput(input);
|
||||
}
|
||||
|
||||
primer.build();
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
/*
|
||||
SevTech: Ages Table Industrial Drying Unit Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
function init() {
|
||||
dryingUnit.addAllTiers(<ore:hideSalted>, 4, <ore:hideDry>, 4);
|
||||
dryingUnit.addAllTiers(<ore:hideTanned>, 4, <minecraft:leather:0> * 4);
|
||||
dryingUnit.addAllTiers(<primal:plant_fiber_pulp:0> * 4, <minecraft:paper:0> * 4);
|
||||
|
||||
// Taken from the TiC Drying Rack.
|
||||
dryingUnit.addAllTiers(<betterwithaddons:japanmat:8>, <betterwithaddons:japanmat:9>);
|
||||
dryingUnit.addAllTiers(<minecraft:beef:0>, <tconstruct:edible:11>);
|
||||
dryingUnit.addAllTiers(<minecraft:chicken:0>, <tconstruct:edible:12>);
|
||||
dryingUnit.addAllTiers(<minecraft:clay:0>, <tconstruct:dried_clay:0>);
|
||||
dryingUnit.addAllTiers(<minecraft:clay_ball:0>, <tconstruct:materials:2>);
|
||||
dryingUnit.addAllTiers(<minecraft:fish:1>, <tconstruct:edible:21>);
|
||||
dryingUnit.addAllTiers(<minecraft:fish:2>, <tconstruct:edible:22>);
|
||||
dryingUnit.addAllTiers(<minecraft:fish:3>, <tconstruct:edible:23>);
|
||||
dryingUnit.addAllTiers(<minecraft:fish:0>, <tconstruct:edible:20>);
|
||||
dryingUnit.addAllTiers(<minecraft:mutton:0>, <tconstruct:edible:14>);
|
||||
dryingUnit.addAllTiers(<minecraft:porkchop:0>, <tconstruct:edible:13>);
|
||||
dryingUnit.addAllTiers(<minecraft:rabbit:0>, <tconstruct:edible:15>);
|
||||
dryingUnit.addAllTiers(<minecraft:rotten_flesh:0>, <tconstruct:edible:10>);
|
||||
dryingUnit.addAllTiers(<minecraft:slime_ball:0>, <tconstruct:edible:30>);
|
||||
dryingUnit.addAllTiers(<minecraft:sponge:1>, <minecraft:sponge:0>);
|
||||
dryingUnit.addAllTiers(<ore:treeSapling>, 1, <minecraft:deadbush:0>);
|
||||
dryingUnit.addAllTiers(<primal:shark_meat_raw:0>, <primal:shark_meat_dried:0>);
|
||||
dryingUnit.addAllTiers(<tconstruct:edible:1>, <tconstruct:edible:31>);
|
||||
dryingUnit.addAllTiers(<tconstruct:edible:2>, <tconstruct:edible:32>);
|
||||
dryingUnit.addAllTiers(<tconstruct:edible:3>, <tconstruct:edible:33>);
|
||||
dryingUnit.addAllTiers(<tconstruct:edible:4>, <tconstruct:edible:34>);
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
/*
|
||||
SevTech: Ages Table Industrial Loom Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
/*
|
||||
Helper function to create a Looming Recipe for the MM Machine.
|
||||
*/
|
||||
function createLoomingRecipe(name as string, output as IItemStack, inputs as IItemStack[]) {
|
||||
var machineName = "industrial_loom";
|
||||
|
||||
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
|
||||
builder.addEnergyPerTickInput(150); // Set the power input.
|
||||
builder.addItemOutput(output); // Set the output item.
|
||||
for input in inputs { // Loop over the inputs and add them to the builder.
|
||||
builder.addItemInput(input);
|
||||
}
|
||||
builder.build(); // Build the recipe.
|
||||
}
|
||||
|
||||
function createOreLoomingRecipe(name as string, output as IItemStack, inputs as IOreDictEntry[int]) {
|
||||
var machineName = "industrial_loom";
|
||||
|
||||
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
|
||||
builder.addEnergyPerTickInput(4); // Set the power input.
|
||||
builder.addItemOutput(output); // Set the output item.
|
||||
for amount, input in inputs { // Loop over the inputs and add them to the builder.
|
||||
builder.addItemInput(input, amount);
|
||||
}
|
||||
builder.build(); // Build the recipe.
|
||||
}
|
||||
|
||||
function init() {
|
||||
/*
|
||||
Ore Based Recipes
|
||||
*/
|
||||
createOreLoomingRecipe("string", <minecraft:string:0>, {
|
||||
2: <ore:cropCotton>
|
||||
});
|
||||
createOreLoomingRecipe("hemp_cloth", <betterwithmods:material:4>, {
|
||||
9: <ore:fiberHemp>
|
||||
});
|
||||
|
||||
/*
|
||||
Standard Recipes
|
||||
*/
|
||||
createLoomingRecipe("plant_twine", <primal:plant_cordage>, [
|
||||
<primal:plant_fiber> * 3
|
||||
]);
|
||||
createLoomingRecipe("leather_strip", <primal:leather_strip> * 9, [
|
||||
<minecraft:leather>
|
||||
]);
|
||||
createLoomingRecipe("cineris_twine", <primal:nether_cordage>, [
|
||||
<primal:nether_fiber> * 3
|
||||
]);
|
||||
createLoomingRecipe("cobweb", <minecraft:web>, [
|
||||
<minecraft:stick> * 4,
|
||||
<minecraft:string> * 5
|
||||
]);
|
||||
|
||||
/*
|
||||
Wool Looming
|
||||
*/
|
||||
for i in 0 to 16 {
|
||||
createLoomingRecipe("wool_" ~ i, <minecraft:wool:0>.definition.makeStack(i), [
|
||||
<betterwithaddons:wool>.definition.makeStack(i) * 4,
|
||||
<betterwithmods:aesthetic:12>
|
||||
]);
|
||||
}
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
/*
|
||||
SevTech: Ages Table Industrial Mill Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.oredict.IOreDictEntry;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
/*
|
||||
Helper function to create a Mill Recipe for the MM Machine.
|
||||
*/
|
||||
function createMillRecipe(name as string, output as IItemStack, inputs as IItemStack[]) as void {
|
||||
var machineName = "industrial_mill";
|
||||
|
||||
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
|
||||
builder.addEnergyPerTickInput(4); // Set the power input.
|
||||
builder.addItemOutput(output); // Set the output item.
|
||||
for input in inputs { // Loop over the inputs and add them to the builder.
|
||||
builder.addItemInput(input);
|
||||
}
|
||||
builder.build(); // Build the recipe.
|
||||
}
|
||||
|
||||
function createOreMillRecipe(name as string, output as IItemStack, inputs as IOreDictEntry[]) as void {
|
||||
var machineName = "industrial_mill";
|
||||
|
||||
var builder as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, name), machineName, 128);
|
||||
builder.addEnergyPerTickInput(4); // Set the power input.
|
||||
builder.addItemOutput(output); // Set the output item.
|
||||
for input in inputs { // Loop over the inputs and add them to the builder.
|
||||
builder.addItemInput(input);
|
||||
}
|
||||
builder.build(); // Build the recipe.
|
||||
}
|
||||
|
||||
function init() {
|
||||
for dye, items in scripts.crafttweaker.integrations.dye.dyeCrushingRecipes {
|
||||
for item in items {
|
||||
createMillRecipe(item.displayName, dye * 2, [item]);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Multi Input Recipes
|
||||
*/
|
||||
createMillRecipe("grout", <tconstruct:soil:0> * 2, [
|
||||
<minecraft:sand:0>, <minecraft:clay_ball:0>, <minecraft:gravel:0>
|
||||
]);
|
||||
createMillRecipe("porcelain", <ceramics:unfired_clay:4>, [
|
||||
<minecraft:dye:15>, <minecraft:clay_ball:0>, <minecraft:flint:0>
|
||||
]);
|
||||
|
||||
/*
|
||||
Resource/Plant Based
|
||||
*/
|
||||
createOreMillRecipe("resin", <primal:tannin_ground:0> * 2, [
|
||||
<ore:barkWood>
|
||||
]);
|
||||
createMillRecipe("hemp_fibre", <betterwithmods:material:3> * 3, [
|
||||
<betterwithmods:material:2>
|
||||
]);
|
||||
createOreMillRecipe("ground_netherrack", <betterwithmods:material:15>, [
|
||||
<ore:netherrack>
|
||||
]);
|
||||
createMillRecipe("coal_dust", <betterwithmods:material:18>, [
|
||||
<minecraft:coal:0>
|
||||
]);
|
||||
createMillRecipe("charcoal_dust", <betterwithmods:material:37>, [
|
||||
<minecraft:coal:1>
|
||||
]);
|
||||
createMillRecipe("sugar", <minecraft:sugar:0> * 2, [
|
||||
<minecraft:reeds:0>
|
||||
]);
|
||||
createMillRecipe("charcoal_low_grade", <minecraft:coal:1> * 4, [
|
||||
<primal_tech:charcoal_block>
|
||||
]);
|
||||
|
||||
/*
|
||||
Bone Meal
|
||||
*/
|
||||
createMillRecipe("bonemeal_bone", <minecraft:dye:15> * 6, [
|
||||
<minecraft:bone>
|
||||
]);
|
||||
createMillRecipe("bonemeal_block", <minecraft:dye:15> * 9, [
|
||||
<minecraft:bone_block>
|
||||
]);
|
||||
|
||||
/*
|
||||
Flour
|
||||
*/
|
||||
createMillRecipe("flour", <horsepower:flour:0>, [
|
||||
<minecraft:wheat:0>
|
||||
]);
|
||||
createMillRecipe("barley_flour", <horsepower:flour:0>, [
|
||||
<natura:materials:0>
|
||||
]);
|
||||
createMillRecipe("rice_flour", <betterwithaddons:japanmat:4>, [
|
||||
<actuallyadditions:item_food:16>
|
||||
]);
|
||||
|
||||
/*
|
||||
Ground Meat
|
||||
*/
|
||||
createMillRecipe("ground_meat_pork", <betterwithaddons:food_ground_meat:0> * 3, [
|
||||
<minecraft:porkchop:0>
|
||||
]);
|
||||
createMillRecipe("ground_meat_beef", <betterwithaddons:food_ground_meat:0> * 3, [
|
||||
<minecraft:beef:0>
|
||||
]);
|
||||
createMillRecipe("ground_meat_rabbit", <betterwithaddons:food_ground_meat:0> * 3, [
|
||||
<minecraft:rabbit:0>
|
||||
]);
|
||||
|
||||
createMillRecipe("ground_meat_chicken", <betterwithaddons:food_ground_meat:0> * 2, [
|
||||
<minecraft:chicken:0>
|
||||
]);
|
||||
createMillRecipe("ground_meat_mutton", <betterwithaddons:food_ground_meat:0> * 2, [
|
||||
<minecraft:mutton:0>
|
||||
]);
|
||||
createMillRecipe("ground_meat_mystery", <betterwithaddons:food_ground_meat:0> * 2, [
|
||||
<betterwithmods:mystery_meat:0>
|
||||
]);
|
||||
createMillRecipe("ground_meat_fish", <betterwithaddons:food_ground_meat:0> * 2, [
|
||||
<minecraft:fish:0>
|
||||
]);
|
||||
createMillRecipe("ground_meat_salmon", <betterwithaddons:food_ground_meat:0> * 2, [
|
||||
<minecraft:fish:1>
|
||||
]);
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
#priority -50
|
||||
|
||||
/*
|
||||
SevTech: Ages Table Modular Machines Recipe Loader Script
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
function init() {
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.autoCauldron.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.chemicalMixer.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.ethyliticEnricher.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.hydraulicPress.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.industrialDryingUnit.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.industrialLoom.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.industrialMill.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.liquidProcessor.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.mixer.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.paperclipFactory.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.plasticMolder.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.scamulator.init();
|
||||
scripts.crafttweaker.integrations.mods.modularMachinery.volcanicCrystalizer.init();
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
SevTech: Ages Table Liquid Processor Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "liquid_processor";
|
||||
|
||||
mods.modularmachinery.RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "plastic"), machineName, 200)
|
||||
.addEnergyPerTickInput(5)
|
||||
.addFluidOutput(<liquid:plastic> * 1000)
|
||||
.addFluidInput(<liquid:propene> * 1000)
|
||||
.build();
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
/*
|
||||
SevTech: Ages Table Industrial Mill Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "mixer";
|
||||
// How many in total (base and upgraded versions)
|
||||
var machineCount = 3;
|
||||
// How much to multiply the base energyPerTick to get mk2 and up
|
||||
var energyScalingMultiplier as int[] = [
|
||||
1, // Mk1 (default)
|
||||
2,
|
||||
3
|
||||
];
|
||||
|
||||
for i in 0 to machineCount {
|
||||
var machineNameComplete as string = i > 0 ? machineName + "_mk" + (i + 1) : machineName;
|
||||
|
||||
var defaultTimeScaler = (i + 1) > 2 ? utils.squareNum(2, i - 1) : i + 1;
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "dough"), machineNameComplete, 300 / defaultTimeScaler)
|
||||
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
|
||||
.addItemOutput(<ore:foodDough>, 4)
|
||||
.addItemInput(<ore:foodSalt>)
|
||||
.addItemInput(<ore:foodFlour>, 4)
|
||||
.addFluidInput(<liquid:water> * 250)
|
||||
.build();
|
||||
|
||||
//TODO: This in json was 600, 150, 75 recipe time. Should this be standardized or made exactly like the json?
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "hide_salted"), machineNameComplete, 300 / defaultTimeScaler)
|
||||
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
|
||||
.addItemOutput(<ore:hideSalted>, 4)
|
||||
.addItemInput(<ore:foodSalt>)
|
||||
.addItemInput(<ore:hideRaw>, 4)
|
||||
.addFluidInput(<liquid:water> * 250)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "hide_tanned"), machineNameComplete, 300 / defaultTimeScaler)
|
||||
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
|
||||
.addItemOutput(<ore:hideTanned>, 4)
|
||||
.addItemInput(<ore:dustTannin>)
|
||||
.addItemInput(<ore:hideDry>, 4)
|
||||
.addFluidInput(<liquid:water> * 250)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "paper_pulp"), machineNameComplete, 300 / defaultTimeScaler)
|
||||
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
|
||||
.addItemOutput(<primal:plant_fiber_pulp:0> * 4)
|
||||
.addItemInput(<ore:glue>)
|
||||
.addItemInput(<ore:dustWood>, 4)
|
||||
.addFluidInput(<liquid:water> * 250)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "rice_dough"), machineNameComplete, 300 / defaultTimeScaler)
|
||||
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
|
||||
.addItemOutput(<actuallyadditions:item_misc:9> * 4)
|
||||
.addItemInput(<ore:foodSalt>)
|
||||
.addItemInput(<betterwithaddons:japanmat:4> * 4)
|
||||
.addFluidInput(<liquid:water> * 250)
|
||||
.build();
|
||||
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineNameComplete, "chocolate"), machineNameComplete, 300 / defaultTimeScaler)
|
||||
.addEnergyPerTickInput(20 * energyScalingMultiplier[i])
|
||||
.addItemOutput(<betterwithmods:chocolate:0> * 2)
|
||||
.addItemInput(<minecraft:sugar:0>)
|
||||
.addItemInput(<ore:foodCocoapowder>)
|
||||
.addFluidInput(<liquid:milk> * 1000)
|
||||
.build();
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
/*
|
||||
SevTech: Ages Table Paperclip Factory Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "paperclip_factory";
|
||||
|
||||
mods.modularmachinery.RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "paperclips"), machineName, 64)
|
||||
.addEnergyPerTickInput(8)
|
||||
.addItemOutput(<pickletweaks:ppm4:2> * 8)
|
||||
.addItemInput(<galacticraftcore:item_basic_moon:0>)
|
||||
.build();
|
||||
|
||||
mods.modularmachinery.RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "paperclipsandlube"), machineName, 32)
|
||||
.addEnergyPerTickInput(16)
|
||||
.addFluidInput(<liquid:lubricant> * 100)
|
||||
.addItemOutput(<pickletweaks:ppm4:2> * 8)
|
||||
.addItemInput(<galacticraftcore:item_basic_moon:0>)
|
||||
.build();
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
/*
|
||||
SevTech: Ages Table Plastic Molder Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
import crafttweaker.data.IData;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
// The machine name.
|
||||
static machineName as string = "plastic_molder";
|
||||
|
||||
// Recipes which are going to be added to the machine.
|
||||
// Output: [Inputs]
|
||||
static machineRecipes as ILiquidStack[][IItemStack] = {
|
||||
<industrialforegoing:plastic:0> * 4: [
|
||||
<liquid:plastic> * 1000
|
||||
]
|
||||
};
|
||||
|
||||
// Recipe Data which is linked to the Recipe above. Needs to set the name and the values for power and tick time.
|
||||
// Output (As Above): { name: "recipe name", tickTime: 80, powerTick: 1 }
|
||||
static recipeData as IData[IItemStack] = {
|
||||
<industrialforegoing:plastic:0> * 4: {
|
||||
name: "plastic_sheets",
|
||||
tickTime: 200,
|
||||
powerTick: 10
|
||||
}
|
||||
};
|
||||
|
||||
function init() {
|
||||
for outputItem, _fluids in machineRecipes {
|
||||
var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, recipeData[outputItem].name.asString()), machineName, recipeData[outputItem].tickTime.asInt())
|
||||
.addEnergyPerTickInput(recipeData[outputItem].powerTick.asInt())
|
||||
.addItemOutput(outputItem);
|
||||
|
||||
for fluid in _fluids {
|
||||
primer.addFluidInput(fluid);
|
||||
}
|
||||
|
||||
primer.build();
|
||||
}
|
||||
}
|
@ -0,0 +1,137 @@
|
||||
/*
|
||||
SevTech: Ages Table Scamulator Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
function init() {
|
||||
// Machine name
|
||||
var machineName = "scamulator";
|
||||
//Tier 2 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier2rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(40)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftcore:basic_item:14> * 1)
|
||||
.addItemOutput(<galacticraftcore:schematic:1> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 50)
|
||||
.build();
|
||||
//Tier 3 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier3rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(50)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftplanets:item_basic_mars> * 1)
|
||||
.addItemOutput(<galacticraftplanets:schematic> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 50)
|
||||
.build();
|
||||
//Tier 4 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier4rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(55)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:ingot_mercury> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier4> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 60)
|
||||
.build();
|
||||
//Tier 5 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier5rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(60)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:tier5_items:5> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier5> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 70)
|
||||
.build();
|
||||
//Tier 6 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier6rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(70)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:tier6_items:5> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier6> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 80)
|
||||
.build();
|
||||
//Tier 7 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier7rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(80)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:tier7_items:5> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier7> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 90)
|
||||
.build();
|
||||
//Tier 8 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier8rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(90)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:tier8_items:6> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier8> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 100)
|
||||
.build();
|
||||
//Tier 9 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier9rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(100)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:tier9_items:5> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier9> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 110)
|
||||
.build();
|
||||
//Tier 10 Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier10rocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(110)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:tier10_items:5> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier10> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 120)
|
||||
.build();
|
||||
//Tier 10 Electric Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "tier10Electricrocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(110)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<extraplanets:eris:2> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_tier10_electric_rocket> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 120)
|
||||
.build();
|
||||
//Mars Rover
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "marsrover"), machineName, 128)
|
||||
.addEnergyPerTickInput(50)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftplanets:mars:9> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_mars_rover> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 50)
|
||||
.build();
|
||||
//VenUS ROvEr
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "venusrover"), machineName, 128)
|
||||
.addEnergyPerTickInput(50)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftplanets:venus:1> * 1)
|
||||
.addItemOutput(<extraplanets:schematic_venus_rover> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 50)
|
||||
.build();
|
||||
//Moon Buggy
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "moonbuggy"), machineName, 128)
|
||||
.addEnergyPerTickInput(50)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftcore:basic_block_moon:4> * 1)
|
||||
.addItemOutput(<galacticraftcore:schematic> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 50)
|
||||
.build();
|
||||
//Automatic Cargo Rocket
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "automaticcargorocket"), machineName, 128)
|
||||
.addEnergyPerTickInput(200)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftcore:item_basic_moon:2> * 1)
|
||||
.addItemOutput(<galacticraftplanets:schematic:1> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 200)
|
||||
.build();
|
||||
//Astro Miner
|
||||
RecipeBuilder.newBuilder(utils.createRecipeName(machineName, "astrominer"), machineName, 128)
|
||||
.addEnergyPerTickInput(200)
|
||||
.addItemInput(<minecraft:map> * 1)
|
||||
.addItemInput(<galacticraftplanets:item_basic_asteroids:5> * 1)
|
||||
.addItemOutput(<galacticraftplanets:schematic:2> * 1)
|
||||
.addFluidInput(<liquid:cheese> * 200)
|
||||
.build();
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
/*
|
||||
SevTech: Ages Table Volcanic Crystalizer Recipes Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
import crafttweaker.data.IData;
|
||||
|
||||
import mods.modularmachinery.RecipeBuilder;
|
||||
import mods.modularmachinery.RecipePrimer;
|
||||
|
||||
import scripts.crafttweaker.utils;
|
||||
|
||||
// The machine name.
|
||||
static machineName as string = "volcanic_crystalizer";
|
||||
|
||||
// Recipes which are going to be added to the machine.
|
||||
// Output: [Inputs]
|
||||
static machineRecipes as ILiquidStack[][IItemStack] = {
|
||||
<minecraft:obsidian:0>: [
|
||||
<liquid:water> * 1000,
|
||||
<liquid:lava> * 1000
|
||||
]
|
||||
};
|
||||
|
||||
// Recipe Data which is linked to the Recipe above. Needs to set the name and the values for power and tick time.
|
||||
// Output (As Above): { name: "recipe name", tickTime: 80, powerTick: 1 }
|
||||
static recipeData as IData[IItemStack] = {
|
||||
<minecraft:obsidian:0>: {
|
||||
name: "obsidian",
|
||||
tickTime: 80,
|
||||
powerTick: 1
|
||||
}
|
||||
};
|
||||
|
||||
function init() {
|
||||
for outputItem, _fluids in machineRecipes {
|
||||
var primer as RecipePrimer = RecipeBuilder.newBuilder(utils.createRecipeName(machineName, recipeData[outputItem].name.asString()), machineName, recipeData[outputItem].tickTime.asInt())
|
||||
.addEnergyPerTickInput(recipeData[outputItem].powerTick.asInt())
|
||||
.addItemOutput(outputItem);
|
||||
|
||||
for fluid in _fluids {
|
||||
primer.addFluidInput(fluid);
|
||||
}
|
||||
|
||||
primer.build();
|
||||
}
|
||||
}
|
59
scripts/crafttweaker/integrations/mods/pneumaticcraft.zs
Normal file
59
scripts/crafttweaker/integrations/mods/pneumaticcraft.zs
Normal file
@ -0,0 +1,59 @@
|
||||
/*
|
||||
SevTech: Ages Pneumatic Craft Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.pneumaticcraft.assembly as Assembly;
|
||||
import mods.pneumaticcraft.liquidfuel as LiquidFuel;
|
||||
import mods.pneumaticcraft.refinery as Refinery;
|
||||
import mods.pneumaticcraft.thermopneumaticprocessingplant as ThermopneumaticProcessingPlant;
|
||||
import mods.pneumaticcraft.pressurechamber as PressureChamber;
|
||||
|
||||
/*
|
||||
Support:
|
||||
|
||||
Fuels: http://crafttweaker.readthedocs.io/en/latest/#Mods/PneumaticCraft_Repressurized/LiquidFuels/
|
||||
Assemby: http://crafttweaker.readthedocs.io/en/latest/#Mods/PneumaticCraft_Repressurized/Assembly/
|
||||
*/
|
||||
function init() {
|
||||
// Remove all recipes from the plant.
|
||||
ThermopneumaticProcessingPlant.removeAllRecipes();
|
||||
|
||||
// Remove all recipes from the refinery.
|
||||
Refinery.removeAllRecipes();
|
||||
|
||||
/*
|
||||
Fuel (Default) Notes:
|
||||
LPG - 1800
|
||||
Gasoline - 1500
|
||||
Kerosene - 1100
|
||||
Diesel - 700
|
||||
*/
|
||||
|
||||
// Remove all the Fuels.
|
||||
LiquidFuel.removeAllFuels();
|
||||
|
||||
// Add back the fuels with our values.
|
||||
LiquidFuel.addFuel(<liquid:gasoline>, 1500 * 1000);
|
||||
LiquidFuel.addFuel(<liquid:kerosene>, 1100 * 1000);
|
||||
LiquidFuel.addFuel(<liquid:diesel>, 700 * 1000);
|
||||
|
||||
// Presses available in stage 4
|
||||
Assembly.addDrillRecipe(<darkutils:pearl_block:0>, <appliedenergistics2:material:15>); // Inscriber Logic Press
|
||||
Assembly.addDrillRecipe(<quark:biotite_block:0>, <appliedenergistics2:material:19>); // Insciber Silicon Press
|
||||
Assembly.addDrillRecipe(<minecraft:purpur_block:0>, <appliedenergistics2:material:14>); // Inscriber Engineering Press
|
||||
Assembly.addDrillRecipe(<galacticraftcore:basic_block_moon:14>, <appliedenergistics2:material:13>); // Inscriber Calculation Press
|
||||
|
||||
// Remove Rose Red recipe
|
||||
Assembly.removeDrillRecipe(<minecraft:dye:1>);
|
||||
|
||||
// Removing coal to diamond in pressure chamber
|
||||
PressureChamber.removeRecipe([<minecraft:diamond:0>]);
|
||||
|
||||
// Slime Ingot (IF)
|
||||
PressureChamber.addRecipe([<industrialforegoing:pink_slime> * 4, metals.steel.ingot.firstItem * 1], 3.5, [<industrialforegoing:pink_slime_ingot> * 1]);
|
||||
}
|
68
scripts/crafttweaker/integrations/mods/primalCore.zs
Normal file
68
scripts/crafttweaker/integrations/mods/primalCore.zs
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
SevTech: Ages Primal Core Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.primal.DryingRack;
|
||||
import mods.primal.Hibachi;
|
||||
|
||||
/*
|
||||
Drying Rack: Recipe Removals
|
||||
|
||||
https://github.com/An-Sar/PrimalCore/wiki/CraftTweaker:-Drying-Rack
|
||||
*/
|
||||
static dryingRemovals as string[] = [
|
||||
"clay_cinis_clump",
|
||||
"clay_terra_clump",
|
||||
"corn_stalk",
|
||||
"daucus_murn_fronds",
|
||||
"fish_clown_raw",
|
||||
"fish_clown_salted",
|
||||
"fish_cod_raw",
|
||||
"fish_cod_salted",
|
||||
"fish_lava_crawdad_raw",
|
||||
"fish_lava_crawdad_salted",
|
||||
"fish_lava_worm_raw ",
|
||||
"fish_lava_worm_salted",
|
||||
"fish_puffer_raw ",
|
||||
"fish_puffer_salted",
|
||||
"fish_salmon_raw",
|
||||
"fish_salmon_salted",
|
||||
"hide_raw",
|
||||
"hide_raw_pigman",
|
||||
"hide_salted",
|
||||
"hide_salted_pigman",
|
||||
"hide_tanned",
|
||||
"hide_tanned_pigman",
|
||||
"meat_bear_raw",
|
||||
"meat_gator_raw",
|
||||
"meat_gator_salted",
|
||||
"meat_horse_raw",
|
||||
"meat_llama_salted",
|
||||
"meat_pigman_raw",
|
||||
"meat_pigman_salted",
|
||||
"meat_shark_raw",
|
||||
"meat_shark_salt",
|
||||
"meat_steppe_wolf_raw",
|
||||
"nether_fiber_pulp",
|
||||
"plant_fiber_pulp",
|
||||
"thatching",
|
||||
"valus_stalk"
|
||||
];
|
||||
|
||||
/*
|
||||
Support:
|
||||
|
||||
Hibachi: https://github.com/An-Sar/PrimalCore/wiki/CraftTweaker:-Hibachi
|
||||
*/
|
||||
function init() {
|
||||
for dryingRecipe in dryingRemovals {
|
||||
DryingRack.removeRecipe(dryingRecipe);
|
||||
}
|
||||
|
||||
Hibachi.removeRecipe("valus_melon");
|
||||
}
|
209
scripts/crafttweaker/integrations/mods/primalTech.zs
Normal file
209
scripts/crafttweaker/integrations/mods/primalTech.zs
Normal file
@ -0,0 +1,209 @@
|
||||
/*
|
||||
SevTech: Ages Primal Tech Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
|
||||
import mods.primaltech.ClayKiln;
|
||||
import mods.primaltech.StoneAnvil;
|
||||
import mods.primaltech.WaterSaw;
|
||||
import mods.primaltech.WoodenBasin;
|
||||
|
||||
function init() {
|
||||
/*
|
||||
Clay Kiln
|
||||
|
||||
mods.primaltech.ClayKiln.addRecipe(IItemStack output, IIngredient input, int cooktime);
|
||||
*/
|
||||
var defaultKilnCookTime as int = 200;
|
||||
var defaultKilnCookTimeRecipes as IItemStack[][IItemStack] = {
|
||||
<betterwithmods:cooking_pot:1>: [
|
||||
<progressiontweaks:unfired_clay_bowl:0>
|
||||
],
|
||||
<ceramics:clay_barrel:0>: [
|
||||
<ceramics:clay_barrel_unfired:0>
|
||||
],
|
||||
<ceramics:clay_barrel:1>: [
|
||||
<ceramics:clay_barrel_unfired:1>
|
||||
],
|
||||
<ceramics:clay_bucket:0>: [
|
||||
<ceramics:clay_bucket_block:0>
|
||||
],
|
||||
<minecraft:brick:0>: [
|
||||
<minecraft:clay_ball:0>
|
||||
],
|
||||
<minecraft:stone:0>: [
|
||||
<minecraft:cobblestone:0>
|
||||
],
|
||||
<minecraft:stone:1>: [
|
||||
<betterwithmods:cobblestone:0>
|
||||
],
|
||||
<minecraft:stone:3>: [
|
||||
<betterwithmods:cobblestone:1>
|
||||
],
|
||||
<minecraft:stone:5>: [
|
||||
<betterwithmods:cobblestone:2>
|
||||
],
|
||||
<primal:mud_dried:0>: [
|
||||
<primal:mud_wet:0>
|
||||
],
|
||||
<primal:thatch:0>: [
|
||||
<primal:thatch_wet:0>
|
||||
],
|
||||
<primal_tech:flint_block>: [
|
||||
<minecraft:gravel:0>
|
||||
],
|
||||
<tconstruct:materials:0>: [
|
||||
<tconstruct:soil:0>
|
||||
],
|
||||
<ceramics:unfired_clay:5>: [
|
||||
<ceramics:unfired_clay:4>
|
||||
]
|
||||
};
|
||||
|
||||
for output, inputs in defaultKilnCookTimeRecipes {
|
||||
for input in inputs {
|
||||
ClayKiln.addRecipe(output, input, defaultKilnCookTime);
|
||||
}
|
||||
}
|
||||
|
||||
//Add all logs to kiln to make low grade charcoal
|
||||
for log in <ore:logWood>.items {
|
||||
ClayKiln.addRecipe(<primal_tech:charcoal_block>, log, defaultKilnCookTime);
|
||||
}
|
||||
|
||||
/*
|
||||
Stone Anvil
|
||||
|
||||
mods.primaltech.StoneAnvil.addRecipe(Itemstack output, IIngredient input);
|
||||
*/
|
||||
|
||||
//[output, input]
|
||||
var stoneAnvilPair as IItemStack[][] = [
|
||||
[<minecraft:flint:0> * 4, <primal_tech:flint_block>],
|
||||
[<materialpart:stone:nugget>, <minecraft:stone:0>],
|
||||
[<minecraft:dye:4> * 9, <minecraft:lapis_block:0>],
|
||||
[<minecraft:redstone:0> * 9, <minecraft:redstone_block:0>],
|
||||
[<minecraft:dye:15>, <death_compass:death_compass>.withTag({})] // Death Compass -> Bone Meal
|
||||
];
|
||||
|
||||
for pair in stoneAnvilPair {
|
||||
StoneAnvil.addRecipe(pair[0], pair[1]);
|
||||
}
|
||||
|
||||
/*
|
||||
Water Powered Saw
|
||||
|
||||
mods.primaltech.WaterSaw.addRecipe(IItemStack output, IIngredient input, int chopTime);
|
||||
*/
|
||||
/*
|
||||
var defaultWaterSawChopTime as int = 80;
|
||||
var defaultWaterSawChopTimeRecipes as IItemStack[][] = [
|
||||
];
|
||||
|
||||
for pair in defaultWaterSawChopTimeRecipes {
|
||||
WaterSaw.addRecipe(pair[0], pair[1], defaultWaterSawChopTime);
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
Wooden Basin
|
||||
|
||||
TODO: Re-write this to be better and cleaner (artdude)
|
||||
|
||||
mods.primaltech.WoodenBasin.addRecipe(IItemStack output, ILiquidStack inputFluid, IIngredient[] ingredients);
|
||||
*/
|
||||
var defaultWoodenBasinFluid as ILiquidStack = <liquid:water>;
|
||||
var defaultWoodenBasinRecipes as IIngredient[][][IItemStack] = {
|
||||
<actuallyadditions:item_misc:9> * 3: [
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_fire:0>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_netjry:0>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_rock:0>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_void:0>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <mekanism:salt:0>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_fire:0>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_netjry:0>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_rock:0>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <primal:salt_dust_void:0>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <mekanism:salt:0>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <primal:salt_dust_fire:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <primal:salt_dust_netjry:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <primal:salt_dust_rock:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <primal:salt_dust_void:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<betterwithaddons:japanmat:4>, <mekanism:salt:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<primal:salt_dust_fire:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<primal:salt_dust_netjry:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<primal:salt_dust_rock:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<primal:salt_dust_void:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>],
|
||||
[<mekanism:salt:0>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>, <betterwithaddons:japanmat:4>]
|
||||
],
|
||||
<betterwithaddons:japanmat:8> * 4: [
|
||||
[<betterwithaddons:japanmat:36>, <betterwithaddons:japanmat:36>, <betterwithaddons:japanmat:36>, <betterwithaddons:japanmat:36>]
|
||||
],
|
||||
<primal:hide_salted:0> * 3: [
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_fire:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_netjry:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_rock:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_void:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <mekanism:salt:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_fire:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_netjry:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_rock:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <primal:salt_dust_void:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:hide_raw:0>, <mekanism:salt:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:salt_dust_fire:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:salt_dust_netjry:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:salt_dust_rock:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <primal:salt_dust_void:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:hide_raw:0>, <mekanism:salt:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:salt_dust_fire:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:salt_dust_netjry:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:salt_dust_rock:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<primal:salt_dust_void:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>],
|
||||
[<mekanism:salt:0>, <primal:hide_raw:0>, <primal:hide_raw:0>, <primal:hide_raw:0>]
|
||||
],
|
||||
<primal:hide_tanned:0> * 3: [
|
||||
[<primal:hide_dried:0>, <primal:hide_dried:0>, <primal:hide_dried:0>, <primal:tannin_ground:0>],
|
||||
[<primal:hide_dried:0>, <primal:hide_dried:0>, <primal:tannin_ground:0>, <primal:hide_dried:0>],
|
||||
[<primal:hide_dried:0>, <primal:tannin_ground:0>, <primal:hide_dried:0>, <primal:hide_dried:0>],
|
||||
[<primal:tannin_ground:0>, <primal:hide_dried:0>, <primal:hide_dried:0>, <primal:hide_dried:0>]
|
||||
],
|
||||
<primal:mud_clump:0> * 4: [
|
||||
[<minecraft:dirt:0>, <minecraft:dirt:0>, <minecraft:dirt:0>, <minecraft:dirt:0>]
|
||||
],
|
||||
<primal:plant_fiber_pulp:0> * 3: [
|
||||
[<betterwithmods:material:12>, <betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:22>],
|
||||
[<betterwithmods:material:22>, <betterwithmods:material:12>, <betterwithmods:material:22>, <betterwithmods:material:22>],
|
||||
[<betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:12>, <betterwithmods:material:22>],
|
||||
[<betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:22>, <betterwithmods:material:12>]
|
||||
]
|
||||
};
|
||||
|
||||
var doughRecipes = [] as IIngredient[][];
|
||||
var oreSalt = <ore:foodSalt>;
|
||||
var oreFlour = <ore:foodFlour>;
|
||||
|
||||
for flour in oreFlour.items {
|
||||
for salt in oreSalt.items {
|
||||
doughRecipes += [flour, flour, flour, salt] as IIngredient[];
|
||||
doughRecipes += [flour, flour, salt, flour] as IIngredient[];
|
||||
doughRecipes += [flour, salt, flour, flour] as IIngredient[];
|
||||
doughRecipes += [salt, flour, flour, flour] as IIngredient[];
|
||||
}
|
||||
}
|
||||
|
||||
defaultWoodenBasinRecipes[<horsepower:dough:0> * 3] = doughRecipes;
|
||||
|
||||
for output, inputs in defaultWoodenBasinRecipes {
|
||||
for inputIngredients in inputs {
|
||||
WoodenBasin.addRecipe(output, defaultWoodenBasinFluid, inputIngredients);
|
||||
}
|
||||
}
|
||||
}
|
20
scripts/crafttweaker/integrations/mods/rustic.zs
Normal file
20
scripts/crafttweaker/integrations/mods/rustic.zs
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
SevTech: Ages Rustic Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import mods.rustic.EvaporatingBasin;
|
||||
|
||||
/*
|
||||
Support:
|
||||
|
||||
Crushing Tub: https://github.com/the-realest-stu/Rustic/wiki/CraftTweaker-Support#crushing-tub-recipes
|
||||
Evapor Basin: https://github.com/the-realest-stu/Rustic/wiki/CraftTweaker-Support#evaporating-basin-recipes
|
||||
*/
|
||||
function init() {
|
||||
EvaporatingBasin.removeRecipe(<rustic:dust_tiny_iron:0>);
|
||||
}
|
28
scripts/crafttweaker/integrations/mods/tinkers/alloy.zs
Normal file
28
scripts/crafttweaker/integrations/mods/tinkers/alloy.zs
Normal file
@ -0,0 +1,28 @@
|
||||
/*
|
||||
SevTech: Ages Tinkers Alloy Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
/*
|
||||
Alloying
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/TConstruct/Alloying/
|
||||
*/
|
||||
function init() {
|
||||
// Remove Constantan Alloying
|
||||
tinkers.removeAlloying(metalItems.constantan.liquid.liquids[0]);
|
||||
|
||||
// Redstone Alloy Creation
|
||||
tinkers.addAlloying(metalItems.redstoneAlloy.liquid.liquids[0] * 288, [<liquid:redstone> * 100, <liquid:glowstone> * 100, metalItems.constantan.liquid.liquids[0] * 144]);
|
||||
|
||||
// Modularium
|
||||
tinkers.addAlloying(metalItems.modularium.liquid.liquids[0] * 288, [<liquid:redstone> * 100, metalItems.iron.liquid.liquids[0] * 144, metalItems.aluminum.liquid.liquids[0] * 144]);
|
||||
|
||||
// Invar
|
||||
tinkers.addAlloying(metalItems.invar.liquid.liquids[0] * 3, [metalItems.iron.liquid.liquids[0] * 2, metalItems.nickel.liquid.liquids[0] * 1]);
|
||||
}
|
124
scripts/crafttweaker/integrations/mods/tinkers/casting.zs
Normal file
124
scripts/crafttweaker/integrations/mods/tinkers/casting.zs
Normal file
@ -0,0 +1,124 @@
|
||||
/*
|
||||
SevTech: Ages Tinkers Casting Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemDefinition;
|
||||
import crafttweaker.item.IItemStack;
|
||||
import crafttweaker.liquid.ILiquidStack;
|
||||
|
||||
/*
|
||||
Casting
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/TConstruct/Casting/
|
||||
*/
|
||||
function init() {
|
||||
/*
|
||||
Cast Creation
|
||||
*/
|
||||
|
||||
// [IItemStack cast, IItemStack consumedItem]
|
||||
var castCreationRecipes as IItemStack[][] = [
|
||||
[<tconstruct:cast_custom:2>, <astralsorcery:itemcraftingcomponent:0>], // Gem cast with Astral Sorcery Aquamarine
|
||||
// Gear Cast Allows Stone now. You're welcome. -________________- Oh, it's also made from stone so all the people don't get upset with me and call me names or tell me I don't know rocket surgery.
|
||||
[<tconstruct:cast_custom:4>, <teslacorelib:gear_stone:0>],
|
||||
[<tconstruct:cast_custom:1>, <materialpart:stone:nugget>]
|
||||
];
|
||||
|
||||
var castLiquids as ILiquidStack[] = [
|
||||
metalItems.gold.liquid.liquids[0],
|
||||
<liquid:brass>,
|
||||
metalItems.aluminumBrass.liquid.liquids[0]
|
||||
];
|
||||
|
||||
for castCreationRecipe in castCreationRecipes {
|
||||
for castLiquid in castLiquids {
|
||||
var liquidAmount = 144;
|
||||
if (castLiquid.matches(metalItems.gold.liquid.liquids[0])) {
|
||||
liquidAmount = 288;
|
||||
}
|
||||
|
||||
tinkers.addCastingTable(castCreationRecipe[0], castCreationRecipe[1], castLiquid, liquidAmount, true);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Spartan Shields
|
||||
|
||||
As long as the metal is in the metals global stuff, this will work without any modifications
|
||||
*/
|
||||
var shieldMetals as string[] = [
|
||||
"bronze",
|
||||
"constantan",
|
||||
"steel",
|
||||
"copper",
|
||||
"tin",
|
||||
"silver",
|
||||
"platinum",
|
||||
"electrum",
|
||||
"nickel",
|
||||
"iron",
|
||||
"gold",
|
||||
"obsidian",
|
||||
"lead",
|
||||
"invar"
|
||||
];
|
||||
|
||||
for shieldMetal in shieldMetals {
|
||||
var shield as IItemStack = itemUtils.getItem("spartanshields:shield_basic_" + shieldMetal);
|
||||
var towerShield as IItemStack = itemUtils.getItem("spartanshields:shield_tower_" + shieldMetal);
|
||||
var liquid as ILiquidStack = shieldMetal == "obsidian" ? <liquid:obsidian> : metalItems[shieldMetal].liquid.liquids[0];
|
||||
|
||||
tinkers.addCastingTable(shield, <spartanshields:shield_basic_wood:0> | <spartanshields:shield_basic_stone:0>, liquid, 576, true);
|
||||
// tinkers.addCastingBasin(towerShield, <spartanshields:shield_tower_wood:0> | <spartanshields:shield_tower_stone:0>, liquid, 576, true); // TODO: Enable if model issue resolved
|
||||
}
|
||||
|
||||
/*
|
||||
Standard Casting
|
||||
*/
|
||||
tinkers.removeCastingTable(<minecraft:glass_pane:0>);
|
||||
tinkers.addCastingTable(<minecraft:glass_pane:0>, null, <liquid:glass>, 500);
|
||||
|
||||
tinkers.removeCastingBasin(<tconstruct:clear_glass:0>);
|
||||
tinkers.addCastingBasin(<minecraft:glass:0>, null, <liquid:glass>, 1000);
|
||||
|
||||
tinkers.addCastingTable(<minecraft:ender_pearl:0>, <tconstruct:cast:0>.withTag({PartType: "tconstruct:pan_head"}), <liquid:ender_pearl>, 250, false);
|
||||
tinkers.addCastingBasin(<betterwithmods:aesthetic:8>, null, <liquid:ender_pearl>, 2250);
|
||||
|
||||
tinkers.addCastingTable(metals.steeleaf.rod.firstItem, <tconstruct:cast:0>.withTag({PartType: "tconstruct:tool_rod"}), metalItems.steeleaf.liquid.liquids[0], 144, false);
|
||||
|
||||
// Redstone Alloy Rod
|
||||
// TODO: Is this being handled by metals?
|
||||
tinkers.addCastingTable(metals.redstoneAlloy.rod.firstItem, <tconstruct:cast:0>.withTag({PartType: "tconstruct:tool_rod"}), metalItems.redstoneAlloy.liquid.liquids[0], 144, false);
|
||||
|
||||
// Nugget Removal
|
||||
tinkers.removeCastingTable(<mysticalagriculture:crafting:45>); // Soulium Nugget
|
||||
|
||||
// Iron Chests
|
||||
tinkers.addCastingBasin(<ironchest:iron_chest:0>, <ironchest:iron_chest:7>, metalItems.iron.liquid.liquids[0], 1152, true, 300);
|
||||
tinkers.addCastingBasin(<ironchest:iron_chest:1>, <ironchest:iron_chest:7>, metalItems.gold.liquid.liquids[0], 1152, true, 300);
|
||||
tinkers.addCastingBasin(<ironchest:iron_chest:3>, <ironchest:iron_chest:7>, metalItems.copper.liquid.liquids[0], 1152, true, 300);
|
||||
tinkers.addCastingBasin(<ironchest:iron_chest:4>, <ironchest:iron_chest:7>, metalItems.silver.liquid.liquids[0], 1152, true, 300);
|
||||
tinkers.addCastingBasin(<ironchest:iron_chest:6>, <ironchest:iron_chest:7>, <liquid:obsidian>, 1152, true, 300);
|
||||
tinkers.addCastingBasin(<ironchest:iron_chest:5>, <ironchest:iron_chest:1>, <liquid:astralsorcery.liquidstarlight>, 1152, true, 300);
|
||||
|
||||
// Slime Ball Casting
|
||||
tinkers.addCastingTable(<tconstruct:edible:2>, null, <liquid:purpleslime>, 250, false, 40);
|
||||
tinkers.addCastingTable(<tconstruct:edible:1>, null, <liquid:blueslime>, 250, false, 40);
|
||||
tinkers.addCastingTable(<minecraft:slime_ball:0>, null, <liquid:slime>, 250, false, 40);
|
||||
tinkers.addCastingBasin(<tconstruct:slime_congealed:3>, null, <liquid:blood>, 640, false, 60);
|
||||
|
||||
tinkers.removeCastingBasin(<tconstruct:seared_furnace_controller:0>);
|
||||
|
||||
// Liquid Redstone
|
||||
tinkers.addCastingTable(<minecraft:redstone:0>, <tconstruct:cast_custom:2>, <liquid:redstone>, 100, false);
|
||||
tinkers.addCastingBasin(<minecraft:redstone_block:0>, null, <liquid:redstone>, 900);
|
||||
|
||||
// Liquid Glowstone
|
||||
tinkers.addCastingTable(<minecraft:glowstone_dust:0>, <tconstruct:cast_custom:2>, <liquid:glowstone>, 100, false);
|
||||
tinkers.addCastingBasin(<minecraft:glowstone:0>, null, <liquid:glowstone>, 400);
|
||||
}
|
24
scripts/crafttweaker/integrations/mods/tinkers/dryingRack.zs
Normal file
24
scripts/crafttweaker/integrations/mods/tinkers/dryingRack.zs
Normal file
@ -0,0 +1,24 @@
|
||||
/*
|
||||
SevTech: Ages Tinkers Drying Rack Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
function init() {
|
||||
// Paper Creation
|
||||
tinkers.addDrying(<betterwithaddons:japanmat:9>, <betterwithaddons:japanmat:8>, 2400);
|
||||
tinkers.addDrying(<minecraft:paper:0>, <primal:plant_fiber_pulp:0>, 2400);
|
||||
|
||||
// Dried Fish
|
||||
tinkers.addDrying(<primal:fish_salmon_dried:0>, <minecraft:fish:1>, 1600);
|
||||
tinkers.addDrying(<primal:shark_meat_dried:0>, <primal:shark_meat_raw:0>, 1600);
|
||||
|
||||
// Leather Recipes
|
||||
tinkers.removeDrying(<minecraft:leather:0>);
|
||||
tinkers.addDrying(<minecraft:leather:0>, <primal:hide_tanned:0>, 2400);
|
||||
tinkers.addDrying(<primal:hide_dried:0>, <primal:hide_salted:0>, 2400);
|
||||
}
|
17
scripts/crafttweaker/integrations/mods/tinkers/init.zs
Normal file
17
scripts/crafttweaker/integrations/mods/tinkers/init.zs
Normal file
@ -0,0 +1,17 @@
|
||||
#priority -50
|
||||
|
||||
/*
|
||||
SevTech: Ages Tinkers Loader Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
function init() {
|
||||
scripts.crafttweaker.integrations.mods.tinkers.alloy.init();
|
||||
scripts.crafttweaker.integrations.mods.tinkers.casting.init();
|
||||
scripts.crafttweaker.integrations.mods.tinkers.dryingRack.init();
|
||||
scripts.crafttweaker.integrations.mods.tinkers.melting.init();
|
||||
}
|
73
scripts/crafttweaker/integrations/mods/tinkers/melting.zs
Normal file
73
scripts/crafttweaker/integrations/mods/tinkers/melting.zs
Normal file
@ -0,0 +1,73 @@
|
||||
/*
|
||||
SevTech: Ages Tinkers Melting Script
|
||||
|
||||
This script handles custom integration control to a mod.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
|
||||
/*
|
||||
Melting
|
||||
|
||||
http://crafttweaker.readthedocs.io/en/latest/#Mods/Modtweaker/TConstruct/Melting/
|
||||
*/
|
||||
function init() {
|
||||
tinkers.addMelting(<liquid:ender_pearl> * 250, <appliedenergistics2:material:46>);
|
||||
|
||||
// Platinum Ore
|
||||
//TODO: Loop over oredict instead (and ensure ore is unified)
|
||||
tinkers.addMelting(metalItems.platinum.liquid.liquids[0] * 144, <geolosys:cluster:8>);
|
||||
|
||||
// New seared stone mechanic
|
||||
tinkers.removeMelting(<liquid:stone>);
|
||||
tinkers.addMelting(<liquid:stone> * 72, <tconstruct:soil:0>);
|
||||
tinkers.addMelting(<liquid:stone> * 72, <tconstruct:materials:0>);
|
||||
|
||||
var searedBlock = <tconstruct:seared:0>.definition;
|
||||
for i in 0 .. 10{
|
||||
if (i != 1){
|
||||
tinkers.addMelting(<liquid:stone> * 288, searedBlock.makeStack(i));
|
||||
}
|
||||
}
|
||||
tinkers.addMelting(<liquid:stone> * 216, <tconstruct:seared:1>);
|
||||
|
||||
// Steves Carts' Metals
|
||||
tinkers.addMelting(metalItems.enhancedGalgadorian.liquid.liquids[0] * 144, <stevescarts:modulecomponents:48>);
|
||||
tinkers.addMelting(metalItems.galgadorian.liquid.liquids[0] * 144, <stevescarts:modulecomponents:46>);
|
||||
tinkers.addMelting(metalItems.reinforcedMetal.liquid.liquids[0] * 144, <stevescarts:modulecomponents:21>);
|
||||
|
||||
/*
|
||||
Fixes so all glass is same melting temp.
|
||||
I'm doing this against my better judgement because I don't want to hear players complaining about how it's impossible to make glass in stage 2 even though it's 100% possible already.
|
||||
*/
|
||||
tinkers.removeMelting(<liquid:glass>);
|
||||
tinkers.addMelting(<liquid:glass> * 250, <ore:pileSand>, 493);
|
||||
tinkers.addMelting(<liquid:glass> * 250, <ore:shardGlass>, 493);
|
||||
tinkers.addMelting(<liquid:glass> * 375, <ore:paneGlass>, 493);
|
||||
tinkers.addMelting(<liquid:glass> * 1000, <ore:blockGlass>, 493);
|
||||
tinkers.addMelting(<liquid:glass> * 1000, <ore:sand>, 493);
|
||||
|
||||
// Remove Villager from giving emeralds or blood
|
||||
tinkers.addMeltingEntity(<entity:minecraft:villager>, <liquid:water> * 0); // Setting to 0 gives nothing when the entity is "melted"
|
||||
|
||||
// Stops an exploit by removing the merchants melting.
|
||||
tinkers.addMeltingEntity(<entity:farmingforblockheads:merchant>, <liquid:water> * 0); // Setting to 0 gives nothing when the entity is "melted"
|
||||
|
||||
/*
|
||||
Combined stuff
|
||||
*/
|
||||
|
||||
// Liquid Glowstone
|
||||
tinkers.addMelting(<liquid:glowstone> * 100, <minecraft:glowstone_dust:0>);
|
||||
tinkers.addMelting(<liquid:glowstone> * 400, <minecraft:glowstone:0>);
|
||||
|
||||
// Liquid Redstone
|
||||
tinkers.addMelting(<liquid:redstone> * 100, <minecraft:redstone:0>);
|
||||
tinkers.addMelting(<liquid:redstone> * 900, <minecraft:redstone_block:0>);
|
||||
|
||||
// Cheese
|
||||
tinkers.addMelting(<liquid:cheese> * 100, <galacticraftcore:cheese:0>);
|
||||
tinkers.addMelting(<liquid:cheese> * 10, <galacticraftcore:cheese_curd:0>);
|
||||
}
|
518
scripts/crafttweaker/integrations/mods/zenloot.zs
Normal file
518
scripts/crafttweaker/integrations/mods/zenloot.zs
Normal file
@ -0,0 +1,518 @@
|
||||
import crafttweaker.item.IItemStack;
|
||||
import mods.zenloot.LootTable;
|
||||
import mods.zenloot.LootEntry;
|
||||
import mods.zenloot.LootFunction;
|
||||
|
||||
// The pools in this loot table are added to other tables - editing them here will edit them in all tables they are added to
|
||||
static earlyLootTables as LootEntry[][string][string] = {};
|
||||
|
||||
static lootTables as LootEntry[][string][string] = {
|
||||
"minecraft:chests/simple_dungeon": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:mre>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(10).addRandomEnchant().setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:record_13>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:record_cat>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(20).setStage()
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bucket>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:coal>).setWeight(15).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:melon_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:pumpkin_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(15).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:wheat>).setWeight(20).setCount(1, 4).setStage()
|
||||
],
|
||||
"pool2": [
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gunpowder>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:string>).setWeight(10).setCount(1, 8).setStage()
|
||||
]
|
||||
},
|
||||
"pneumaticcraft:inject/simple_dungeon_loot": { // injected into many vanilla pools
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<pneumaticcraft:nuke_virus>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<pneumaticcraft:spawner_agitator>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<pneumaticcraft:stop_worm>).setWeight(15).setStage(),
|
||||
LootEntry.empty(67)
|
||||
]
|
||||
},
|
||||
"minecraft:chests/abandoned_mineshaft": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(30).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(10).addRandomEnchant().setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage(),
|
||||
LootEntry.empty(5)
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:dye:4>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:coal>).setWeight(10).setCount(3, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:melon_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:pumpkin_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(10).setCount(2, 4).setStage()
|
||||
],
|
||||
"pool2": [
|
||||
LootEntry.fromItemStack(<minecraft:rail>).setWeight(20).setCount(4, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_rail>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:detector_rail>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:activator_rail>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:torch>).setWeight(15).setCount(1, 16).setStage()
|
||||
]
|
||||
},
|
||||
"abyssalcraft:chests/mineshaft": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dreadshard>).setWeight(10).setCount(3, 8).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:corpick>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:transmutationgem>).setWeight(1).setDamage(0.1, 0.3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:oc>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage()
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(10).setCount(3, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:abychunk>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dreadchunk>).setWeight(10).setCount(2, 4).setStage()
|
||||
],
|
||||
"pool2": [
|
||||
LootEntry.fromItemStack(<minecraft:rail>).setWeight(20).setCount(4, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_rail>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:detector_rail>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:activator_rail>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:torch>).setWeight(15).setCount(1, 16).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/igloo_chest": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:coal>).setWeight(15).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_nugget>).setWeight(10).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:stone_axe>).setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:wheat>).setWeight(10).setCount(2, 3).setStage(),
|
||||
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage()
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(1).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/desert_pyramid": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(15).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(2, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(25).setCount(4, 6).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:spider_eye>).setWeight(25).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(25).setCount(3, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(20).addRandomEnchant().setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage(),
|
||||
LootEntry.empty(15)
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gunpowder>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:string>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:sand>).setWeight(10).setCount(1, 8).setStage()
|
||||
],
|
||||
"moms_spaghetti": [
|
||||
LootEntry.fromItemStack(<tconstruct:spaghetti>).setWeight(1).setChance(0.05).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/stronghold_library": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(20).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:paper>).setWeight(20).setCount(2, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:map>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>, "minecraft:book#0").setWeight(10).addEnchantWithLevels(30, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:compass>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage(),
|
||||
LootEntry.fromItemStack(<immersiveengineering:blueprint>.withTag({blueprint: "electrode"})).setWeight(5).setStage().addFunction(LootFunction.parse("{\"function\":\"immersiveengineering:secret_bluprintz\",\"conditions\":[{\"chance\":0.125,\"condition\":\"minecraft:random_chance\"}]}"))
|
||||
]
|
||||
},
|
||||
"minecraft:gameplay/fishing/fish": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:fish>).setWeight(60).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:fish:1>, "minecraft:fish#0").setWeight(25).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:fish:2>, "minecraft:fish#1").setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:fish:3>, "minecraft:fish#2").setWeight(13).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:gameplay/fishing/treasure": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:waterlily>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bow>).setWeight(1).setDamage(0.0, 0.25).addEnchantWithLevels(30, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:fishing_rod>).setWeight(1).setDamage(0.0, 0.25).addEnchantWithLevels(30, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:gameplay/fishing/junk": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:leather_boots>).setWeight(10).setDamage(0.0, 0.9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:leather>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:potion>.withTag({Potion: "minecraft:water"})).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:string>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:fishing_rod>).setWeight(2).setDamage(0.0, 0.9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bowl>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:stick>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:dye> * 10).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:tripwire_hook>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/woodland_mansion": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:lead>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple:1>, "minecraft:golden_apple#0").setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:record_13>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:record_cat>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:name_tag>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:chainmail_chestplate>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_hoe>).setWeight(15).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_chestplate>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(10).addRandomEnchant().setStage()
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(20).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:wheat>).setWeight(20).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bucket>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(15).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:coal>).setWeight(15).setCount(1, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:melon_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:pumpkin_seeds>).setWeight(10).setCount(2, 4).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(10).setCount(2, 4).setStage()
|
||||
],
|
||||
"pool2": [
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gunpowder>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(10).setCount(1, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:string>).setWeight(10).setCount(1, 8).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/stronghold_corridor": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:ender_pearl>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_sword>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_chestplate>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_helmet>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_leggings>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_boots>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowfragment>).setWeight(8).setCount(1, 10).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowshard>).setWeight(5).setCount(1, 6).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:shadowgem>).setWeight(3).setCount(1, 3).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/nether_bridge": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(5).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_sword>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_chestplate>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:flint_and_steel>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:nether_wart>).setWeight(5).setCount(3, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:obsidian>).setWeight(2).setCount(2, 4).setStage()
|
||||
]
|
||||
},
|
||||
"abyssalcraft:chests/stronghold_corridor" : {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:ender_pearl>).setWeight(10).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:transmutationgem>).setWeight(1).setDamage(0.1, 0.3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cpearl>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:apick>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:aplate>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:ahelmet>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:alegs>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:aboots>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:oc>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/village_blacksmith": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_sword>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_chestplate>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_helmet>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_leggings>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_boots>).setWeight(5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:obsidian>).setWeight(5).setCount(3, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:sapling>).setWeight(5).setCount(3, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cobbleu>).setWeight(10).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:ironu>).setWeight(7).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:goldu>).setWeight(4).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:diamondu>).setWeight(1).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<immersiveengineering:blueprint>.withTag({blueprint: "electrode"})).setWeight(1).setStage().addFunction(LootFunction.parse("{\"function\":\"immersiveengineering:secret_bluprintz\",\"conditions\":[{\"chance\":0.125,\"condition\":\"minecraft:random_chance\"}]}"))
|
||||
|
||||
]
|
||||
},
|
||||
"galacticraftcore:crashed_probe": {
|
||||
"crashed_probe": [
|
||||
LootEntry.fromItemStack(<galacticraftplanets:item_basic_mars:3>).setWeight(5).setCount(3, 6).setStage(),
|
||||
LootEntry.fromItemStack(<galacticraftcore:heavy_plating>).setWeight(5).setCount(3, 6).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(5).setCount(5, 9).setStage(),
|
||||
LootEntry.fromItemStack(<galacticraftplanets:item_basic_asteroids:5>).setWeight(5).setCount(3, 6).setStage(),
|
||||
LootEntry.fromItemStack(<galacticraftplanets:item_basic_asteroids:6>, "galacticraftplanets:item_basic_asteroid#0").setWeight(5).setCount(3, 6).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/spawn_bonus_chest": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:stone_axe>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:wooden_axe>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:daxe>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dpick>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dshovel>).setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dsword>).setWeight(2).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dltlog>).setWeight(10).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:dltlog2>).setWeight(10).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cobbleu>).setWeight(2).setCount(1, 2).setStage()
|
||||
],
|
||||
"pool1": [
|
||||
LootEntry.fromItemStack(<minecraft:stone_pickaxe>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:wooden_pickaxe>).setWeight(3).setStage()
|
||||
],
|
||||
"pool2": [
|
||||
LootEntry.fromItemStack(<minecraft:apple>).setWeight(5).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(3).setCount(1, 2).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:fish:1>).setWeight(3).setCount(1, 2).setStage()
|
||||
],
|
||||
"pool3": [
|
||||
LootEntry.fromItemStack(<minecraft:stick>).setWeight(10).setCount(1, 12).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:planks>).setWeight(10).setCount(1, 12).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:log>).setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:log:1>, "minecraft:log#0").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:log:2>, "minecraft:log#1").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:log:3>, "minecraft:log#2").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:log2>).setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:log2:1>, "minecraft:log2#0").setWeight(4).setCount(1, 3).setStage()
|
||||
]
|
||||
},
|
||||
"abyssalcraft:chests/stronghold_crossing": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<abyssalcraft:abyingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:cpearl>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:coralium>).setWeight(10).setCount(3, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_apple>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:apick>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:crystal:24>).setWeight(8).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<abyssalcraft:mre>).setWeight(10).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/jungle_temple": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(3).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(2, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(2).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(20).setCount(4, 6).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:rotten_flesh>).setWeight(16).setCount(3, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage(),
|
||||
LootEntry.fromItemStack(<astralsorcery:itemconstellationpaper>).setWeight(10).setQuality(2).setStage()
|
||||
],
|
||||
"moms_spaghetti": [
|
||||
LootEntry.fromItemStack(<tconstruct:spaghetti>).setWeight(1).setChance(0.05).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/stronghold_crossing": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(5).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:redstone>).setWeight(5).setCount(4, 9).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:coal>).setWeight(10).setCount(3, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bread>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:apple>).setWeight(15).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(1).addEnchantWithLevels(30, true).setStage()
|
||||
],
|
||||
"moms_spaghetti": [
|
||||
LootEntry.fromItemStack(<tconstruct:spaghetti>).setWeight(1).setChance(0.05).setStage()
|
||||
]
|
||||
},
|
||||
"minecraft:chests/end_city_treasure": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:diamond>).setWeight(5).setCount(2, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_ingot>).setWeight(10).setCount(4, 8).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:gold_ingot>).setWeight(15).setCount(2, 7).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:emerald>).setWeight(2).setCount(2, 6).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:beetroot_seeds>).setWeight(5).setCount(1, 10).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:saddle>).setWeight(3).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:golden_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_horse_armor>).setWeight(1).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_sword>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_boots>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_chestplate>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_leggings>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_helmet>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_pickaxe>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:diamond_shovel>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_sword>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_boots>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_chestplate>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_leggings>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_helmet>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_pickaxe>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:iron_shovel>).setWeight(3).addEnchantWithLevels(20, 39, true).setStage()
|
||||
]
|
||||
},
|
||||
"actuallyadditions:lush_caves": {
|
||||
"main": [
|
||||
LootEntry.fromItemStack(<minecraft:book>).setWeight(50).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:bone>).setWeight(100).setCount(1, 12).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:wooden_paxel>).setWeight(30).setDamage(0.0, 0.25).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:stone_paxel>).setWeight(25).setDamage(0.0, 0.25).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:quartz_paxel>).setWeight(20).setDamage(0.0, 0.25).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_paxel_crystal_black>).setWeight(15).setDamage(0.0, 0.25).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_paxel_crystal_white>).setWeight(10).setDamage(0.0, 0.25).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:leather_helmet>).setDamage(0.0, 0.75).setWeight(50).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:leather_chestplate>).setDamage(0.0, 0.75).setWeight(50).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:leather_leggings>).setDamage(0.0, 0.75).setWeight(50).setStage(),
|
||||
LootEntry.fromItemStack(<minecraft:leather_boots>).setDamage(0.0, 0.75).setWeight(50).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_crystal>).setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_crystal:1>, "actuallyadditions:item_crystal#0").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_crystal:2>, "actuallyadditions:item_crystal#1").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_crystal:3>, "actuallyadditions:item_crystal#2").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_crystal:4>, "actuallyadditions:item_crystal#3").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_crystal:5>, "actuallyadditions:item_crystal#4").setWeight(4).setCount(1, 3).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:block_crystal>).setWeight(1).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:block_crystal:1>, "actuallyadditions:block_crystal#0").setWeight(1).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:block_crystal:2>, "actuallyadditions:block_crystal#1").setWeight(1).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:block_crystal:3>, "actuallyadditions:block_crystal#2").setWeight(1).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:block_crystal:4>, "actuallyadditions:block_crystal#3").setWeight(1).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:block_crystal:5>, "actuallyadditions:block_crystal#4").setWeight(1).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_misc:5>).setWeight(20).setCount(1, 5).setStage(),
|
||||
LootEntry.fromItemStack(<actuallyadditions:item_misc:15>, "actuallyadditions:item_misc_2").setWeight(5).setCount(1, 2).setStage()
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
function init() {
|
||||
for tableId, pools in earlyLootTables {
|
||||
var lootTable = LootTable.editEarly(tableId);
|
||||
|
||||
for poolName, entries in pools {
|
||||
var lootPool = lootTable.getExistingPool(poolName);
|
||||
lootPool.clear();
|
||||
|
||||
for entry in entries {
|
||||
lootPool.addEntry(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for tableId, pools in lootTables {
|
||||
var lootTable = LootTable.edit(tableId);
|
||||
|
||||
for poolName, entries in pools {
|
||||
var lootPool = lootTable.getExistingPool(poolName);
|
||||
lootPool.clear();
|
||||
|
||||
for entry in entries {
|
||||
lootPool.addEntry(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Add liveroot, torchberries, and trollber to TF structure chest loot tables
|
||||
var lootTable = LootTable.editAllMatching("^twilightforest:structures\\/(\\w+)\\/\\1")
|
||||
.addPool("skyblock_resources", 0, 2, 0, 0)
|
||||
.addEntry(LootEntry.fromItemStack(<twilightforest:liveroot>).setCount(1, 5))
|
||||
.addEntry(LootEntry.fromItemStack(<twilightforest:torchberries>).setCount(1, 5))
|
||||
.addEntry(LootEntry.fromItemStack(<twilightforest:trollber>).setCount(1, 5))
|
||||
.addEntry(LootEntry.empty(1));
|
||||
}
|
299
scripts/crafttweaker/integrations/wood.zs
Normal file
299
scripts/crafttweaker/integrations/wood.zs
Normal file
@ -0,0 +1,299 @@
|
||||
/*
|
||||
SevTech: Ages Wood Script
|
||||
|
||||
This script handles adding/removing recipes for logs to planks.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IIngredient;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.betterwithmods.Kiln;
|
||||
import mods.betterwithmods.Saw;
|
||||
import mods.primaltech.WaterSaw;
|
||||
|
||||
/*
|
||||
This listing contains the pairs for the Logs -> Planks.
|
||||
*/
|
||||
static plankLogPairs as IIngredient[][IItemStack] = {
|
||||
<abyssalcraft:dltplank:0>: [
|
||||
<abyssalcraft:dltlog:0>,
|
||||
<abyssalcraft:dltlog2:0>
|
||||
],
|
||||
<abyssalcraft:dreadplanks:0>: [
|
||||
<abyssalcraft:dreadlog:0>
|
||||
],
|
||||
<betterwithaddons:planks_mulberry:0>: [
|
||||
<betterwithaddons:log_mulberry:0>
|
||||
],
|
||||
<betterwithaddons:planks_sakura:0>: [
|
||||
<betterwithaddons:log_sakura:0>
|
||||
],
|
||||
<minecraft:planks:1>: [
|
||||
<thebetweenlands:log_sap:0>,
|
||||
<minecraft:log:1>,
|
||||
<primal:logs_stripped:1>,
|
||||
<twilightforest:magic_log:0>,
|
||||
<twilightforest:twilight_log:1>,
|
||||
<twilightforest:twilight_log:3>
|
||||
],
|
||||
<minecraft:planks:2>: [
|
||||
<betterwithaddons:log_luretree_face:0>,
|
||||
<betterwithaddons:log_luretree:0>,
|
||||
<minecraft:log:2>,
|
||||
<primal:logs_stripped:2>,
|
||||
<twilightforest:magic_log:2>,
|
||||
<twilightforest:twilight_log:2>
|
||||
],
|
||||
<minecraft:planks:3>: [
|
||||
<betterwithmods:blood_log:0>,
|
||||
<minecraft:log:3>,
|
||||
<primal:logs_stripped:3>
|
||||
],
|
||||
<minecraft:planks:4>: [
|
||||
<minecraft:log2:0>,
|
||||
<primal:logs_stripped:4>
|
||||
],
|
||||
<minecraft:planks:5>: [
|
||||
<minecraft:log2:1>,
|
||||
<primal:logs_stripped:5>,
|
||||
<twilightforest:magic_log:3>
|
||||
],
|
||||
<minecraft:planks:0>: [
|
||||
<minecraft:log:0>,
|
||||
<primal:logs_stripped:0>,
|
||||
<twilightforest:twilight_log:0>
|
||||
],
|
||||
<natura:nether_planks:1>: [
|
||||
<natura:nether_logs2:15>,
|
||||
<natura:nether_logs2:0>
|
||||
],
|
||||
<natura:nether_planks:2>: [
|
||||
<natura:nether_logs:1>
|
||||
],
|
||||
<natura:nether_planks:3>: [
|
||||
<natura:nether_logs:2>
|
||||
],
|
||||
<natura:nether_planks:0>: [
|
||||
<natura:nether_logs:0>
|
||||
],
|
||||
<natura:overworld_planks:1>: [
|
||||
<natura:overworld_logs:1>
|
||||
],
|
||||
<natura:overworld_planks:2>: [
|
||||
<natura:overworld_logs:2>
|
||||
],
|
||||
<natura:overworld_planks:3>: [
|
||||
<natura:overworld_logs:3>
|
||||
],
|
||||
<natura:overworld_planks:4>: [
|
||||
<natura:overworld_logs2:0>
|
||||
],
|
||||
<natura:overworld_planks:5>: [
|
||||
<natura:overworld_logs2:1>
|
||||
],
|
||||
<natura:overworld_planks:6>: [
|
||||
<natura:overworld_logs2:2>
|
||||
],
|
||||
<natura:overworld_planks:7>: [
|
||||
<natura:overworld_logs2:3>
|
||||
],
|
||||
<natura:overworld_planks:8>: [
|
||||
<natura:redwood_logs:1>
|
||||
],
|
||||
<natura:overworld_planks:0>: [
|
||||
<natura:overworld_logs:0>
|
||||
],
|
||||
<primal:planks:1>: [
|
||||
<primal:logs:1>,
|
||||
<primal:logs_stripped:7>
|
||||
],
|
||||
<rustic:planks:1>: [
|
||||
<rustic:log:1>,
|
||||
<primal:logs_stripped:6>
|
||||
],
|
||||
<rustic:planks:0>: [
|
||||
<rustic:log:0>
|
||||
],
|
||||
<totemic:cedar_plank:0>: [
|
||||
<totemic:cedar_log:0>,
|
||||
<totemic:stripped_cedar_log:0>
|
||||
],
|
||||
<traverse:fir_planks:0>: [
|
||||
<traverse:fir_log:0>
|
||||
],
|
||||
<thebetweenlands:giant_root_planks:0>: [
|
||||
<thebetweenlands:giant_root:0>
|
||||
],
|
||||
<thebetweenlands:hearthgrove_planks:0>: [
|
||||
<thebetweenlands:log_hearthgrove:1>,
|
||||
<thebetweenlands:log_hearthgrove:3>
|
||||
],
|
||||
<thebetweenlands:nibbletwig_planks:0>: [
|
||||
<thebetweenlands:log_nibbletwig:0>,
|
||||
<thebetweenlands:log_nibbletwig:12>
|
||||
],
|
||||
<thebetweenlands:rubber_tree_planks:0>: [
|
||||
<thebetweenlands:log_rubber:0>
|
||||
],
|
||||
<thebetweenlands:weedwood_planks:0>: [
|
||||
<thebetweenlands:log_weedwood:12>,
|
||||
<thebetweenlands:log_weedwood:0>,
|
||||
<thebetweenlands:weedwood:0>
|
||||
],
|
||||
<integrateddynamics:menril_planks:0>: [
|
||||
<integrateddynamics:menril_log:0>,
|
||||
<integrateddynamics:menril_log_filled:0>
|
||||
],
|
||||
<extraplanets:kepler22b_planks:0>: [
|
||||
<extraplanets:kepler22b_maple_logs:0>
|
||||
],
|
||||
<extraplanets:kepler22b_planks:1>: [
|
||||
<extraplanets:kepler22b_maple_logs:1>
|
||||
],
|
||||
<extraplanets:kepler22b_planks:2>: [
|
||||
<extraplanets:kepler22b_maple_logs:2>
|
||||
],
|
||||
<extraplanets:kepler22b_planks:3>: [
|
||||
<extraplanets:kepler22b_maple_logs:3>
|
||||
],
|
||||
<extraplanets:kepler22b_planks:4>: [
|
||||
<extraplanets:kepler22b_maple_logs2:0>
|
||||
],
|
||||
<extraplanets:kepler22b_planks:5>: [
|
||||
<extraplanets:kepler22b_maple_logs2:1>
|
||||
]
|
||||
};
|
||||
|
||||
/*
|
||||
This array listing should only contain logs which don't have planks from the mod or don't make sense to convert to Vanilla Planks.
|
||||
|
||||
This will then remove the log from processig recipes (in higher tech) to not turn out as chopping blocks.
|
||||
*/
|
||||
static logsToRemove as IItemStack[] = [
|
||||
<natura:redwood_logs:2>,
|
||||
<natura:redwood_logs:0>,
|
||||
<thebetweenlands:log_nibbletwig:1>,
|
||||
<thebetweenlands:log_nibbletwig:2>,
|
||||
<thebetweenlands:log_nibbletwig:3>,
|
||||
<thebetweenlands:log_nibbletwig:4>,
|
||||
<thebetweenlands:log_nibbletwig:5>,
|
||||
<thebetweenlands:log_nibbletwig:6>,
|
||||
<thebetweenlands:log_nibbletwig:7>,
|
||||
<thebetweenlands:log_nibbletwig:8>,
|
||||
<thebetweenlands:log_nibbletwig:9>,
|
||||
<thebetweenlands:log_nibbletwig:10>,
|
||||
<thebetweenlands:log_nibbletwig:11>,
|
||||
<thebetweenlands:log_nibbletwig:13>,
|
||||
<thebetweenlands:log_nibbletwig:14>,
|
||||
<thebetweenlands:log_nibbletwig:15>,
|
||||
<thebetweenlands:log_hearthgrove:0>,
|
||||
<thebetweenlands:log_hearthgrove:2>,
|
||||
<thebetweenlands:log_hearthgrove:4>,
|
||||
<thebetweenlands:log_hearthgrove:5>,
|
||||
<thebetweenlands:log_hearthgrove:6>,
|
||||
<thebetweenlands:log_hearthgrove:7>,
|
||||
<thebetweenlands:log_hearthgrove:8>,
|
||||
<thebetweenlands:log_hearthgrove:9>,
|
||||
<thebetweenlands:log_hearthgrove:10>,
|
||||
<thebetweenlands:log_hearthgrove:11>,
|
||||
<thebetweenlands:log_hearthgrove:12>,
|
||||
<thebetweenlands:log_hearthgrove:13>,
|
||||
<thebetweenlands:log_hearthgrove:14>,
|
||||
<thebetweenlands:log_hearthgrove:15>,
|
||||
<thebetweenlands:log_weedwood:1>,
|
||||
<thebetweenlands:log_weedwood:2>,
|
||||
<thebetweenlands:log_weedwood:3>,
|
||||
<thebetweenlands:log_weedwood:4>,
|
||||
<thebetweenlands:log_weedwood:5>,
|
||||
<thebetweenlands:log_weedwood:6>,
|
||||
<thebetweenlands:log_weedwood:7>,
|
||||
<thebetweenlands:log_weedwood:8>,
|
||||
<thebetweenlands:log_weedwood:9>,
|
||||
<thebetweenlands:log_weedwood:10>,
|
||||
<thebetweenlands:log_weedwood:11>,
|
||||
<thebetweenlands:log_weedwood:13>,
|
||||
<thebetweenlands:log_weedwood:14>,
|
||||
<thebetweenlands:log_weedwood:15>,
|
||||
<twilightforest:magic_log:1>
|
||||
];
|
||||
|
||||
static sawSlabs as IItemStack[IItemStack] = {
|
||||
<thebetweenlands:thatch_slab:0> : <primal:thin_slab_thatch:0>,
|
||||
<minecraft:wooden_slab:4> : <primal:thin_slab_acacia:0>,
|
||||
<minecraft:wooden_slab:5> : <primal:thin_slab_bigoak:0>,
|
||||
<minecraft:wooden_slab:2> : <primal:thin_slab_birch:0>,
|
||||
<minecraft:wooden_slab:0> : <primal:thin_slab_oak:0>,
|
||||
<minecraft:wooden_slab:3> : <primal:thin_slab_jungle:0>,
|
||||
<minecraft:wooden_slab:1> : <primal:thin_slab_spruce:0>,
|
||||
<rustic:ironwood_slab_item:0> : <primal:thin_slab_ironwood:0>
|
||||
};
|
||||
|
||||
function init() {
|
||||
// Add the recipes needed.
|
||||
for plank, logs in plankLogPairs {
|
||||
for log in logs {
|
||||
// Horse Power
|
||||
horsePower.addChopping(plank * 4, log, 4, true);
|
||||
horsePower.addChopping(plank * 4, log, 2, false);
|
||||
|
||||
// Primal Tech
|
||||
WaterSaw.addRecipe(plank, log, 80);
|
||||
|
||||
// Mekanism
|
||||
mekanism.removeSawmill(log);
|
||||
|
||||
// For any recipes that need logs as an IItemStack.
|
||||
for logItem in log.items {
|
||||
// Better With Mods
|
||||
Saw.builder()
|
||||
.buildRecipe(log, [plank * 6, <ore:dustWood>.firstItem * 2])
|
||||
.setInputBlockDrop(logItem as IItemStack)
|
||||
.build();
|
||||
Kiln.builder()
|
||||
.buildRecipe(log, [<primal_tech:charcoal_block>])
|
||||
.setHeat(2)
|
||||
.build();
|
||||
|
||||
// Mekanism
|
||||
mekanism.addSawmill(logItem, plank * 6, <ore:dustWood>.firstItem * 2, 0.25);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Remove the recipes for the log.
|
||||
for log in logsToRemove {
|
||||
mekanism.removeSawmill(log);
|
||||
}
|
||||
|
||||
// Better stick recipes. (Lower tech recipe to use slabs to convert to sticks before players unlock higher tech)
|
||||
for slab in <ore:slabWood>.items {
|
||||
var hasThinSlab = false;
|
||||
for slabWithThin in sawSlabs.keys {
|
||||
if (slab.matches(slabWithThin)) {
|
||||
hasThinSlab = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if !hasThinSlab {
|
||||
Saw.builder()
|
||||
.buildRecipe(slab, [<minecraft:stick> * 4])
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
||||
for slab, thinSlab in sawSlabs {
|
||||
Saw.builder()
|
||||
.buildRecipe(slab, [thinSlab * 2])
|
||||
.setInputBlockDrop(slab)
|
||||
.build();
|
||||
|
||||
Saw.builder()
|
||||
.buildRecipe(thinSlab, [<minecraft:stick:0> * 2] as IItemStack[])
|
||||
.setInputBlockDrop(thinSlab)
|
||||
.build();
|
||||
}
|
||||
}
|
16
scripts/crafttweaker/itemModifiers/burnTime.zs
Normal file
16
scripts/crafttweaker/itemModifiers/burnTime.zs
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
SevTech: Ages Burn Time & Temperature Modification Script
|
||||
|
||||
This script allows modification of burn times and temperatures of liquids.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import scripts.crafttweaker.craftingUtils;
|
||||
|
||||
function init() {
|
||||
// Gasoline
|
||||
<liquid:gasoline>.definition.temperature = 350;
|
||||
furnace.setFuel(craftingUtils.getBucketIngredient(<liquid:gasoline>), 75000);
|
||||
}
|
278
scripts/crafttweaker/itemModifiers/descriptions.zs
Normal file
278
scripts/crafttweaker/itemModifiers/descriptions.zs
Normal file
@ -0,0 +1,278 @@
|
||||
/*
|
||||
SevTech: Ages Item Descriptions Script
|
||||
|
||||
This script allows for the addition of JEI Descriptions to ItemStacks.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
import mods.jei.JEI;
|
||||
|
||||
static descriptionPairs as string[][IItemStack] = {
|
||||
<environmentaltech:solar_cont_1:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Null Modifier",
|
||||
"16 x Structure Frame tier 1 or above",
|
||||
"9 x Solar Cell of any type"
|
||||
],
|
||||
<environmentaltech:solar_cont_2:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Null Modifier",
|
||||
"24 x Structure Frame tier 2 or above",
|
||||
"25 x Solar Cell of any type"
|
||||
],
|
||||
<environmentaltech:solar_cont_3:0>: [
|
||||
"Materials Needed:",
|
||||
"8 x Null Modifier",
|
||||
"32 x Structure Frame tier 3 or above",
|
||||
"49 x Solar Cell of any type"
|
||||
],
|
||||
<environmentaltech:solar_cont_4:0>: [
|
||||
"Materials Needed:",
|
||||
"8 x Null Modifier",
|
||||
"40 x Structure Frame tier 4 or above",
|
||||
"81 x Solar Cell of any type"
|
||||
],
|
||||
<environmentaltech:solar_cont_5:0>: [
|
||||
"Materials Needed:",
|
||||
"12 x Null Modifier",
|
||||
"48 x Structure Frame tier 5 or above",
|
||||
"121 x Solar Cell of any type"
|
||||
],
|
||||
<environmentaltech:solar_cont_6:0>: [
|
||||
"Materials Needed:",
|
||||
"12 x Null Modifier",
|
||||
"56 x Structure Frame tier 6 or above",
|
||||
"169 x Solar Cell of any type"
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_1:0>: [
|
||||
"Materials Needed:",
|
||||
"24 x Structure Frame tier 1 or above",
|
||||
"20 x Structure Panel",
|
||||
"2 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_2:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Null Modifier",
|
||||
"32 x Structure Frame tier 2 or above",
|
||||
"16 x Structure Panel",
|
||||
"3 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_3:0>: [
|
||||
"Materials Needed:",
|
||||
"8 x Null Modifier",
|
||||
"56 x Structure Frame tier 3 or above",
|
||||
"52 x Structure Panel",
|
||||
"4 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_4:0>: [
|
||||
"Materials Needed:",
|
||||
"12 x Null Modifier",
|
||||
"56 x Structure Frame tier 4 or above",
|
||||
"56 x Structure Panel",
|
||||
"5 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_5:0>: [
|
||||
"Materials Needed:",
|
||||
"16 x Null Modifier",
|
||||
"72 x Structure Frame tier 5 or above",
|
||||
"36 x Structure Panel",
|
||||
"6 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_6:0>: [
|
||||
"Materials Needed:",
|
||||
"20 x Null Modifier",
|
||||
"92 x Structure Frame tier 6 or above",
|
||||
"56 x Structure Panel",
|
||||
"6 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_1:0>: [
|
||||
"Materials Needed:",
|
||||
"24 x Structure Frame tier 1 or above",
|
||||
"20 x Structure Panel",
|
||||
"2 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_2:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Null Modifier",
|
||||
"32 x Structure Frame tier 2 or above",
|
||||
"16 x Structure Panel",
|
||||
"3 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_3:0>: [
|
||||
"Materials Needed:",
|
||||
"8 x Null Modifier",
|
||||
"56 x Structure Frame tier 3 or above",
|
||||
"52 x Structure Panel",
|
||||
"4 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_4:0>: [
|
||||
"Materials Needed:",
|
||||
"12 x Null Modifier",
|
||||
"56 x Structure Frame tier 4 or above",
|
||||
"56 x Structure Panel",
|
||||
"5 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_5:0>: [
|
||||
"Materials Needed:",
|
||||
"16 x Null Modifier",
|
||||
"72 x Structure Frame tier 5 or above",
|
||||
"36 x Structure Panel",
|
||||
"6 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_6:0>: [
|
||||
"Materials Needed:",
|
||||
"20 x Null Modifier",
|
||||
"92 x Structure Frame tier 6 or above",
|
||||
"56 x Structure Panel",
|
||||
"6 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_1:0>: [
|
||||
"Materials Needed:",
|
||||
"24 x Structure Frame tier 1 or above",
|
||||
"20 x Structure Panel",
|
||||
"2 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_2:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Null Modifier",
|
||||
"32 x Structure Frame tier 2 or above",
|
||||
"16 x Structure Panel",
|
||||
"3 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_3:0>: [
|
||||
"Materials Needed:",
|
||||
"8 x Null Modifier",
|
||||
"56 x Structure Frame tier 3 or above",
|
||||
"52 x Structure Panel",
|
||||
"4 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_4:0>: [
|
||||
"Materials Needed:",
|
||||
"12 x Null Modifier",
|
||||
"56 x Structure Frame tier 4 or above",
|
||||
"56 x Structure Panel",
|
||||
"5 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_5:0>: [
|
||||
"Materials Needed:",
|
||||
"16 x Null Modifier",
|
||||
"72 x Structure Frame tier 5 or above",
|
||||
"36 x Structure Panel",
|
||||
"6 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_6:0>: [
|
||||
"Materials Needed:",
|
||||
"20 x Null Modifier",
|
||||
"92 x Structure Frame tier 6 or above",
|
||||
"56 x Structure Panel",
|
||||
"6 x Laser Core",
|
||||
"1 x Laser Lens of any type"
|
||||
],
|
||||
|
||||
<environmentaltech:lightning_cont_1:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Structure Frame tier 1 or above",
|
||||
"3 x Lightning Rod",
|
||||
"3 x Insulated Lightning Rod"
|
||||
],
|
||||
<environmentaltech:lightning_cont_2:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Structure Frame tier 2 or above",
|
||||
"4 x Lightning Rod",
|
||||
"4 x Insulated Lightning Rod"
|
||||
],
|
||||
<environmentaltech:lightning_cont_3:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Structure Frame tier 3 or above",
|
||||
"5 x Lightning Rod",
|
||||
"5 x Insulated Lightning Rod"
|
||||
],
|
||||
<environmentaltech:lightning_cont_4:0>: [
|
||||
"Materials Needed:",
|
||||
"13 x Structure Frame tier 4 or above",
|
||||
"4 x Lightning Rod",
|
||||
"16 x Insulated Lightning Rod"
|
||||
],
|
||||
<environmentaltech:lightning_cont_5:0>: [
|
||||
"Materials Needed:",
|
||||
"13 x Structure Frame tier 5 or above",
|
||||
"6 x Lightning Rod",
|
||||
"22 x Insulated Lightning Rod"
|
||||
],
|
||||
<environmentaltech:lightning_cont_6:0>: [
|
||||
"Materials Needed:",
|
||||
"13 x Structure Frame tier 5 or above",
|
||||
"8 x Lightning Rod",
|
||||
"28 x Insulated Lightning Rod"
|
||||
],
|
||||
|
||||
<environmentaltech:nano_cont_personal_1:0>: [
|
||||
"Materials Needed:",
|
||||
"4 x Null Modifier",
|
||||
"20 x Structure Frame tier 1 or above",
|
||||
"12 x Structure Panel"
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_2:0>: [
|
||||
"Materials Needed:",
|
||||
"8 x Null Modifier",
|
||||
"36 x Structure Frame tier 2 or above",
|
||||
"24 x Structure Panel"
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_3:0>: [
|
||||
"Materials Needed:",
|
||||
"12 x Null Modifier",
|
||||
"56 x Structure Frame tier 3 or above",
|
||||
"40 x Structure Panel"
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_4:0>: [
|
||||
"Materials Needed:",
|
||||
"16 x Null Modifier",
|
||||
"80 x Structure Frame tier 4 or above",
|
||||
"60 x Structure Panel"
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_5:0>: [
|
||||
"Materials Needed:",
|
||||
"20 x Null Modifier",
|
||||
"108 x Structure Frame tier 5 or above",
|
||||
"84 x Structure Panel"
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_6:0>: [
|
||||
"Materials Needed:",
|
||||
"24 x Null Modifier",
|
||||
"140 x Structure Frame tier 5 or above",
|
||||
"112 x Structure Panel"
|
||||
],
|
||||
|
||||
<twilightforest:liveroot>: [
|
||||
"Found in Twilight Forest Caves, Worldgen,",
|
||||
"Twilight Forest Loot Chests,",
|
||||
"or via Bonsai Trees"
|
||||
]
|
||||
};
|
||||
|
||||
function init() {
|
||||
for item, descriptionArray in descriptionPairs {
|
||||
JEI.addDescription(item, descriptionArray);
|
||||
}
|
||||
}
|
186
scripts/crafttweaker/itemModifiers/durability.zs
Normal file
186
scripts/crafttweaker/itemModifiers/durability.zs
Normal file
@ -0,0 +1,186 @@
|
||||
/*
|
||||
SevTech: Ages Durability Modification Script
|
||||
|
||||
This script allows for the modification of an ItemStack's durability.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
static durabilityMap as int[IItemStack] = {
|
||||
<cyclicmagic:sleeping_mat:0>: 25,
|
||||
|
||||
<primal:sharp_bone:0>: 135,
|
||||
|
||||
// Bone Tools
|
||||
<primal_tech:bone_axe>: 195,
|
||||
<primal_tech:bone_pickaxe>: 195,
|
||||
<primal_tech:bone_shovel>: 195,
|
||||
<primal_tech:bone_sword>: 195,
|
||||
<primal_tech:bone_club>: 195,
|
||||
|
||||
// Flint Tools
|
||||
<primal:flint_pickaxe:0>: 140,
|
||||
<primal:flint_axe:0>: 140,
|
||||
<primal:flint_shovel:0>: 140,
|
||||
<primal:flint_hatchet:0>: 100,
|
||||
|
||||
// Wooden Tools
|
||||
<minecraft:wooden_sword:0>: 70,
|
||||
<minecraft:wooden_pickaxe:0>: 70,
|
||||
<minecraft:wooden_shovel:0>: 70,
|
||||
<minecraft:wooden_axe:0>: 70,
|
||||
<primal_tech:wood_club>: 70,
|
||||
|
||||
// Stone Tools
|
||||
<minecraft:stone_axe:0>: 225,
|
||||
<minecraft:stone_sword:0>: 225,
|
||||
<minecraft:stone_pickaxe:0>: 225,
|
||||
<minecraft:stone_shovel:0>: 225,
|
||||
<primal_tech:stone_club>: 225,
|
||||
|
||||
// Gold Tools
|
||||
<minecraft:golden_sword:0>: 72,
|
||||
<minecraft:golden_shovel:0>: 72,
|
||||
<minecraft:golden_pickaxe:0>: 72,
|
||||
<minecraft:golden_axe:0>: 72,
|
||||
<minecraft:golden_hoe:0>: 72,
|
||||
|
||||
// Gold Armor
|
||||
<minecraft:golden_helmet:0>: 100,
|
||||
<minecraft:golden_chestplate:0>: 165,
|
||||
<minecraft:golden_leggings:0>: 155,
|
||||
<minecraft:golden_boots:0>: 95,
|
||||
|
||||
// Tin
|
||||
// Now for any mod that can provide these tools. GOD DAMNIT
|
||||
// pickaxe_tin>: 240,
|
||||
// axe_tin>: 240,
|
||||
// shovel_tin>: 240,
|
||||
// sword_tin>: 240,
|
||||
// hoe_tin>: 240,
|
||||
|
||||
// Copper Tools
|
||||
// Same as tin. If we can get a mod that adds these tools use the values for them.
|
||||
// pickaxe_copper>: 340,
|
||||
// axe_copper>: 340,
|
||||
// shovel_copper>: 340,
|
||||
// hoe_copper>: 340,
|
||||
// sword_copper>: 340,
|
||||
|
||||
// Copper Armor
|
||||
<contenttweaker:copper_head:0>: 200,
|
||||
<contenttweaker:copper_chest:0>: 375,
|
||||
<contenttweaker:copper_legs:0>: 350,
|
||||
<contenttweaker:copper_feet:0>: 175,
|
||||
|
||||
// Bronze Armor
|
||||
<contenttweaker:bronze_head:0>: 275,
|
||||
<contenttweaker:bronze_chest:0>: 450,
|
||||
<contenttweaker:bronze_legs:0>: 425,
|
||||
<contenttweaker:bronze_feet:0>: 250,
|
||||
|
||||
// Iron Tools
|
||||
<minecraft:iron_shovel:0>: 450,
|
||||
<minecraft:iron_pickaxe:0>: 450,
|
||||
<minecraft:iron_axe:0>: 450,
|
||||
<minecraft:iron_sword:0>: 450,
|
||||
<minecraft:iron_hoe:0>: 450,
|
||||
|
||||
// Iron Armor
|
||||
<minecraft:iron_helmet:0>: 275,
|
||||
<minecraft:iron_chestplate:0>: 450,
|
||||
<minecraft:iron_leggings:0>: 425,
|
||||
<minecraft:iron_boots:0>: 250,
|
||||
|
||||
<actuallyadditions:item_helm_quartz:0>: 115,
|
||||
<actuallyadditions:item_chest_quartz:0>: 165,
|
||||
<actuallyadditions:item_pants_quartz:0>: 155,
|
||||
<actuallyadditions:item_boots_quartz:0>: 105,
|
||||
|
||||
<actuallyadditions:item_pickaxe_quartz:0>: 275,
|
||||
<actuallyadditions:item_sword_quartz:0>: 275,
|
||||
<actuallyadditions:item_axe_quartz:0>: 275,
|
||||
<actuallyadditions:item_shovel_quartz:0>: 275,
|
||||
<actuallyadditions:item_hoe_quartz:0>: 275,
|
||||
|
||||
// Armor
|
||||
<primal:armor_wolf_head:0>: 140,
|
||||
<primal:armor_wolf_body:0>: 168,
|
||||
<primal:armor_wolf_legs:0>: 160,
|
||||
<primal:armor_wolf_feet:0>: 140,
|
||||
|
||||
<minecraft:leather_helmet:0>: 75,
|
||||
<minecraft:leather_chestplate:0>: 100,
|
||||
<minecraft:leather_leggings:0>: 95,
|
||||
<minecraft:leather_boots:0>: 75,
|
||||
|
||||
<primal_tech:bone_shears>: 170,
|
||||
<primal:iron_workblade:0>: 650,
|
||||
|
||||
<tcomplement:manyullyn_helmet:0>: 825,
|
||||
<tcomplement:manyullyn_chestplate:0>: 1350,
|
||||
<tcomplement:manyullyn_leggings:0>: 1275,
|
||||
<tcomplement:manyullyn_boots:0>: 750,
|
||||
|
||||
<minecraft:diamond_helmet:0>: 1000,
|
||||
<minecraft:diamond_chestplate:0>: 1500,
|
||||
<minecraft:diamond_leggings:0>: 1450,
|
||||
<minecraft:diamond_boots:0>: 950,
|
||||
|
||||
// Actually Additions
|
||||
<actuallyadditions:item_helm_crystal_red:0>: 396,
|
||||
<actuallyadditions:item_chest_crystal_red:0>: 576,
|
||||
<actuallyadditions:item_pants_crystal_red:0>: 540,
|
||||
<actuallyadditions:item_boots_crystal_red:0>: 468,
|
||||
|
||||
<actuallyadditions:item_helm_crystal_blue:0>: 396,
|
||||
<actuallyadditions:item_chest_crystal_blue:0>: 576,
|
||||
<actuallyadditions:item_pants_crystal_blue:0>: 540,
|
||||
<actuallyadditions:item_boots_crystal_blue:0>: 468,
|
||||
|
||||
<actuallyadditions:item_helm_crystal_light_blue:0>: 770,
|
||||
<actuallyadditions:item_chest_crystal_light_blue:0>: 1120,
|
||||
<actuallyadditions:item_pants_crystal_light_blue:0>: 1050,
|
||||
<actuallyadditions:item_boots_crystal_light_blue:0>: 910,
|
||||
|
||||
<actuallyadditions:item_helm_crystal_black:0>: 264,
|
||||
<actuallyadditions:item_chest_crystal_black:0>: 384,
|
||||
<actuallyadditions:item_pants_crystal_black:0>: 360,
|
||||
<actuallyadditions:item_boots_crystal_black:0>: 312,
|
||||
|
||||
<actuallyadditions:item_helm_crystal_green:0>: 1320,
|
||||
<actuallyadditions:item_chest_crystal_green:0>: 1920,
|
||||
<actuallyadditions:item_pants_crystal_green:0>: 1800,
|
||||
<actuallyadditions:item_boots_crystal_green:0>: 1560,
|
||||
|
||||
<actuallyadditions:item_helm_crystal_white:0>: 396,
|
||||
<actuallyadditions:item_chest_crystal_white:0>: 576,
|
||||
<actuallyadditions:item_pants_crystal_white:0>: 540,
|
||||
<actuallyadditions:item_boots_crystal_white:0>: 468,
|
||||
|
||||
// Better Builder Wands
|
||||
<betterbuilderswands:wandstone:0>: 650,
|
||||
<betterbuilderswands:wandiron:0>: 1000,
|
||||
<betterbuilderswands:wanddiamond:0>: 3500,
|
||||
|
||||
// Chisel
|
||||
<chisel:chisel_iron:0>: 1500,
|
||||
<chisel:chisel_diamond:0>: 6500,
|
||||
<chisel:chisel_hitech:0>: 12500,
|
||||
|
||||
<pickletweaks:grass_mesh:0>: 64,
|
||||
|
||||
// Dog Boots
|
||||
<animalium:dog_boots:0>: 260,
|
||||
|
||||
<cyclicmagic:ender_dungeon:0>: 1250
|
||||
};
|
||||
|
||||
function init() {
|
||||
for item, durability in durabilityMap {
|
||||
item.maxDamage = durability;
|
||||
}
|
||||
}
|
50
scripts/crafttweaker/itemModifiers/hardness.zs
Normal file
50
scripts/crafttweaker/itemModifiers/hardness.zs
Normal file
@ -0,0 +1,50 @@
|
||||
/*
|
||||
SevTech: Ages Hardness Modification Script
|
||||
|
||||
This script allows for the modification of an ItemStack's hardness.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
static hardnessItems as float[IItemStack] = {
|
||||
<geolosys:ore_vanilla:1>: 5,
|
||||
<geolosys:ore_vanilla:2>: 3.5,
|
||||
<geolosys:ore_vanilla:3>: 3.5,
|
||||
<geolosys:ore_vanilla:4>: 5,
|
||||
<geolosys:ore_vanilla:5>: 7,
|
||||
<geolosys:ore_vanilla:0>: 3,
|
||||
<geolosys:ore:1>: 6,
|
||||
<geolosys:ore:2>: 4,
|
||||
<geolosys:ore:3>: 4,
|
||||
<geolosys:ore:4>: 3.5,
|
||||
<geolosys:ore:5>: 3.5,
|
||||
<geolosys:ore:6>: 3.5,
|
||||
<geolosys:ore:7>: 4,
|
||||
<geolosys:ore:8>: 6,
|
||||
<geolosys:ore:9>: 6,
|
||||
<geolosys:ore:0>: 6,
|
||||
<immersivetech:stone_decoration:0>: 2,
|
||||
<minecraft:nether_brick:0>: 2,
|
||||
<minecraft:netherrack:0>: 2,
|
||||
<minecraft:quartz_ore:0>: 2,
|
||||
<minecraft:stone_slab:6>: 2,
|
||||
<mysticalagriculture:soulstone:0>: 2,
|
||||
<nex:basalt:0>: 2,
|
||||
<nex:netherrack:0>: 2,
|
||||
<nex:netherrack:1>: 2,
|
||||
<nex:netherrack:2>: 2,
|
||||
<nex:netherrack:3>: 2,
|
||||
<poweradapters:mj:0>: 2,
|
||||
<primal_tech:leaf_bed:*>: 0.2,
|
||||
<primal:scoria_stone:0>: 2,
|
||||
<uppers:upper:0>: 3
|
||||
};
|
||||
|
||||
function init() {
|
||||
for item, hardness in hardnessItems {
|
||||
item.hardness = hardness;
|
||||
}
|
||||
}
|
38
scripts/crafttweaker/itemModifiers/harvestLevel.zs
Normal file
38
scripts/crafttweaker/itemModifiers/harvestLevel.zs
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
SevTech: Ages Harvest Level Modification Script
|
||||
|
||||
This script allows for the modification of an ItemStack's Harvest Level.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.block.IBlockDefinition;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
// Set block pickaxe harvest level
|
||||
static pickaxeLevelPairs as IItemStack[][int] = {
|
||||
1: [
|
||||
<abyssalcraft:coraliumore:0>,
|
||||
<bloodmagic:blood_rune:0>,
|
||||
<geolosys:ore:3>,
|
||||
<geolosys:ore:5>,
|
||||
<poweradapters:mj:0>
|
||||
],
|
||||
|
||||
3: [
|
||||
<nex:quartz_ore:1>,
|
||||
<nex:quartz_ore:2>,
|
||||
<nex:quartz_ore:3>,
|
||||
<nex:quartz_ore:0>
|
||||
]
|
||||
};
|
||||
|
||||
function init() {
|
||||
for pickaxeLevel, items in pickaxeLevelPairs {
|
||||
for item in items {
|
||||
var blockDefinition as IBlockDefinition = item.asBlock().definition;
|
||||
blockDefinition.setHarvestLevel("pickaxe", pickaxeLevel);
|
||||
}
|
||||
}
|
||||
}
|
45
scripts/crafttweaker/itemModifiers/rename.zs
Normal file
45
scripts/crafttweaker/itemModifiers/rename.zs
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
SevTech: Ages Item Renaming Script
|
||||
|
||||
This script allows for the renaming of an item.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
static renameMap as string[IItemStack] = {
|
||||
<primal:hide_tanned:0>: "Wet Tanned Hide",
|
||||
|
||||
<betterwithaddons:japanmat:4>: "Rice Flour",
|
||||
|
||||
<primal_tech:flint_edged_disc>: "Flint Saw Blade",
|
||||
|
||||
<totemic:sub_items:1>: "Jingles",
|
||||
|
||||
<primal:plant_fiber_pulp:0>: "Pulp",
|
||||
|
||||
<primal:golden_stick:0>: "Golden Rod",
|
||||
|
||||
<betterbuilderswands:wanddiamond:0>: "Platinum Wand",
|
||||
|
||||
//Space Platinum
|
||||
<extraplanets:kepler22b:14>: "Block of Space Platinum",
|
||||
<extraplanets:tier11_items:5>: "§9Space Platinum Ingot",
|
||||
<extraplanets:tier11_items:6>: "§9Compressed Space Platinum",
|
||||
|
||||
//Chisel & Bits
|
||||
<chiselsandbits:chisel_iron:0>: "Bit Chisel",
|
||||
|
||||
<extraplanets:apple_iron:0>: "JourneyMap Token",
|
||||
|
||||
//Fixing Localization
|
||||
<primal:wolf_head_item>: "Wolf Head"
|
||||
};
|
||||
|
||||
function init() {
|
||||
for item, displayName in renameMap {
|
||||
item.displayName = displayName;
|
||||
}
|
||||
}
|
629
scripts/crafttweaker/itemModifiers/tooltips.zs
Normal file
629
scripts/crafttweaker/itemModifiers/tooltips.zs
Normal file
@ -0,0 +1,629 @@
|
||||
/*
|
||||
SevTech: Ages Tooltips Modification Script
|
||||
|
||||
This script allows modification of tooltips.
|
||||
|
||||
Note: These scripts are created and for the usage in SevTech: Ages and other
|
||||
modpacks curated by DarkPacks. You can use these scripts for reference and for
|
||||
learning but not for copying and pasting and claiming as your own.
|
||||
*/
|
||||
import crafttweaker.formatting.IFormattedText;
|
||||
import crafttweaker.item.IItemStack;
|
||||
|
||||
static itemTooltipMap as IFormattedText[][IItemStack] = {
|
||||
// ==================================
|
||||
// Prospecting Rods
|
||||
<prospectors:prospector_lowest:*>: [
|
||||
format.yellow("This tool may only be used"),
|
||||
format.yellow("for ore in Age 1 and below"),
|
||||
format.red("Will detect unlocked Ores"),
|
||||
format.red("in a " ~ 48 ~ " block straight line")
|
||||
],
|
||||
<prospectors:prospector_low:*>: [
|
||||
format.yellow("This tool may only be used"),
|
||||
format.yellow("for ore in Age 2 and below"),
|
||||
format.red("Will detect unlocked Ores"),
|
||||
format.red("in a " ~ 48 ~ " block straight line")
|
||||
],
|
||||
<prospectors:prospector_med:*>: [
|
||||
format.yellow("This tool may only be used"),
|
||||
format.yellow("for Age 3 and below ore"),
|
||||
format.red("Will detect unlocked Ores"),
|
||||
format.red("in a " ~ 48 ~ " block straight line")
|
||||
],
|
||||
<prospectors:prospector_high:*>: [
|
||||
format.yellow("This tool may only be used"),
|
||||
format.yellow("for ore in Age 4 and below"),
|
||||
format.red("Will detect unlocked Ores"),
|
||||
format.red("in a " ~ 48 ~ " block straight line")
|
||||
],
|
||||
<prospectors:prospector_best:*>: [
|
||||
format.yellow("This tool may only be used"),
|
||||
format.yellow("for ore in Age 5 and below"),
|
||||
format.red("Will detect unlocked Ores"),
|
||||
format.red("in a " ~ 48 ~ " block straight line")
|
||||
],
|
||||
|
||||
// ==================================
|
||||
// Geolosys Ore Names for User Friendliness AKA I'm tired of using my brain to remember things
|
||||
<geolosys:ore:0>: [
|
||||
format.red("Iron Ore")
|
||||
],
|
||||
<geolosys:ore:1>: [
|
||||
format.red("Iron and Nickel Ore")
|
||||
],
|
||||
<geolosys:ore:2>: [
|
||||
format.red("Copper Ore")
|
||||
],
|
||||
<geolosys:ore:3>: [
|
||||
format.red("Copper Ore")
|
||||
],
|
||||
<geolosys:ore:4>: [
|
||||
format.red("Tin Ore")
|
||||
],
|
||||
<geolosys:ore:5>: [
|
||||
format.red("Tin Ore")
|
||||
],
|
||||
<geolosys:ore:6>: [
|
||||
format.red("Silver and Lead Ore")
|
||||
],
|
||||
<geolosys:ore:7>: [
|
||||
format.red("Aluminum Ore")
|
||||
],
|
||||
<geolosys:ore:8>: [
|
||||
format.red("Platinum Ore")
|
||||
],
|
||||
<geolosys:ore:9>: [
|
||||
format.red("Uranium Ore")
|
||||
],
|
||||
<geolosys:ore:10>: [
|
||||
format.red("Zinc Ore")
|
||||
],
|
||||
<geolosys:ore_vanilla:1>: [
|
||||
format.red("Redstone Ore")
|
||||
],
|
||||
<geolosys:ore_vanilla:5>: [
|
||||
format.red("Diamond Ore")
|
||||
],
|
||||
<geolosys:ore_vanilla:6>: [
|
||||
format.red("Emerald Ore")
|
||||
],
|
||||
|
||||
// ==================================
|
||||
// Someone had to do it! xD
|
||||
<chisel:antiblock:15>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:brownstone:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:factory:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:futura:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:laboratory:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:lavastone:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:temple:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:tyrian:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:voidstone:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
<chisel:waterstone:0>: [
|
||||
format.gold("Craftable")
|
||||
],
|
||||
|
||||
// ==================================
|
||||
// Environmental Tech Structures
|
||||
// Lightning
|
||||
<environmentaltech:lightning_cont_1:0>: [
|
||||
format.aqua("Structure Size: 3x7x3")
|
||||
],
|
||||
<environmentaltech:lightning_cont_2:0>: [
|
||||
format.aqua("Structure Size: 3x9x3")
|
||||
],
|
||||
<environmentaltech:lightning_cont_3:0>: [
|
||||
format.aqua("Structure Size: 3x11x3")
|
||||
],
|
||||
<environmentaltech:lightning_cont_4:0>: [
|
||||
format.aqua("Structure Size: 3x13x3")
|
||||
],
|
||||
<environmentaltech:lightning_cont_5:0>: [
|
||||
format.aqua("Structure Size: 3x18x3")
|
||||
],
|
||||
<environmentaltech:lightning_cont_6:0>: [
|
||||
format.aqua("Structure Size: 3x23x3")
|
||||
],
|
||||
|
||||
// Nano
|
||||
<environmentaltech:nano_cont_personal_1:0>: [
|
||||
format.aqua("Structure Size: 5x3x5")
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_2:0>: [
|
||||
format.aqua("Structure Size: 7x4x7")
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_3:0>: [
|
||||
format.aqua("Structure Size: 9x5x9")
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_4:0>: [
|
||||
format.aqua("Structure Size: 11x6x11")
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_5:0>: [
|
||||
format.aqua("Structure Size: 13x7x13")
|
||||
],
|
||||
<environmentaltech:nano_cont_personal_6:0>: [
|
||||
format.aqua("Structure Size: 15x8x15")
|
||||
],
|
||||
|
||||
// Solar
|
||||
<environmentaltech:solar_cont_1:0>: [
|
||||
format.aqua("Structure Size: 5x2x5")
|
||||
],
|
||||
<environmentaltech:solar_cont_2:0>: [
|
||||
format.aqua("Structure Size: 7x2x7")
|
||||
],
|
||||
<environmentaltech:solar_cont_3:0>: [
|
||||
format.aqua("Structure Size: 9x2x9")
|
||||
],
|
||||
<environmentaltech:solar_cont_4:0>: [
|
||||
format.aqua("Structure Size: 11x2x11")
|
||||
],
|
||||
<environmentaltech:solar_cont_5:0>: [
|
||||
format.aqua("Structure Size: 13x2x13")
|
||||
],
|
||||
<environmentaltech:solar_cont_6:0>: [
|
||||
format.aqua("Structure Size: 15x2x15")
|
||||
],
|
||||
|
||||
// Void Botanic Miner
|
||||
<environmentaltech:void_botanic_miner_cont_1:0>: [
|
||||
format.aqua("Structure Size: 7x4x7")
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_2:0>: [
|
||||
format.aqua("Structure Size: 7x5x7")
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_3:0>: [
|
||||
format.aqua("Structure Size: 11x6x11")
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_4:0>: [
|
||||
format.aqua("Structure Size: 11x7x11")
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_5:0>: [
|
||||
format.aqua("Structure Size: 11x8x11")
|
||||
],
|
||||
<environmentaltech:void_botanic_miner_cont_6:0>: [
|
||||
format.aqua("Structure Size: 13x8x13")
|
||||
],
|
||||
|
||||
// Void Ore Miner
|
||||
<environmentaltech:void_ore_miner_cont_1:0>: [
|
||||
format.aqua("Structure Size: 7x4x7")
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_2:0>: [
|
||||
format.aqua("Structure Size: 7x5x7")
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_3:0>: [
|
||||
format.aqua("Structure Size: 11x6x11")
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_4:0>: [
|
||||
format.aqua("Structure Size: 11x7x11")
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_5:0>: [
|
||||
format.aqua("Structure Size: 11x8x11")
|
||||
],
|
||||
<environmentaltech:void_ore_miner_cont_6:0>: [
|
||||
format.aqua("Structure Size: 13x8x13")
|
||||
],
|
||||
|
||||
// Void Res Miner
|
||||
<environmentaltech:void_res_miner_cont_1:0>: [
|
||||
format.aqua("Structure Size: 7x4x7")
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_2:0>: [
|
||||
format.aqua("Structure Size: 7x5x7")
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_3:0>: [
|
||||
format.aqua("Structure Size: 11x6x11")
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_4:0>: [
|
||||
format.aqua("Structure Size: 11x7x11")
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_5:0>: [
|
||||
format.aqua("Structure Size: 11x8x11")
|
||||
],
|
||||
<environmentaltech:void_res_miner_cont_6:0>: [
|
||||
format.aqua("Structure Size: 13x8x13")
|
||||
],
|
||||
|
||||
// ==================================
|
||||
// Galacticraft Schematic Helpful Hints
|
||||
<galacticraftcore:schematic:0>: [
|
||||
format.gray("Tier 1 treasure chests, found after completing tier 1 dungeons on the moon")
|
||||
],
|
||||
<galacticraftcore:schematic:1>: [
|
||||
format.gray("The Tier 2 Rocket Schematic can be found in Tier 1 treasure chests, found after completing the Moon Dungeon")
|
||||
],
|
||||
|
||||
<galacticraftplanets:schematic:0>: [
|
||||
format.gray("The Tier 3 Rocket Schematic can be found in Tier 2 Treasure Chests which can sometimes be found after completing Mars Dungeons")
|
||||
],
|
||||
<galacticraftplanets:schematic:1>: [
|
||||
format.gray("The schematic can be found in Tier 2 treasure chests, found after completing tier 2 dungeons")
|
||||
],
|
||||
<galacticraftplanets:schematic:2>: [
|
||||
format.gray("Treasure item in a Tier 2 Treasure Chest after defeating the Creeper Boss")
|
||||
],
|
||||
|
||||
<extraplanets:schematic_tier4:0>: [
|
||||
format.gray("The schematic can be found in a Tier 4 Treasure Chest on Mercury")
|
||||
],
|
||||
<extraplanets:schematic_tier5:0>: [
|
||||
format.gray("The schematic can be found in a Tier 5 Treasure Chest on Jupiter")
|
||||
],
|
||||
<extraplanets:schematic_tier6:0>: [
|
||||
format.gray("The schematic can be found in a Tier 6 Treasure Chest on Saturn")
|
||||
],
|
||||
<extraplanets:schematic_tier7:0>: [
|
||||
format.gray("The schematic can be found in a Tier 7 Treasure Chest on Uranus")
|
||||
],
|
||||
<extraplanets:schematic_tier8:0>: [
|
||||
format.gray("The schematic can be found in a Tier 8 Treasure Chest on Neptune")
|
||||
],
|
||||
<extraplanets:schematic_tier9:0>: [
|
||||
format.gray("The schematic can be found in a Tier 9 Treasure Chest on Pluto")
|
||||
],
|
||||
<extraplanets:schematic_tier10:0>: [
|
||||
format.gray("The schematic can be found in a Tier 10 Treasure Chest on Eris")
|
||||
],
|
||||
|
||||
<extraplanets:schematic_mars_rover:0>: [
|
||||
format.gray("The schematic can be found in a Treasure Chest")
|
||||
],
|
||||
<extraplanets:schematic_venus_rover:0>: [
|
||||
format.gray("The schematic can be found in a Tier 4 Treasure Chest on Venus")
|
||||
],
|
||||
|
||||
// ==================================
|
||||
// Misc
|
||||
<animalium:rat_meat:0>: [
|
||||
format.red("Loved by Wild Bears!")
|
||||
],
|
||||
|
||||
<car:key:0>: [
|
||||
format.yellow("Comes with your car!"),
|
||||
format.yellow("Press I in your car to obtain"),
|
||||
format.yellow("Clone by crafting with iron")
|
||||
],
|
||||
|
||||
<primal_tech:wooden_hopper>: [
|
||||
format.red("An advanced Wooden Hopper")
|
||||
],
|
||||
<primal_tech:charcoal_hopper>: [
|
||||
format.red("An advanced Wooden Hopper")
|
||||
],
|
||||
|
||||
<jarm:oak_raft:0>: [
|
||||
format.red("A Tom Hanks Style Boat")
|
||||
],
|
||||
<jarm:spruce_raft:0>: [
|
||||
format.red("A Tom Hanks Style Boat")
|
||||
],
|
||||
<jarm:birch_raft:0>: [
|
||||
format.red("A Tom Hanks Style Boat")
|
||||
],
|
||||
<jarm:jungle_raft:0>: [
|
||||
format.red("A Tom Hanks Style Boat")
|
||||
],
|
||||
<jarm:acacia_raft:0>: [
|
||||
format.red("A Tom Hanks Style Boat")
|
||||
],
|
||||
<jarm:dark_oak_raft:0>: [
|
||||
format.red("A Tom Hanks Style Boat")
|
||||
],
|
||||
|
||||
<minecraft:mob_spawner:0>: [
|
||||
format.red("Only has 400 total spawns!")
|
||||
],
|
||||
|
||||
<totemic:tipi:0>: [
|
||||
format.red("It's like a fancy bed!")
|
||||
],
|
||||
|
||||
<primal_tech:clay_kiln>: [
|
||||
format.red("Needs heat source below")
|
||||
],
|
||||
|
||||
<dungpipe:sewer_pipe:0>: [
|
||||
format.red("Pipes items through a solid block")
|
||||
],
|
||||
|
||||
<ceramics:clay_bucket:0>: [
|
||||
format.red("Will literally melt away after"),
|
||||
format.red("transporting HOT liquid")
|
||||
],
|
||||
|
||||
<progressiontweaks:spear:0>: [
|
||||
format.red("Hold Mouse Button To Charge"),
|
||||
format.red("Release to throw")
|
||||
],
|
||||
|
||||
<primal_tech:fibre_torch>: [
|
||||
format.red("Right Click on fire source"),
|
||||
format.red("or lit torch to light")
|
||||
],
|
||||
|
||||
<primal_tech:rock>: [
|
||||
format.red("Used with the Work Stump"),
|
||||
format.red("Right Click on Table to craft recipe")
|
||||
],
|
||||
|
||||
<tconstruct:sharpening_kit:0>: [
|
||||
format.red("Only used to repair tools")
|
||||
],
|
||||
|
||||
<betterwithaddons:japanmat:36>: [
|
||||
format.red("Mulberry Trees rarely spawn in most biomes")
|
||||
],
|
||||
|
||||
<primal_tech:work_stump>: [
|
||||
format.red("Needs a Crafting Rock"),
|
||||
format.red("to craft recipes")
|
||||
],
|
||||
<primal_tech:work_stump_upgraded>: [
|
||||
format.red("Needs a Crafting Rock"),
|
||||
format.red("to craft recipes")
|
||||
],
|
||||
|
||||
<primal:flint_hatchet:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
<primal:sharp_bone:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
|
||||
<teslacorelib:energy_tier1:0>: [
|
||||
format.yellow("Upgrade for Industrial Foregoing Machines")
|
||||
],
|
||||
<teslacorelib:energy_tier2:0>: [
|
||||
format.yellow("Upgrade for Industrial Foregoing Machines")
|
||||
],
|
||||
<teslacorelib:speed_tier1:0>: [
|
||||
format.yellow("Upgrade for Industrial Foregoing Machines")
|
||||
],
|
||||
<teslacorelib:speed_tier2:0>: [
|
||||
format.yellow("Upgrade for Industrial Foregoing Machines")
|
||||
],
|
||||
|
||||
<astikorcarts:plowcart:0>: [
|
||||
format.yellow("Use the AstikorCarts Action"),
|
||||
format.yellow("Key to attach to Horses")
|
||||
],
|
||||
<astikorcarts:cargocart:0>: [
|
||||
format.yellow("Use the AstikorCarts Action"),
|
||||
format.yellow("Key to attach to Horses")
|
||||
],
|
||||
<astikorcarts:mobcart:0>: [
|
||||
format.yellow("Use the AstikorCarts Action"),
|
||||
format.yellow("Key to attach to Horses")
|
||||
],
|
||||
|
||||
<primal:flint_workblade:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
<primal:quartz_workblade:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
<primal:iron_workblade:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
<primal:emerald_workblade:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
<primal:diamond_workblade:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
<primal:flint_axe:*>: [
|
||||
format.red("Can not be repaired")
|
||||
],
|
||||
|
||||
<waterstrainer:garden_trowel:0>: [
|
||||
format.red("Repaired with Flint")
|
||||
],
|
||||
|
||||
<betterwithmods:wooden_broken_gearbox:0>: [
|
||||
format.red("Right click with two"),
|
||||
format.red("Wooden Gears in hand to Repair"),
|
||||
format.red("Or craft back into a repaired block")
|
||||
],
|
||||
|
||||
<extraplanets:apple_iron:0>: [
|
||||
format.red("Eating this item will"),
|
||||
format.red("unlock Advanced Mapping")
|
||||
],
|
||||
|
||||
<thebetweenlands:ring_of_flight:0>: [
|
||||
format.red("Can be found as Loot from chests in"),
|
||||
format.red("Shrines, Cragrock Towers"),
|
||||
format.red("and the Wight Fortress"),
|
||||
format.red("or looted from bosses"),
|
||||
format.red("and a rare drop chance"),
|
||||
format.red("from certain Betweenlands enemies")
|
||||
],
|
||||
|
||||
<indlog:auto_craft:0>: [
|
||||
format.red("Only able to craft Age 4 items and below")
|
||||
],
|
||||
<indlog:portable_craft:0>: [
|
||||
format.red("Only able to craft Age 4 items and below")
|
||||
],
|
||||
|
||||
<buildcraftfactory:autoworkbench_item:0>: [
|
||||
format.red("Only able to craft Age 4 items and below")
|
||||
],
|
||||
|
||||
<rftools:crafter1:0>: [
|
||||
format.red("Able to craft Age 5 items and below")
|
||||
],
|
||||
<rftools:crafter2:0>: [
|
||||
format.red("Able to craft Age 5 items and below")
|
||||
],
|
||||
<rftools:crafter3:0>: [
|
||||
format.red("Able to craft Age 5 items and below")
|
||||
],
|
||||
|
||||
<cyclicmagic:auto_crafter:0>: [
|
||||
format.red("Able to craft Age 5 items and below")
|
||||
],
|
||||
|
||||
<betterwithmods:hand_crank:0>: [
|
||||
format.red("Needed to power early machines"),
|
||||
format.red("like the Mill Stone")
|
||||
],
|
||||
|
||||
<betterwithmods:single_machine:0>: [
|
||||
format.aqua("Use Hand Crank until kinetic"),
|
||||
format.aqua("power is available")
|
||||
],
|
||||
|
||||
<abyssalcraft:statue:0>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
<abyssalcraft:statue:1>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
<abyssalcraft:statue:2>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
<abyssalcraft:statue:3>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
<abyssalcraft:statue:4>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
<abyssalcraft:statue:5>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
<abyssalcraft:statue:6>: [
|
||||
format.red("Requires open sky above to function")
|
||||
],
|
||||
|
||||
<totemic:cedar_log:0>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Red Cedar is acquired via a Totemic Ceremony")
|
||||
],
|
||||
<totemic:stripped_cedar_log:0>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Red Cedar is acquired via a Totemic Ceremony")
|
||||
],
|
||||
<totemic:cedar_plank:0>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Red Cedar is acquired via a Totemic Ceremony")
|
||||
],
|
||||
<totemic:cedar_sapling:0>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Red Cedar is acquired via a Totemic Ceremony")
|
||||
],
|
||||
<totemic:cedar_leaves:0>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Red Cedar is acquired via a Totemic Ceremony")
|
||||
],
|
||||
|
||||
// Add tooltips to explain how to find eagles / obtain the eagle drops
|
||||
<totemic:eagle_drops:0>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Eagles are spawned via a Totemic Ceremony")
|
||||
],
|
||||
<totemic:eagle_drops:1>: [
|
||||
format.red("Not found in the world"),
|
||||
format.red("Eagles are spawned via a Totemic Ceremony")
|
||||
],
|
||||
|
||||
// Death Releated
|
||||
<death_compass:death_compass>: [
|
||||
format.red("Sneak on your grave to retrieve your items")
|
||||
],
|
||||
<extendedcrafting:singularity_custom:8>: [
|
||||
format.aqua("Compasses obtained through player death or"),
|
||||
format.aqua("from Player Skin Mobs")
|
||||
],
|
||||
|
||||
// Space!
|
||||
<buildcraftbuilders:quarry:0>: [
|
||||
format.red("This machine will only work in space!")
|
||||
],
|
||||
|
||||
// Creeping Moss
|
||||
<huntingdim:biome_changer:0>: [
|
||||
format.red("To change the Biome Type Shift-Click inside the biome you want the moss to be")
|
||||
],
|
||||
|
||||
<betterwithmods:hibachi:0>: [
|
||||
format.red("Needs a Redstone signal to light")
|
||||
],
|
||||
|
||||
// Extra Planets space suit
|
||||
<extraplanets:tier1_space_suit_helmet:*>: [
|
||||
format.red("Only requires power when modules are installed"),
|
||||
format.red("can only be charged with an Energy Storage Module")
|
||||
],
|
||||
<extraplanets:tier1_space_suit_chest:*>: [
|
||||
format.red("Only requires power when modules are installed"),
|
||||
format.red("can only be charged with an Energy Storage Module")
|
||||
],
|
||||
<extraplanets:tier1_space_suit_legings:*>: [
|
||||
format.red("Only requires power when modules are installed"),
|
||||
format.red("can only be charged with an Energy Storage Module")
|
||||
],
|
||||
<extraplanets:tier1_space_suit_boots:*>: [
|
||||
format.red("Only requires power when modules are installed"),
|
||||
format.red("can only be charged with an Energy Storage Module")
|
||||
],
|
||||
|
||||
// Coralium
|
||||
<abyssalcraft:coraliumore:0>: [
|
||||
format.aqua("Consult Overworld Chapter in Forbidden Knowledge"),
|
||||
format.aqua("in the Necromonicon for more information."),
|
||||
format.aqua("Ore can be found underground in Ocean"),
|
||||
format.aqua("and Swamp Biomes")
|
||||
],
|
||||
<abyssalcraft:cpearl:0>: [
|
||||
format.aqua("Consult Overworld Chapter in Forbidden Knowledge"),
|
||||
format.aqua("in the Necromonicon for more information."),
|
||||
format.aqua("Ore can be found underground in Ocean"),
|
||||
format.aqua("and Swamp Biomes")
|
||||
],
|
||||
<thebetweenlands:volarkite>: [
|
||||
format.aqua("Glider"),
|
||||
],
|
||||
<rustic:apiary>: [
|
||||
format.red("When bees are inserted this will increase"),
|
||||
format.red("crop growth in a 4 block radius,"),
|
||||
format.red("breeds bees, and creates honeycomb")
|
||||
],
|
||||
<rustic:bee>: [
|
||||
format.red("Found in Rustic Beehives around the world"),
|
||||
format.red("Insert into Rustic Apiary")
|
||||
],
|
||||
<twilightforest:liveroot>: [
|
||||
format.red("Found in Twilight Forest Caves, Worldgen,"),
|
||||
format.red("Twilight Forest Loot Chests,"),
|
||||
format.red("or via Bonsai Trees")
|
||||
]
|
||||
};
|
||||
|
||||
function init() {
|
||||
for item, tooltips in itemTooltipMap {
|
||||
for tooltip in tooltips {
|
||||
item.addTooltip(tooltip);
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user