Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lithium Ion Battery pack Crafting recipe inconsistent #2317

Open
moretor1 opened this issue Jul 16, 2024 · 2 comments
Open

Lithium Ion Battery pack Crafting recipe inconsistent #2317

moretor1 opened this issue Jul 16, 2024 · 2 comments

Comments

@moretor1
Copy link

Context

The "Basic" lithium ion power cell requires 4 elite plating, the advanced requires 4 advanced plating, the DU requires DU plating, and the elite requires 4 elite plating again

The basic voltaic pile requires basic plating and the basic lith ion cell should as well

Config/Script Details (if desired)

@moretor1
Copy link
Author

moretor1 commented Jul 16, 2024

/*
SkyFactory 4 NuclearCraft Recipe Script

This script handles the recipes for NuclearCraft.

*/
import crafttweaker.item.IItemStack;
import crafttweaker.item.IIngredient;

import mods.zenstages.Utils;

import scripts.crafttweaker.craftingUtils;

/*
Shaped Recipes
*/
static shapedRecipes as IIngredient[][][][IItemStack] = {
nuclearcraft:water_source: [
[
[ore:plateBasic, ore:ingotTin, ore:plateBasic],
[craftingUtils.getBucketIngredient(liquid:water), null, craftingUtils.getBucketIngredient(liquid:water)],
[ore:plateBasic, ore:ingotTin, ore:plateBasic]
]
],
nuclearcraft:lithium_ion_battery_basic: [
[
[ore:plateBasic, nuclearcraft:item.nuclearcraft.lithium_ion_cell, ore:plateBasic],
[nuclearcraft:item.nuclearcraft.lithium_ion_cell, ore:solenoidMagnesiumDiboride, nuclearcraft:item.nuclearcraft.lithium_ion_cell],
[ore:plateBasic, nuclearcraft:item.nuclearcraft.lithium_ion_cell, ore:plateBasic]
]
]

};

static namedShapedRecipes as IIngredient[][][][string][IItemStack] = {
};

/*
Mirrored Recipes
*/
static mirroredRecipes as IIngredient[][][][IItemStack] = {
};

static namedMirroredRecipes as IIngredient[][][][string][IItemStack] = {
};

/*
Shapeless Recipes
*/
static shapelessRecipes as IIngredient[][][IItemStack] = {
};

static namedShapelessRecipes as IIngredient[][][string][IItemStack] = {
};

/*
Recipe Removals
*/
static removeRecipes as IItemStack[] = [
nuclearcraft:water_source
];

function init() {
// Un-named recipes
recipeUtil.process(shapedRecipes, false);
recipeUtil.process(mirroredRecipes, true);
recipeUtil.process(shapelessRecipes);

// Named recipes
recipeUtil.processNamed(namedShapedRecipes, false);
recipeUtil.processNamed(namedMirroredRecipes, true);
recipeUtil.processNamed(namedShapelessRecipes);

recipeUtil.removeRecipes(removeRecipes);

}

I can't figure out how to get lithium cells to work

@moretor1 moretor1 changed the title Lithium Ion Battery pack Crafting reicpie inconsistent Lithium Ion Battery pack Crafting reicpe inconsistent Jul 16, 2024
@moretor1 moretor1 changed the title Lithium Ion Battery pack Crafting reicpe inconsistent Lithium Ion Battery pack Crafting recipe inconsistent Jul 16, 2024
@moretor1
Copy link
Author

fixed it
nuclearcraft:lithium_ion_battery_basic: [
[
[ore:plateBasic, nuclearcraft:lithium_ion_cell.withTag({maxTransfer: 400000, capacity: 8000000, energy: 0}), ore:plateBasic],
[nuclearcraft:lithium_ion_cell.withTag({maxTransfer: 400000, capacity: 8000000, energy: 0}), ore:solenoidMagnesiumDiboride, nuclearcraft:lithium_ion_cell.withTag({maxTransfer: 400000, capacity: 8000000, energy: 0})],
[ore:plateBasic, nuclearcraft:lithium_ion_cell.withTag({maxTransfer: 400000, capacity: 8000000, energy: 0}), ore:plateBasic]
]
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant