Удалил small ships

This commit is contained in:
Dmitry 2023-12-28 21:12:53 +07:00
parent c70b06e02a
commit f62d254879
6 changed files with 0 additions and 96 deletions

View file

@ -10,7 +10,6 @@ REIEvents.hide('item', event => {
hideAdAstraStuff(event)
hideSophisticatedBackpacksStuff(event)
hideMoreRedStuff(event)
hideSmallShipsStuff(event)
})

View file

@ -1,9 +0,0 @@
// priority: 0
const hideSmallShipsStuff = (event) => {
global.VANILLA_WOOD_TYPES.forEach(woodTypeName => {
global.SHIP_TYPES.forEach(shipTypeName => {
event.hide(`smallships:${woodTypeName}_${shipTypeName}`)
})
})
}

View file

@ -6,7 +6,6 @@
ServerEvents.tags('item', event => {
registerTFCItemTags(event)
registerFirmaLifeItemTags(event)
registerSmallShipsItemTags(event)
registerMinecraftItemTags(event)
registerGTCEUItemTags(event)
registerAE2ItemTags(event)
@ -66,7 +65,6 @@ ServerEvents.recipes(event => {
registerFirmaLifeRecipes(event)
registerWaterFlasksRecipes(event)
registerTreeTapRecipes(event)
registerSmallShipsRecipes(event)
registerMinecraftRecipes(event)
registerGTCEURecipes(event)
registerCreateRecipes(event)

View file

@ -1,39 +0,0 @@
// priority: 0
const registerSmallShipsRecipes = (event) => {
// Удаление рецептов ванильных кораблей
global.SMALL_SHIPS_DISABLED_ITEMS.forEach(item => {
event.remove({ output: item })
})
// Удаление конверсии ванильных кораблей в тфк
global.SHIP_TYPES.forEach(shipType => {
global.VANILLA_WOOD_TYPES.forEach(woodType => {
event.remove({ id: `tfships:${woodType}_${shipType}_conversion` })
})
})
// Cannon
event.remove({ id: 'smallships:cannon' })
event.shaped('smallships:cannon', [
' A',
'BBB',
' CC'
], {
A: '#forge:string',
B: '#forge:double_plates/wrought_iron',
C: '#minecraft:logs'
}).id('tfships:cannon')
// Cannon Ball
event.remove({ id: 'smallships:cannon_ball' })
event.shaped('4x smallships:cannon_ball', [
'AB'
], {
A: '#forge:dusts/gunpowder',
B: '#forge:plates/wrought_iron'
}).id('tfships:cannon_ball')
}

View file

@ -1,8 +0,0 @@
// priority: 0
const registerSmallShipsItemTags = (event) => {
// Удаление тегов у отключенных предметов
global.SMALL_SHIPS_DISABLED_ITEMS.forEach(item => {
event.removeAllTagsFrom(item)
})
}

View file

@ -1,37 +0,0 @@
// priority: 0
global.SMALL_SHIPS_DISABLED_ITEMS = [
'smallships:oak_cog',
'smallships:oak_brigg',
'smallships:oak_galley',
'smallships:spruce_cog',
'smallships:spruce_brigg',
'smallships:spruce_galley',
'smallships:birch_cog',
'smallships:birch_brigg',
'smallships:birch_galley',
'smallships:jungle_cog',
'smallships:jungle_brigg',
'smallships:jungle_galley',
'smallships:acacia_cog',
'smallships:acacia_brigg',
'smallships:acacia_galley',
'smallships:cherry_cog',
'smallships:cherry_brigg',
'smallships:cherry_galley',
'smallships:dark_oak_cog',
'smallships:dark_oak_brigg',
'smallships:dark_oak_galley',
'smallships:mangrove_cog',
'smallships:mangrove_brigg',
'smallships:mangrove_galley',
'smallships:bamboo_cog',
'smallships:bamboo_brigg',
'smallships:bamboo_galley'
];
global.SHIP_TYPES = [
'cog',
'brigg',
'galley'
];