PlayerInventoryUI: Support and display of alternative recipes in the crafting menu. #34

This commit is contained in:
Van
2026-04-30 21:35:30 +03:00
parent 08dde36326
commit 4a8a6245a6
3 changed files with 111 additions and 22 deletions

View File

@@ -289,6 +289,10 @@ local function registerWood(name, x, def)
recipe = {
'wood:'..name..'_bar'
},
altRecipes = {
{ 'wood:'..name..'_plank 2' },
{ 'wood:'..name..'_log'}
},
output = 'wood:'..name..'_stick 4',
group = 'wood:sticks',
})