forked from mtcontrib/pipeworks
label the vacuum tube logic abms for profiling purposes
useable with the mtt profiler starting with t4im/mtt@48eff13
This commit is contained in:
parent
e8ab36a2c9
commit
674450236b
|
@ -109,6 +109,7 @@ end
|
||||||
minetest.register_abm({nodenames = {"group:vacuum_tube"},
|
minetest.register_abm({nodenames = {"group:vacuum_tube"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
|
label = "Vacuum tubes",
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
if node.name == "pipeworks:sand_tube" then
|
if node.name == "pipeworks:sand_tube" then
|
||||||
vacuum(pos, 2)
|
vacuum(pos, 2)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user