added support for ethereal.
This commit is contained in:
parent
c3676550f6
commit
8b7a6ef4b0
@ -10,3 +10,4 @@ crops?
|
||||
farming?
|
||||
minetest_doc_modpack?
|
||||
fruits?
|
||||
ethereal?
|
||||
|
11
init.lua
11
init.lua
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user