added support for crops mod.

master
NathanSalapat 2016-11-16 08:24:57 -06:00
parent 0740d9543a
commit 82bba274d8
2 changed files with 8 additions and 0 deletions

View File

@ -5,3 +5,4 @@ hunger?
thirsty?
plantlife?
farming_plus?
crops?

View File

@ -51,6 +51,13 @@ if minetest.get_modpath('farming_plus') then
table.insert(drinks.drink_table, {'raspberry_item', 'Raspberry', '#C70039'})
end
if minetest.get_modpath('crops') then
drinks.juiceable['melon'] = true
drinks.juiceable['tomato'] = true
table.insert(drinks.drink_table, {'melon', 'Melon', '#ef4646'})
table.insert(drinks.drink_table, {'tomato', 'Tomato', '#d03a0e'})
end
if minetest.get_modpath('thirsty') then
dofile(minetest.get_modpath('drinks')..'/drinks.lua')
else