added support for ethereal.

master
NathanSalapat 2017-12-08 07:22:59 -06:00
parent c3676550f6
commit 8b7a6ef4b0
2 changed files with 12 additions and 0 deletions

View File

@ -10,3 +10,4 @@ crops?
farming?
minetest_doc_modpack?
fruits?
ethereal?

View File

@ -155,6 +155,17 @@ if minetest.get_modpath('fruit') then
table.insert(drinks.drink_table, {'orange', 'Orange', '#ffc417'})
end
if minetest.get_modpath('ethereal') then
drinks.juiceable['banana'] = true
drinks.juiceable['coconut'] = true
drinks.juiceable['orange'] = true
drinks.juiceable['strawberry'] = true
table.insert(drinks.drink_table, {'banana', 'Banana', '#eced9f'})
table.insert(drinks.drink_table, {'coconut', 'Coconut', '#ffffff'})
table.insert(drinks.drink_table, {'orange', 'Orange', '#ffc417'})
table.insert(drinks.drink_table, {'strawberry', 'Strawberry', '#ff3636'})
end
-- replace craftitem to node definition
-- use existing node as template (e.g. 'vessel:glass_bottle')
drinks.register_item = function( name, template, def )