Add catwalk facades (#1854)
* make popped chorus fruit edible * add catwalk facades * fix crafting facades out of singular bricks * Revert "fix crafting facades out of singular bricks" This reverts commit 2f5acb5d48a943d24b229a17b0bf25ead8e6c291. * fix mud brick properly * put constants in one place
This commit is contained in:
parent
0a8e68e7d0
commit
ee4d16a0bc
7 changed files with 30 additions and 4 deletions
10
kubejs/server_scripts/ae2/tags.facades.js
Normal file
10
kubejs/server_scripts/ae2/tags.facades.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// priority: 0
|
||||
"use strict";
|
||||
|
||||
function registerAe2FacadeWhitelistTags(event) {
|
||||
|
||||
//createdeco catwalks
|
||||
global.CREATE_DECO_CATWALK_TYPES.forEach(facade_material => {
|
||||
event.add('ae2:whitelisted/facades', `createdeco:${ facade_material }_catwalk`)
|
||||
})
|
||||
}
|
||||
|
|
@ -43,6 +43,8 @@ const registerAE2ItemTags = (event) => {
|
|||
|
||||
const registerAE2BlockTags = (event) => {
|
||||
|
||||
registerAe2FacadeWhitelistTags(event)
|
||||
|
||||
global.AE2_DISABLED_ITEMS.forEach(item => {
|
||||
event.removeAllTagsFrom(item)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -339,8 +339,8 @@ function registerTFCItemTags(event) {
|
|||
event.add("tfc:wet_mud_bricks", wetMudBrick);
|
||||
});
|
||||
|
||||
global.TFC_MUD_BRICKS.forEach((mudBrick) => {
|
||||
event.add("tfc:mud_bricks", mudBrick);
|
||||
global.TFC_DRY_MUD_BRICKS.forEach((dryMudBrick) => {
|
||||
event.add("tfc:dry_mud_bricks", dryMudBrick);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ function registerTFGItemSize(event) {
|
|||
event.itemSize(Ingredient.of("#forge:rods/long"), "large", "medium", "long_rods");
|
||||
event.itemSize(Ingredient.of("#tfg:metal_bars"), "small", "very_light", "metal_bars");
|
||||
event.itemSize(
|
||||
Ingredient.of("#tfc:mud_bricks").or("#tfc:wet_mud_bricks"),
|
||||
Ingredient.of("#tfc:dry_mud_bricks").or("#tfc:wet_mud_bricks"),
|
||||
"very_small",
|
||||
"very_light",
|
||||
"mud_bricks"
|
||||
|
|
|
|||
|
|
@ -265,6 +265,11 @@ function registerFacadeWhitelistTags(event) {
|
|||
event.add('tfg:whitelisted/facades', `createdeco:cracked_${ facade_material}`)
|
||||
event.add('tfg:whitelisted/facades', `createdeco:mossy_${ facade_material}`)
|
||||
});
|
||||
|
||||
//createdeco catwalks
|
||||
global.CREATE_DECO_CATWALK_TYPES.forEach(facade_material => {
|
||||
event.add('tfg:whitelisted/facades', `createdeco:${ facade_material }_catwalk`)
|
||||
})
|
||||
|
||||
//everycomp windows
|
||||
global.TFC_WOOD_TYPES.forEach(facade_material => {
|
||||
|
|
|
|||
|
|
@ -32,3 +32,12 @@ global.CREATE_DECO_GLASS_PANES = /** @type {const} */ ([
|
|||
"createdeco:brass_window_pane",
|
||||
"createdeco:zinc_window_pane",
|
||||
]);
|
||||
|
||||
global.CREATE_DECO_CATWALK_TYPES = /** @type {const} */ ([
|
||||
"andesite",
|
||||
"brass",
|
||||
"iron",
|
||||
"copper",
|
||||
"industrial_iron",
|
||||
"zinc",
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -1093,7 +1093,7 @@ global.TFC_CURDS_AND_CHEESES = /** @type {const} */ ([
|
|||
},
|
||||
]);
|
||||
|
||||
global.TFC_MUD_BRICKS = /** @type {const} */ ([
|
||||
global.TFC_DRY_MUD_BRICKS = /** @type {const} */ ([
|
||||
"tfc:mud_brick/loam",
|
||||
"tfc:mud_brick/sandy_loam",
|
||||
"tfc:mud_brick/silt",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue