Casimir wrote:The way the default fire works needs air around the flammable nodes. A wooden floor covert with lava will stay wooden. Freeminer has a feature that allows you to define freeze melt. So you can say default:tree that reaches 750°C will turn into default:coalblock (water to air, wood to fire).
4aiman wrote:But MT reverted the get_humidity() and get_temp() functions. (Licensing?)
Still, MT can have groups like "heat" and search for nodes in this group to do the same stuff.
Ackirb wrote:4aiman wrote:But MT reverted the get_humidity() and get_temp() functions. (Licensing?)
Still, MT can have groups like "heat" and search for nodes in this group to do the same stuff.
Yes, but only nodes with those specific groups will be affected.
I wanted the lava to be able to burn through sand, dirt, grass, etc, which don't use groups that would be affected by "hot" or "igniter" or "lava" groups.
for i,node in ipairs(minetest.registered_nodes) do
if node.name:find('dirt') then
node.gropus:insert(new_group_for_dirtlike=x, new_group_for_dirtlike2=y)
elseif node.name:find('sand') then
node.gropus:insert(new_group_for_sandlike=x, new_group_for_sandlike2=y)
else
node.gropus:insert(new_group_for_unknown_nodes=x, new_group_unknown_nodes2=y)
end
minetest.override_item(node.name,{groups=node.groups})
end
Users browsing this forum: No registered users and 8 guests