summaryrefslogtreecommitdiff
path: root/vacuum_tubes.lua
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-03-04 22:18:26 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-03-04 22:31:56 -0500
commit674450236b8a0572d57e4a14c71626749dd63c2d (patch)
tree1ddcd80d4d254f384b27ddada34fcc458f085c08 /vacuum_tubes.lua
parente8ab36a2c940227b7c7fbc33057eb0156ac3d190 (diff)
downloadpipeworks-674450236b8a0572d57e4a14c71626749dd63c2d.tar
pipeworks-674450236b8a0572d57e4a14c71626749dd63c2d.tar.gz
pipeworks-674450236b8a0572d57e4a14c71626749dd63c2d.tar.bz2
pipeworks-674450236b8a0572d57e4a14c71626749dd63c2d.tar.xz
pipeworks-674450236b8a0572d57e4a14c71626749dd63c2d.zip
label the vacuum tube logic abms for profiling purposes
useable with the mtt profiler starting with t4im/mtt@48eff13
Diffstat (limited to 'vacuum_tubes.lua')
-rw-r--r--vacuum_tubes.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/vacuum_tubes.lua b/vacuum_tubes.lua
index 0e813de..f987589 100644
--- a/vacuum_tubes.lua
+++ b/vacuum_tubes.lua
@@ -109,6 +109,7 @@ end
minetest.register_abm({nodenames = {"group:vacuum_tube"},
interval = 1,
chance = 1,
+ label = "Vacuum tubes",
action = function(pos, node, active_object_count, active_object_count_wider)
if node.name == "pipeworks:sand_tube" then
vacuum(pos, 2)