11:42:11: ERROR[main]: ========== ERROR FROM LUA ===========
11:42:11: ERROR[main]: Failed to load and run script from
11:42:11: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\fertiliser\init.lua:
11:42:11: ERROR[main]: ...inetest\minetest - Copie\bin\..\mods\fertiliser\init.lua:26: unexpected symbol near '<'
11:42:11: ERROR[main]: ======= END OF ERROR FROM LUA ========
<<<<<<< HEAD
=======
>>>>>>> origin/master
23:47:55: ERROR[main]: ServerError: ...etest\bin\..\mods\farming_plusplus\farming_plus\init.lua:56: attempt to perform arithmetic on field 'y' (a nil value)
23:47:55: ERROR[main]: stack traceback:
23:47:55: ERROR[main]: ...etest\bin\..\mods\farming_plusplus\farming_plus\init.lua:56: in function 'generate_tree'
23:47:55: ERROR[main]: L:\Minetest\minetest\bin\..\mods\fertiliser\init.lua:6: in function <L:\Minetest\minetest\bin\..\mods\fertiliser\init.lua:4>
23:47:55: ERROR[main]: L:\Minetest\minetest\bin\..\mods\fertiliser\init.lua:164: in function <L:\Minetest\minetest\bin\..\mods\fertiliser\init.lua:154>
farming:generate_tree(pos, def[4][1], def[4][2], def[4][3], def[4][4])
farming.generate_tree(pos, def[4][1], def[4][2], def[4][3], def[4][4])
MTDad wrote: How do you get bones:bones anyways? I resorted to a giveme.
Esteban wrote:MTDad wrote: How do you get bones:bones anyways? I resorted to a giveme.
The bones in the default game are obtained when you die. In vanilla Minetest, when you die, your items are left inside the bones in the exact position where you died.
minermoder27 wrote:...
Craft 1 bone block to make 9 bones.
craft 8 dirt with 1 bone in the center to make 9 fertiliser.
...
minetest.register_craft({
output = 'fertiliser:fertiliser 9',
recipe = {
{'default:dirt', 'default:dirt', 'default:dirt'},
{'default:dirt', 'bones:single_bone', 'default:dirt'},
{'default:dirt', 'default:dirt', 'default:dirt'},
},
})
minetest.register_craft({
output = 'bones:bones',
recipe = {
{'bones:single_bone', 'bones:single_bone', 'bones:single_bone'},
{'bones:single_bone', 'bones:single_bone', 'bones:single_bone'},
{'bones:single_bone', 'bones:single_bone', 'bones:single_bone'},
},
})
minetest.register_craft({
type = 'shapeless',
output = 'bones:single_bone 9',
recipe = {'bones:bones'},
})
MTDad wrote:balthazariv, it comes down to a ":" vs a "."
line 6 of the fertiliser/init.lua
- Code: Select all
farming:generate_tree(pos, def[4][1], def[4][2], def[4][3], def[4][4])
change it to
- Code: Select all
farming.generate_tree(pos, def[4][1], def[4][2], def[4][3], def[4][4])
and it works.
MTDad wrote:[...] but it didn't work on moretrees or jungle trees for me. No crash, just no fertiliser application (no removal from the stack).
MTDad wrote:How do you get bones:bones anyways? I resorted to a giveme.
MTDad wrote:I'm not sure about the recipe [...]
{'', 'group:leaves', ''},
{'group:leaves', 'default:apple', 'group:leaves'},
{'default:dirt', 'default:dirt', 'default:dirt'},
--[[ remove bones if player emptied them
if has_space then
minetest.remove_node(pos)
end]]
end,
--[[on_metadata_inventory_take = function(pos, listname, index, stack, player)
local meta = minetest.get_meta(pos)
if meta:get_inventory():is_empty("main") then
minetest.remove_node(pos)
end
end,]]
MTDad wrote:balthazariv, it comes down to a ":" vs a "."
line 6 of the fertiliser/init.lua
- Code: Select all
farming:generate_tree(pos, def[4][1], def[4][2], def[4][3], def[4][4])
change it to
- Code: Select all
farming.generate_tree(pos, def[4][1], def[4][2], def[4][3], def[4][4])
and it works.
Do that and it will no longer work for older versions of farming/farming_plus that used the ":" version.
Xanthin wrote:MTDad wrote:I'm not sure about the recipe [...]
Yes, I also changed the recipe, not only because of the limitation in singleplayer to get the bones, just don´t like the idea to use bones for food :) I prefere a compost with.
- Code: Select all
{'', 'group:leaves', ''},
{'group:leaves', 'default:apple', 'group:leaves'},
{'default:dirt', 'default:dirt', 'default:dirt'},
Damien wrote:Also,what about the bone block?In the vanilla game it isn't obtainable if not through commands and creative,is it available in this or the farming_plus modification?
Xanthin wrote:MTDad wrote:[...] but it didn't work on moretrees or jungle trees for me. No crash, just no fertiliser application (no removal from the stack).
Seems like the support for jungle trees and the moretrees mod was removed from the mod with the latest update.
Chibi ghost wrote:rip one of my favourite mods
minermoder27 wrote:Chibi ghost wrote:rip one of my favourite mods
As in, this or farming plus? If this:
Wow, I had no idea anyone ever used this. I can fix it up to work with the default mods if you'd like.
I haven't done Minetest in ages, does plantlib still exist?
Chibi ghost wrote:I'm going to install bone meal, remove my armour and spend a hour throwing my self off my house
minermoder27 wrote:Chibi ghost wrote:I'm going to install bone meal, remove my armour and spend a hour throwing my self off my house
Is that another fertilizer-style mod?
Users browsing this forum: osjc and 5 guests