Update farming redo support

Add support for blueberry, blackberry & strawberry
This commit is contained in:
Étienne Gagnon 2023-08-29 11:09:22 -04:00 committed by SmallJoker
parent 5d11725799
commit 7f7bd99bc8

View File

@ -141,6 +141,9 @@ if minetest.get_modpath('farming') then
drinks.juiceable['blueberries'] = true
drinks.juiceable['pineapple'] = true
drinks.juiceable['pineapple_ring'] = true
drinks.juiceable['blueberries'] = true
drinks.juiceable['blackberry'] = true
drinks.juiceable['strawberry'] = true
table.insert(drinks.drink_table, {'melon', 'Melon', '#ef4646'})
table.insert(drinks.drink_table, {'tomato', 'Tomato', '#990000'})
table.insert(drinks.drink_table, {'carrot', 'Carrot', '#ed9121'})
@ -151,6 +154,9 @@ if minetest.get_modpath('farming') then
table.insert(drinks.drink_table, {'rhubarb', 'Rhubarb', '#fb8461'})
table.insert(drinks.drink_table, {'blueberries', 'Blueberry', '#521dcb'})
table.insert(drinks.drink_table, {'pineapple', 'Pineapple', '#dcd611'})
table.insert(drinks.drink_table, {'blueberries', 'Blueberry', '#521dcb'})
table.insert(drinks.drink_table, {'blackberry', 'Blackberry', '#581845'})
table.insert(drinks.drink_table, {'strawberry', 'Strawberry', '#ff3636'})
minetest.register_alias_force('farming:carrot_juice', 'drinks:jcu_carrot')
minetest.register_alias_force('farming:pineapple_juice', 'drinks:jcu_pineapple')
end