forked from mtcontrib/homedecor_modpack
label abms for profiling purposes
see https://github.com/t4im/profiler/#labeling
This commit is contained in:
parent
d7c56bfcdb
commit
3dc94b67cc
@ -144,6 +144,7 @@ homedecor.register("telephone", {
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = "homedecor:telephone",
|
||||
label = "sfx",
|
||||
interval = 30,
|
||||
chance = 15,
|
||||
action = function(pos, node)
|
||||
|
@ -176,6 +176,7 @@ function homedecor.register_furnace(name, furnacedef)
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {name, name_active, name.."_locked", name_active.."_locked"},
|
||||
label = "furnaces",
|
||||
interval = 1.0,
|
||||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
|
@ -127,6 +127,7 @@ local fdir_to_steampos = {
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = "homedecor:coffee_maker",
|
||||
label = "sfx",
|
||||
interval = 2,
|
||||
chance = 1,
|
||||
action = function(pos, node)
|
||||
|
Loading…
Reference in New Issue
Block a user