-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #704 from Pyritie/glass
Added recipes for create glass, more windows, fixed tinted glass recipe conflict
- Loading branch information
Showing
6 changed files
with
132 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// priority: 0 | ||
|
||
const registerEveryCompatRecipes = (event) => { | ||
|
||
global.TFC_WOOD_TYPES.forEach(wood => | ||
{ | ||
event.remove({ id: `everycomp:c/tfc/${wood}_window_pane` }) | ||
|
||
event.shapeless(`2x everycomp:c/tfc/${wood}_window_pane`, | ||
[ | ||
`everycomp:c/tfc/${wood}_window`, | ||
'#forge:tools/saws' | ||
]) | ||
.id(`tfg:everycompat/shapeless/${wood}_window_pane`) | ||
|
||
event.recipes.gtceu.cutter(`tfg:everycompat/shapeless/${wood}_window_pane`) | ||
.itemInputs(`3x everycomp:c/tfc/${wood}_window`) | ||
.itemOutputs(`8x everycomp:c/tfc/${wood}_window_pane`) | ||
.duration(40) | ||
.EUt(20) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// priority: 0 | ||
|
||
const registerEveryCompatItemTags = (event) => { | ||
|
||
event.removeAllTagsFrom('everycomp:c/gtceu/rubber_window') | ||
event.removeAllTagsFrom('everycomp:c/gtceu/rubber_window_pane') | ||
event.add('c:hidden_from_recipe_viewers', 'everycomp:c/gtceu/rubber_window') | ||
event.add('c:hidden_from_recipe_viewers', 'everycomp:c/gtceu/rubber_window_pane') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters