fixed some VI/rolling mill recipes that were still generating for removed items
This commit is contained in:
parent
712f8a33c7
commit
b2cc4beba1
4 changed files with 8 additions and 4 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
### New features
|
### New features
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
- Fixed double ingots not having a temperature (#1165) @Pyritie
|
- Fixed double ingots not having a temperature (#1165) @Pyritie
|
||||||
|
- Removed a few recipes that had unobtainable create-related materials @Pyritie
|
||||||
### Changes
|
### Changes
|
||||||
- Changed pineapple yarn recipe from assembler to wiremill & coiling machine, like the other strings (#1162) @Pyritie
|
- Changed pineapple yarn recipe from assembler to wiremill & coiling machine, like the other strings (#1162) @Pyritie
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ function removeGreateRecipes(event) {
|
||||||
event.remove({ id: 'greate:shaped/titanium_mechanical_saw' })
|
event.remove({ id: 'greate:shaped/titanium_mechanical_saw' })
|
||||||
|
|
||||||
event.remove({ id: 'greate:splashing/dough' })
|
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:deploying' });
|
||||||
event.remove({ mod: 'greate', type: 'create:sequenced_assembly' });
|
event.remove({ mod: 'greate', type: 'create:sequenced_assembly' });
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ function registerGTCEUMetalRecipes(event) {
|
||||||
|
|
||||||
let matAmount = TagPrefix.block.getMaterialAmount(material) / GTValues.M;
|
let matAmount = TagPrefix.block.getMaterialAmount(material) / GTValues.M;
|
||||||
|
|
||||||
if (!plateStack.isEmpty()) {
|
if (!plateStack.isEmpty() && !ingotStack.hasTag('c:hidden_from_recipe_viewers')) {
|
||||||
|
|
||||||
event.custom({
|
event.custom({
|
||||||
type: "createaddition:rolling",
|
type: "createaddition:rolling",
|
||||||
|
|
@ -149,7 +149,6 @@ function registerGTCEUMetalRecipes(event) {
|
||||||
}).id(`tfg:rolling/${material.getName()}_plate`)
|
}).id(`tfg:rolling/${material.getName()}_plate`)
|
||||||
|
|
||||||
if (!blockStack.isEmpty() && GTMaterials.Stone != material) {
|
if (!blockStack.isEmpty() && GTMaterials.Stone != material) {
|
||||||
|
|
||||||
// 9х Слиток -> Блок
|
// 9х Слиток -> Блок
|
||||||
event.recipes.createCompacting(blockStack, ingotStack.withCount(matAmount))
|
event.recipes.createCompacting(blockStack, ingotStack.withCount(matAmount))
|
||||||
.heated()
|
.heated()
|
||||||
|
|
@ -158,7 +157,6 @@ function registerGTCEUMetalRecipes(event) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!blockStack.isEmpty()) {
|
if (!blockStack.isEmpty()) {
|
||||||
|
|
||||||
// Блок из гемов -> 9 Пластин
|
// Блок из гемов -> 9 Пластин
|
||||||
event.recipes.createCutting(plateStack.withCount(matAmount).withChance(0.65), blockStack)
|
event.recipes.createCutting(plateStack.withCount(matAmount).withChance(0.65), blockStack)
|
||||||
.id(`tfg:cutting/${material.getName()}_plate`)
|
.id(`tfg:cutting/${material.getName()}_plate`)
|
||||||
|
|
@ -192,7 +190,7 @@ function registerGTCEUMetalRecipes(event) {
|
||||||
const foilItem = ChemicalHelper.get(TagPrefix.foil, material, 4)
|
const foilItem = ChemicalHelper.get(TagPrefix.foil, material, 4)
|
||||||
const plateItem = ChemicalHelper.get(TagPrefix.plate, material, 1)
|
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({
|
event.custom({
|
||||||
type: "createaddition:rolling",
|
type: "createaddition:rolling",
|
||||||
input: plateItem,
|
input: plateItem,
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,10 @@ function registerVintageImprovementsRecipes(event) {
|
||||||
|
|
||||||
forEachMaterial(material => {
|
forEachMaterial(material => {
|
||||||
|
|
||||||
|
const ingotItem = ChemicalHelper.get(TagPrefix.ingot, material, 1);
|
||||||
|
if (ingotItem == null || ingotItem.hasTag('c:hidden_from_recipe_viewers'))
|
||||||
|
return;
|
||||||
|
|
||||||
// #region Coiling
|
// #region Coiling
|
||||||
|
|
||||||
if (material.hasFlag(MaterialFlags.GENERATE_ROD) && material.hasFlag(MaterialFlags.GENERATE_SPRING_SMALL)) {
|
if (material.hasFlag(MaterialFlags.GENERATE_ROD) && material.hasFlag(MaterialFlags.GENERATE_SPRING_SMALL)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue