Open tuedel opened 4 years ago
It would be great to have some kind of API for adding more leaky nodes, though I'm not sure how to do this properly without much performance impact.
Sounds like a sane idea
I don't suppose changing an ABM is possible after registration?
I think it should be doable with minetest.register_on_mods_loaded(function())
and a basic registration api..
Edit: At least there could be a group:leaky which other mods can use.
Even better, if that works :+1:
I need to use vacuum for a project if i get ultra motivated i'll add an easy reg or as workaround: ~ Open physics_leakage.lua ~ line 11 add nodes group or node name to end eg
-- air leaking nodes
local leaky_nodes = {
"group:door",
"group:soil",
"group:pipe",
"group:tube",
"group:new_group",
"modname:node_name"
}
save and launch game, nodes should now leak like sieve.
It would be great to have some kind of API for adding more leaky nodes, though I'm not sure how to do this properly without much performance impact.
I don't suppose changing an ABM is possible after registration?
Edit: At least there could be a
group:leaky
which other mods can use.