This commit is contained in:
A.C.M 2020-10-28 20:14:05 +01:00
commit bd6ca60269
24 changed files with 27 additions and 23 deletions

View File

@ -59,7 +59,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -140,7 +140,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -59,7 +59,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -131,7 +131,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -61,7 +61,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -134,7 +134,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -17,6 +17,7 @@ cucina_vegana.farming_default = true
cucina_vegana.plant_settings = {} cucina_vegana.plant_settings = {}
cucina_vegana.plant_settings.bonemeal_list = {} cucina_vegana.plant_settings.bonemeal_list = {}
cucina_vegana.farming_ng = minetest.get_modpath("farming_nextgen") cucina_vegana.farming_ng = minetest.get_modpath("farming_nextgen")
cucina_vegana.signs_bot = minetest.get_modpath("signs_bot")
cucina_vegana.plant_settings.germ_launch = 0 cucina_vegana.plant_settings.germ_launch = 0
cucina_vegana.modname = minetest.get_current_modname() cucina_vegana.modname = minetest.get_current_modname()
@ -25,6 +26,8 @@ local modname = cucina_vegana.modname
dofile(modpath .. "/settings.lua") dofile(modpath .. "/settings.lua")
dofile(modpath .. "/tools.lua") dofile(modpath .. "/tools.lua")
local S local S
if(minetest.get_modpath("intllib")) then if(minetest.get_modpath("intllib")) then
@ -76,6 +79,7 @@ local plants = {
for pname, value in pairs(plants) do for pname, value in pairs(plants) do
if(value) then if(value) then

View File

@ -63,7 +63,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -154,7 +154,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -66,7 +66,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -144,7 +144,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -63,7 +63,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -144,7 +144,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -60,7 +60,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -135,7 +135,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -252,7 +252,7 @@ end
-- ******************************************* -- *******************************************
-- ***** Techage-Support ***** -- ***** Techage-Support *****
-- ******************************************* -- *******************************************
if(techage.register_plant) then if(minetest.get_modpath("techage") and techage.register_plant) then
for name,ndef in pairs(minetest.registered_nodes) do for name,ndef in pairs(minetest.registered_nodes) do
if type(name) == "string" then if type(name) == "string" then
local mod = string.split(name, ":")[1] local mod = string.split(name, ":")[1]

View File

@ -59,7 +59,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -140,7 +140,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -59,7 +59,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -141,7 +141,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -65,7 +65,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -174,7 +174,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -68,7 +68,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop

View File

@ -136,7 +136,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot -- Register @ Signs_bot
if(signs_bot) then if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop local fc = signs_bot.register_farming_crop