Fellies/kubejs[dw]/server_scripts/recipes/comforts.js

146 lines
3.3 KiB
JavaScript

// priority: 99
events.listen('recipes', event => {
event.remove({id: 'comforts:sleeping_bag_white'})
event.shaped(Item.of('comforts:sleeping_bag_white'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/white'
})
event.remove({id: 'comforts:sleeping_bag_orange'})
event.shaped(Item.of('comforts:sleeping_bag_orange'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/orange'
})
event.remove({id: 'comforts:sleeping_bag_magenta'})
event.shaped(Item.of('comforts:sleeping_bag_magenta'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/magenta'
})
event.remove({id: 'comforts:sleeping_bag_light_blue'})
event.shaped(Item.of('comforts:sleeping_bag_light_blue'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/light_blue'
})
event.remove({id: 'comforts:sleeping_bag_yellow'})
event.shaped(Item.of('comforts:sleeping_bag_yellow'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/yellow'
})
event.remove({id: 'comforts:sleeping_bag_lime'})
event.shaped(Item.of('comforts:sleeping_bag_lime'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/lime'
})
event.remove({id: 'comforts:sleeping_bag_pink'})
event.shaped(Item.of('comforts:sleeping_bag_pink'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/pink'
})
event.remove({id: 'comforts:sleeping_bag_gray'})
event.shaped(Item.of('comforts:sleeping_bag_gray'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/gray'
})
event.remove({id: 'comforts:sleeping_bag_light_gray'})
event.shaped(Item.of('comforts:sleeping_bag_light_gray'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/light_gray'
})
event.remove({id: 'comforts:sleeping_bag_cyan'})
event.shaped(Item.of('comforts:sleeping_bag_cyan'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/cyan'
})
event.remove({id: 'comforts:sleeping_bag_purple'})
event.shaped(Item.of('comforts:sleeping_bag_purple'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/purple'
})
event.remove({id: 'comforts:sleeping_bag_blue'})
event.shaped(Item.of('comforts:sleeping_bag_blue'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/blue'
})
event.remove({id: 'comforts:sleeping_bag_brown'})
event.shaped(Item.of('comforts:sleeping_bag_brown'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/brown'
})
event.remove({id: 'comforts:sleeping_bag_green'})
event.shaped(Item.of('comforts:sleeping_bag_green'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/green'
})
event.remove({id: 'comforts:sleeping_bag_red'})
event.shaped(Item.of('comforts:sleeping_bag_red'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/red'
})
event.remove({id: 'comforts:sleeping_bag_black'})
event.shaped(Item.of('comforts:sleeping_bag_black'), [
' W ',
' W ',
' W '
], {
W: '#forge:wool/black'
})
})