add another way to get slabs and stairs
This commit is contained in:
@@ -113,6 +113,16 @@ function registerTFGWoodenRecipes(event) {
|
||||
.id(`tfg:shaped/${name}_slab_from_lumber`)
|
||||
};
|
||||
|
||||
// Slab from plank
|
||||
if (slab && plank && name) {
|
||||
event.shaped(`6x ${slab}`, [
|
||||
'AAA'
|
||||
], {
|
||||
A: plank
|
||||
})
|
||||
.id(`tfg:shaped/${name}_slab_from_plank`)
|
||||
}
|
||||
|
||||
// Lumber from stair
|
||||
if (stair && lumber && name) {
|
||||
event.shapeless(`3x ${lumber}`,
|
||||
@@ -123,6 +133,17 @@ function registerTFGWoodenRecipes(event) {
|
||||
generateCutterRecipe(event, stair, `3x ${lumber}`, 50, 7, `${name}_lumber_from_stair`)
|
||||
};
|
||||
|
||||
// Stair from lumber
|
||||
if (stair && lumber && name) {
|
||||
event.shaped(stair, [
|
||||
'A ',
|
||||
'AA'
|
||||
], {
|
||||
A: lumber
|
||||
})
|
||||
.id(`tfg:shaped/${name}_stair_from_lumber`)
|
||||
};
|
||||
|
||||
// Stair from plank
|
||||
if (stair && plank && name) {
|
||||
event.shaped(`8x ${stair}`, [
|
||||
|
||||
Reference in New Issue
Block a user