fix signs_bot support

This commit is contained in:
ThorfinnS 2020-06-04 12:00:27 -05:00
parent 7c68baa004
commit 5e92327f09
23 changed files with 26 additions and 22 deletions

View File

@ -59,7 +59,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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.bonemeal_list = {}
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.modname = minetest.get_current_modname()
@ -25,6 +26,8 @@ local modname = cucina_vegana.modname
dofile(modpath .. "/settings.lua")
dofile(modpath .. "/tools.lua")
local S
if(minetest.get_modpath("intllib")) then
@ -76,6 +79,7 @@ local plants = {
for pname, value in pairs(plants) do
if(value) then

View File

@ -63,7 +63,7 @@ if cucina_vegana.farming_ng then
end -- if(cucina_vegana.farming_ng
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
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
-- Register @ Signs_bot
if(signs_bot) then
if(cucina_vegana.signs_bot) then
local fs = signs_bot.register_farming_seed
local fc = signs_bot.register_farming_crop