и еще рецепты

This commit is contained in:
Dmitry 2023-11-27 16:53:01 +07:00
parent a9103115c4
commit 78b98c3690
14 changed files with 84 additions and 2 deletions

View file

@ -0,0 +1,19 @@
// priority: 0
global.vanillaWoodTypes = [
"oak",
"spruce",
"birch",
"jungle",
"acacia",
"cherry",
"dark_oak",
"mangrove",
"bamboo"
]
global.shipTypes = [
"cog",
"brigg",
"galley"
]

View file

@ -0,0 +1,11 @@
// priority: 0
const registerSmallShipsRecipes = (event) => {
// Удаление рецептов мода
global.vanillaWoodTypes.forEach(woodTypeName => {
global.shipTypes.forEach(shipTypeName => {
event.remove({ id: `smallships:${woodTypeName}_${shipTypeName}` })
})
})
}