Typo with default-mode fixed.

This commit is contained in:
A.C.M 2019-07-16 21:59:17 +02:00
parent ebb88d9a1e
commit 065175bf13
3 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,4 @@
Fixed typo with farming-default-mode.
default:blueberries added to group food_blueberry and food_blueberries.
bushes:blueberries added to group food_blueberries.
Function add_group is doing nothing if the item is unknown.

View File

@ -76,7 +76,7 @@ if(minetest.get_modpath("technic")) then
{"bushes:blueberry 6", "cucina_vegana:blueberry_puree"},
}
if(cucina_vegana_farming_default) then
if(cucina_vegana.farming_default) then
table.insert(compressor_recipes,{"cucina_vegana:seed_lettuce 6", "cucina_vegana:lettuce_oil"})
table.insert(compressor_recipes,{"cucina_vegana:seed_flax 6", "cucina_vegana:flax_seed_oil"})
table.insert(compressor_recipes,{"cucina_vegana:seed_peanut 6", "cucina_vegana:peanut_oil"})
@ -86,7 +86,7 @@ if(minetest.get_modpath("technic")) then
table.insert(compressor_recipes,{"cucina_vegana:flax_seed 6", "cucina_vegana:flax_seed_oil"})
table.insert(compressor_recipes,{"cucina_vegana:peanut_seed 6", "cucina_vegana:peanut_oil"})
end -- if(cucina_vegana_farming_default
end -- if(cucina_vegana.farming_default
for _, data in pairs(compressor_recipes) do
@ -118,7 +118,7 @@ if(minetest.get_modpath("technic")) then
}
-- Special Recipes with Seeds
if(cucina_vegana_farming_default) then
if(cucina_vegana.farming_default) then
table.insert(extractor_recipes,{"cucina_vegana:seed_lettuce 6", "cucina_vegana:lettuce_oil"})
table.insert(extractor_recipes,{"cucina_vegana:seed_flax 6", "cucina_vegana:flax_seed_oil"})
table.insert(extractor_recipes,{"cucina_vegana:seed_peanut 6", "cucina_vegana:peanut_oil"})
@ -128,7 +128,7 @@ if(minetest.get_modpath("technic")) then
table.insert(extractor_recipes,{"cucina_vegana:flax_seed 6", "cucina_vegana:flax_seed_oil"})
table.insert(extractor_recipes,{"cucina_vegana:peanut_seed 6", "cucina_vegana:peanut_oil"})
end -- if(cucina_vegana_farming_default
end -- if(cucina_vegana.farming_default
for _, data in ipairs(extractor_recipes) do

View File

@ -29,7 +29,7 @@ else
minetest.register_alias("flowers:sunflower", "cucina_vegana:sunflower")
if (cucina_vegana_farming_default) then
if (cucina_vegana.farming_default) then
dofile(modpath .. "/sunflower_default.lua")