fix signs_bot support
This commit is contained in:
parent
7c68baa004
commit
5e92327f09
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
4
init.lua
4
init.lua
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user