So currently looking into it myself.
Line 17 in interop_ethereal.lua references Firethorn Jelly, but if I comment out the line it simply increments the line that it has a problem with.
Ethereal has installed just fine with many of the dependencies. Including farming, but sans intllib and lucky_block.
Thirsty has dungeon_loot, vessels, hunger_ng, hudbars, bucket, farming and of course default. It doesn't have hbhunger or mobs_animal.
The ethereal items appear in game.
I have no clue what the misc_helper table.copy is doing, because someone thought it would be a great idea to use single letter variable names *sigh*.
Line 33 is calling the table copy, minetest.registered_items[item_name]
Code: Select all
local def = table.copy(minetest.registered_items[item_name])
def.on_use = function(itemstack,player,pointed_thing)
thirsty.drink(player,hyd_value,hyd_max,rtn_item_name)
if minetest.registered_items[item_name]._hunger_ng then
minetest.sound_play("hunger_ng_eat", {to_player = player:get_player_name(), gain = 2.0 })
hunger_ng.alter_hunger(player:get_player_name(), satiate_value, "from:thirsty-"..item_name)
player:set_hp(player:get_hp()+heal_value)
itemstack:take_item()
return itemstack
else
minetest.do_item_eat(satiate_value,nil, itemstack:take_item(), player, pointed_thing)
return itemstack
end
end
if def.type == "node" then
minetest.register_node(":"..item_name, def)
else
minetest.register_craftitem(":"..item_name, def)
end
end
Something seems slightly wrong here. As if we're missing an "end"). Should lines 51 (if def.type == "node" then") not be indented with an extra end on between the two ends at the end? (Dead end much). or maybe... since the local appears to be just a declaration does that mean there's an extra confusing indent?
Which is what made me question if the ethereal items existed. They do. Checking on the glass. Worth noting is that interop_ethereal calls E.glass_bottle. So I checked init.lua and then followed that to components_external_nodes_items.lua.
E.glass_bottle = "vessels:glass_bottle", I'm also checked the "ethereal:firethorn_jelly" and that's in the game too, though apparently in the ethereal code it's registered as a craftitem, I suspect this doesn't matter.
which means that exists. I'm not sure what the deal is.
Lemme check something... which Ethereal mod is being referenced?
Forgot my old username/email, it's been a number of years please bear with.
Stats: OS: Manjaro Linux; Using minetest-git via AUR