redo b2cc4be
This commit is contained in:
parent
3b82a3ad87
commit
7ad842e0d1
3 changed files with 7 additions and 4 deletions
|
|
@ -27,6 +27,7 @@ function removeGreateRecipes(event) {
|
|||
event.remove({ id: 'greate:shaped/titanium_mechanical_saw' })
|
||||
|
||||
event.remove({ id: 'greate:splashing/dough' })
|
||||
event.remove({ id: 'gtceu:electrolyzer/decomposition_electrolyzing_chromatic_compound' })
|
||||
|
||||
event.remove({ mod: 'greate', type: 'create:deploying' });
|
||||
event.remove({ mod: 'greate', type: 'create:sequenced_assembly' });
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ function registerGTCEUMetalRecipes(event) {
|
|||
|
||||
let matAmount = TagPrefix.block.getMaterialAmount(material) / GTValues.M;
|
||||
|
||||
if (!plateStack.isEmpty()) {
|
||||
if (!plateStack.isEmpty() && !ingotStack.hasTag('c:hidden_from_recipe_viewers')) {
|
||||
|
||||
event.custom({
|
||||
type: "createaddition:rolling",
|
||||
|
|
@ -149,7 +149,6 @@ function registerGTCEUMetalRecipes(event) {
|
|||
}).id(`tfg:rolling/${material.getName()}_plate`)
|
||||
|
||||
if (!blockStack.isEmpty() && GTMaterials.Stone != material) {
|
||||
|
||||
// 9х Слиток -> Блок
|
||||
event.recipes.createCompacting(blockStack, ingotStack.withCount(matAmount))
|
||||
.heated()
|
||||
|
|
@ -158,7 +157,6 @@ function registerGTCEUMetalRecipes(event) {
|
|||
}
|
||||
else {
|
||||
if (!blockStack.isEmpty()) {
|
||||
|
||||
// Блок из гемов -> 9 Пластин
|
||||
event.recipes.createCutting(plateStack.withCount(matAmount).withChance(0.65), blockStack)
|
||||
.id(`tfg:cutting/${material.getName()}_plate`)
|
||||
|
|
@ -192,7 +190,7 @@ function registerGTCEUMetalRecipes(event) {
|
|||
const foilItem = ChemicalHelper.get(TagPrefix.foil, material, 4)
|
||||
const plateItem = ChemicalHelper.get(TagPrefix.plate, material, 1)
|
||||
|
||||
if (plateItem != null && foilItem != null) {
|
||||
if (plateItem != null && foilItem != null && !plateItem.hasTag('c:hidden_from_recipe_viewers')) {
|
||||
event.custom({
|
||||
type: "createaddition:rolling",
|
||||
input: plateItem,
|
||||
|
|
|
|||
|
|
@ -293,6 +293,10 @@ function registerVintageImprovementsRecipes(event) {
|
|||
|
||||
forEachMaterial(material => {
|
||||
|
||||
const ingotItem = ChemicalHelper.get(TagPrefix.ingot, material, 1);
|
||||
if (ingotItem == null || ingotItem.hasTag('c:hidden_from_recipe_viewers'))
|
||||
return;
|
||||
|
||||
// #region Coiling
|
||||
|
||||
if (material.hasFlag(MaterialFlags.GENERATE_ROD) && material.hasFlag(MaterialFlags.GENERATE_SPRING_SMALL)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue